]> git.apps.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@ibm.com>
Tue, 25 Feb 2025 16:17:14 +0000 (11:17 -0500)
commitb4e8fb7a6611b693ae52f889eeeb8e551025dec5
treed503f096a37b5f2275945ab85e79391d8a79409b
parent05968d53b7dbaf5e355721489fb2523040825c07
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