]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: force propose whenever the active changes
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 8 Mar 2023 19:54:04 +0000 (14:54 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 11 May 2023 16:08:56 +0000 (12:08 -0400)
commit046af0b6f21616edf2b9e23bec46128be920f4a6
tree80fce5e8a2fd6c74fc98ef4f12ee0d5fcdfa80af
parent70254f324180949f28f674da463fec66b0f53d5b
mgr: force propose whenever the active changes

This race fixed by 23c3f7 exists wherever we drop the active mgr.
Resolve this by forcing immediate proposal (circumventing any delays)
whenever the active is dropped.

Fixes: 23c3f76018b446fb77bbd71fdd33bddfbae9e06d
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 30b20d3c13be532e5508dc65276e90c7973c0c51)
src/mon/MgrMap.h
src/mon/MgrMonitor.cc
src/mon/PaxosService.cc