]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: update MDSRank::cluster_degraded before handling mds failure 23381/head
authorYan, Zheng <zyan@redhat.com>
Thu, 2 Aug 2018 02:05:12 +0000 (10:05 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 2 Aug 2018 02:12:00 +0000 (10:12 +0800)
commit93458c7306c3822175ed3c048f0937af8f02c341
tree4ceec3bf1796f32dbdbd540683056889ab23a3ab
parent8d36655fcba985d38819d76d10a90f6d1ceb342d
mds: update MDSRank::cluster_degraded before handling mds failure

Migrator checks MDSRank::is_cluster_degraded() to decide if it needs to
send message to other mds. MDSRank::cluster_degraded should get updated
before calling Migrator::handle_mds_failure_or_stop().

Introduced by commit 7de9da4a "mds: handle discontinuous mdsmap"

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDSRank.cc