]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: update MDSRank::cluster_degraded before handling mds failure 23180/head
authorYan, Zheng <zyan@redhat.com>
Thu, 2 Aug 2018 02:05:12 +0000 (10:05 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 3 Aug 2018 01:23:49 +0000 (09:23 +0800)
commit000409d077e8f7e36a4aed0f92bceef983d04ec0
tree301ac221d0080d022fb4094ca8da03ea79c5e96f
parentc75b69150f92cef1c4e57fad7d8535172e463a79
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>
(cherry picked from commit 93458c7306c3822175ed3c048f0937af8f02c341)
src/mds/MDSRank.cc