The journal (or potentially other rank metadata) may be in the process of being
migrated or modified.
Fixes: http://tracker.ceph.com/issues/36384
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
065e98edfb26c1bbf9779e1094b966ac428247c5)
do_propose = true;
}
}
- } else {
+ } else if (!fs->mds_map.is_degraded()) {
// There were no failures to replace, so try using any available standbys
- // as standby-replay daemons.
+ // as standby-replay daemons. Don't do this when the cluster is degraded
+ // as a standby-replay daemon may try to read a journal being migrated.
// Take a copy of the standby GIDs so that we can iterate over
// them while perhaps-modifying standby_daemons during the loop