]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: initialize the monc later in init()
authorXiubo Li <xiubli@redhat.com>
Mon, 18 Nov 2019 02:28:55 +0000 (21:28 -0500)
committerXiubo Li <xiubli@redhat.com>
Mon, 18 Nov 2019 15:11:08 +0000 (10:11 -0500)
This is duplicated with the code in mds->init().

Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/MDSDaemon.cc

index 45356177b990c6da84b90fb0fe39438efc963d1f..485ec6efa601cf955bc7899fee3f380b8233a4b9 100644 (file)
@@ -93,8 +93,6 @@ MDSDaemon::MDSDaemon(std::string_view n, Messenger *m, MonClient *mc) :
     ceph_assert(set_result == 0);
   }
 
-  monc->set_messenger(messenger);
-
   mdsmap.reset(new MDSMap);
 }