]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_mon: Fix shutdown order to destroy Monitor before closing mon store 68399/head
authorPrashant D <pdhange@redhat.com>
Wed, 1 Apr 2026 19:14:56 +0000 (15:14 -0400)
committerPrashant D <pdhange@redhat.com>
Wed, 15 Apr 2026 19:07:25 +0000 (15:07 -0400)
commit0b2d88e15fc31543beebada9f7b5261ba94fd9c9
tree9bfad597655042c3afbab43023c1f3ad8b364759
parent6c68f83fe5db754e4ba0c40dfc16965c460e28b7
ceph_mon: Fix shutdown order to destroy Monitor before closing mon store

Reorder monitor shutdown to ensure all SyncProvider iterators are
destroyed before the underlying mon store is closed. This avoids
iterator cleanup paths entering RocksDB internals after the DB has
already been closed, which can result in mutex lock failures and process aborts.

Fixes: https://tracker.ceph.com/issues/75834
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit 81bd13981a1e020578335ca61bba0db05848631b)
src/ceph_mon.cc