]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MonClient: add assertions for monc lock in MonConnection
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 20 Aug 2025 01:42:14 +0000 (21:42 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 10 Feb 2026 17:59:49 +0000 (12:59 -0500)
commitf3a0d334e70dfaa408eebddd99552bd77defe583
tree0d17a77e6e98d0520f41dc07a77e95733aa7ee82
parenta51f6fb51f7187ccac6d93ec4fd745cc1b1ea960
mon/MonClient: add assertions for monc lock in MonConnection

When handling auth, we want to be sure these methods hold the monc_lock
which protects, in particular, the client authorizer.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mon/MonClient.cc
src/mon/MonClient.h