]> git.apps.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>
Wed, 1 Oct 2025 18:46:54 +0000 (14:46 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/mon/Monitor.cc

index a81f4fcf6caf4c8451329f902080408d8ad84f3c..366bd86446f5a8f8c5635c73bc9c9b68a9fc753d 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() &&