]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: fix standby replay in multimds setup
authorYan, Zheng <zyan@redhat.com>
Thu, 19 Apr 2018 02:15:23 +0000 (10:15 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 19 Apr 2018 13:26:31 +0000 (21:26 +0800)
commit8d40e21de0a115cc92e4da04ec61a34ac59145e1
treed765621caf928e51503a76ec4db090fafb9e70a7
parentb6344f366db19f5d46dc95983f4b265d121bee05
mon: fix standby replay in multimds setup

The code should break loops for two level. otherwise, in multimds setup,
a standby mds may get assigned to standby replay multiple times. This
bug may cause monitor to crash.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/23658
src/mon/MDSMonitor.cc