]> 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)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 18 Jun 2018 19:19:31 +0000 (12:19 -0700)
commit74a33d17edc6afd12095fbffe7713a278a4cd398
tree67eb5241a7c3f1cc3580ac029328afcea0f28d87
parentdf67945ba5b4ed16d3b18322451f3d78b35b77d2
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
(cherry picked from commit 8d40e21de0a115cc92e4da04ec61a34ac59145e1)
src/mon/MDSMonitor.cc