]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/Monitor: add debugging for monmap handling
authorPatrick Donnelly <pdonnell@ibm.com>
Fri, 9 May 2025 18:19:56 +0000 (14:19 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 22 Sep 2025 16:34:40 +0000 (12:34 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 098e028b8762a6b18173f69224cbbfe3eef8798d)

src/mon/Monitor.cc

index 3db43c23b4970884c9adb72e314661502151cd28..0ac57f1d50f1b65f82878aa57665f30635238231 100644 (file)
@@ -6713,6 +6713,9 @@ void Monitor::set_mon_crush_location(const string& loc)
 
 void Monitor::notify_new_monmap(bool can_change_external_state, bool remove_rank_elector)
 {
+  dout(20) << __func__
+           << ": can_change_external_state=" << can_change_external_state
+           << " remove_rank_elector=" << remove_rank_elector << dendl;
   if (need_set_crush_loc) {
     auto my_info_i = monmap->mon_info.find(name);
     if (my_info_i != monmap->mon_info.end() &&