Skip to content

Commit f8aa413

Browse files
Merge pull request ceph#65640 from ethanwu-syno/fix-join_fscid_reset_during_fs_removal
mds/FSMap: fix join_fscid being incorrectly reset for active MDS during filesystem removal Reviewed-by: Rishabh Dave <[email protected]> Reviewed-by: Patrick Donnelly <[email protected]>
2 parents 4d71f04 + cfecf7c commit f8aa413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mds/FSMap.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ void FSMap::erase_filesystem(fs_cluster_id_t fscid)
12361236
});
12371237
}
12381238
}
1239-
for ([[maybe_unused]] auto& [fscid, fs] : filesystems) {
1239+
for ([[maybe_unused]] auto& [remaining_fscid, fs] : filesystems) {
12401240
for (auto& [gid, info] : fs.mds_map.get_mds_info()) {
12411241
if (info.join_fscid == fscid) {
12421242
modify_daemon(gid, [](auto& info) {

0 commit comments

Comments
 (0)