]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: do not bind ms_objecter messenger 2605/head
authorSage Weil <sage@redhat.com>
Mon, 29 Sep 2014 23:11:06 +0000 (16:11 -0700)
committerSage Weil <sage@redhat.com>
Mon, 29 Sep 2014 23:11:06 +0000 (16:11 -0700)
The objecter messenger is only used as a client to initiate client-side
connections to other OSDs.  It doesn't need to bind to a port.

This was added in 558d9fc956204b7a18001b148e171b893cb63d85 to push client
traffic to the cluster interface.  This doesn't actually help/work because
we are still connecting to our peers' client-facing addresses.

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

index 1ee236468ad7ea103fd57c06eb07ff4562378da9..086d91496d08be391ef9561c94cb156f0dc8b229 100644 (file)
@@ -453,8 +453,6 @@ int main(int argc, const char **argv)
   if (r < 0)
     exit(1);
 
-  ms_objecter->bind(g_conf->public_addr);
-
   // Set up crypto, daemonize, etc.
   global_init_daemonize(g_ceph_context, 0);
   common_init_finish(g_ceph_context);