]> git.apps.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, 14 Oct 2025 00:00:26 +0000 (20:00 -0400)
commit52f2e9d00db7babbc47b2dd513ffb52ef56cc6f7
tree999d99045e833bd040971c8d135c3ae4f396ab34
parent01aa5952164e7caded7305636772306ba353cc57
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>
(cherry picked from commit 1d55434d26da93346fc0e982923ba7d9b5f5de0d)
src/mon/MonClient.cc
src/mon/MonClient.h