]> 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>
Mon, 10 Apr 2023 18:44:47 +0000 (14:44 -0400)
commitfb6f85d3dc4af9af7f2fce5498e236ff69e42045
tree196d846d897b718f6e73ef68e6764a15d36af475
parent96dc69d996fbb4bf7b1758c10c0d7e8aeea67287
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