]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: disable ms_bind_msgr2 if NAUTILUS feature not set
authorSage Weil <sage@redhat.com>
Fri, 21 Dec 2018 14:57:22 +0000 (08:57 -0600)
committerSage Weil <sage@redhat.com>
Thu, 3 Jan 2019 17:17:31 +0000 (11:17 -0600)
commitf3ddb1c9b88067b1a4b54d23d825ca4d62e10586
treeaff827af7604131731a61388c54c55d3a92c631e
parentae8b0cd62a0a3da0eb4062ed57429f527e2a5d07
mon/MonClient: disable ms_bind_msgr2 if NAUTILUS feature not set

Do not try to bind to v2 addresses until all of the mons will know what
we are doing and will be able to advertise those addresses.

This avoids the possibility of corner cases where we bind to one thing
but advertise something different via the various cluster maps.

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