]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MgrMonitor: only drop active if exists
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 18 Apr 2024 19:40:19 +0000 (15:40 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 1 May 2024 13:00:37 +0000 (09:00 -0400)
commitbe540dcae28f1be8373eff63226ed02149cd10c1
tree22a32e1c2b03cb8feab473e6aeceeda38ff01b21
parentd69ee407b56322a8289acc4c5fe3d52e531708d5
mon/MgrMonitor: only drop active if exists

This avoids an assertion in ::drop_active.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 3fca1187460cdd05c08879b19840d78d787da9b0)
src/mon/MgrMonitor.cc