]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/MDSDaemon: clean up handle_mds_map debug output a bit
authorSage Weil <sage@redhat.com>
Mon, 17 Dec 2018 13:33:48 +0000 (07:33 -0600)
committerSage Weil <sage@redhat.com>
Thu, 3 Jan 2019 17:17:31 +0000 (11:17 -0600)
The old wording was misleading!

Signed-off-by: Sage Weil <sage@redhat.com>
src/mds/MDSDaemon.cc

index 64904ddfb7ded54221d6bf02059a2903f0cd3bfd..b76d2d69d8cf66252b16c321c8bb87095ea37478 100644 (file)
@@ -926,11 +926,13 @@ void MDSDaemon::handle_mds_map(const MMDSMap::const_ref &m)
   }
 
   // see who i am
-  addrs = messenger->get_myaddrs();
-  dout(10) << "map says I am " << addrs
-          << " mds." << whoami << "." << incarnation
+  dout(10) << "my gid is " << monc->get_global_id() << dendl;
+  dout(10) << "map says I am mds." << whoami << "." << incarnation
           << " state " << ceph_mds_state_name(new_state) << dendl;
 
+  addrs = messenger->get_myaddrs();
+  dout(10) << "msgr says i am " << addrs << dendl;
+
   if (whoami == MDS_RANK_NONE) {
     if (mds_rank != NULL) {
       const auto myid = monc->get_global_id();