If any MDS is up:creating, some rank data structures may not exist yet.
Fixes: https://tracker.ceph.com/issues/50215
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit
e1748e7a8399f862accf35ba21a63a8e1ae8bd4f)
}
}
- if (!fs.mds_map.is_degraded() && fs.mds_map.allows_standby_replay()) {
+ if (fs.mds_map.is_resizeable() && fs.mds_map.allows_standby_replay()) {
// There were no failures to replace, so try using any available standbys
// 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.