summaryrefslogtreecommitdiffstats
path: root/src/crimson/mon/MonClient.h
diff options
context:
space:
mode:
authorNitzan Mordechai <nmordech@redhat.com>2024-09-17 14:23:44 +0200
committerNitzan Mordechai <nmordech@redhat.com>2024-09-17 14:26:57 +0200
commita8918f3594188fcca3ceeee2ac9f1df376d1772b (patch)
treeccef099deb070b1be04ae16389a07d4913e10f70 /src/crimson/mon/MonClient.h
parentcrimson/mgr/client: use gates to handle multi-shards (diff)
downloadceph-a8918f3594188fcca3ceeee2ac9f1df376d1772b.tar.xz
ceph-a8918f3594188fcca3ceeee2ac9f1df376d1772b.zip
crimson/mon/MonClient: use gates to handle multi-shards
Fixes: https://tracker.ceph.com/issues/67773 Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/crimson/mon/MonClient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crimson/mon/MonClient.h b/src/crimson/mon/MonClient.h
index 1228ecd0bba..20c4d0ba1a1 100644
--- a/src/crimson/mon/MonClient.h
+++ b/src/crimson/mon/MonClient.h
@@ -194,7 +194,7 @@ private:
std::vector<unsigned> get_random_mons(unsigned n) const;
seastar::future<> _add_conn(unsigned rank, uint64_t global_id);
void _finish_auth(const entity_addr_t& peer);
- crimson::common::Gated gate;
+ crimson::common::gate_per_shard gates;
// messages that are waiting for the active_con to be available
struct pending_msg_t {