]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: reconnect to mon if it's addrvec appears to have changed
authorSage Weil <sage@redhat.com>
Fri, 21 Dec 2018 13:17:34 +0000 (07:17 -0600)
committerSage Weil <sage@redhat.com>
Thu, 3 Jan 2019 17:17:31 +0000 (11:17 -0600)
commit5cba1fb8741391f85087e7ea02d2fdc62d0eaa1a
tree8f5125803949ed22961e41410b71a958ac0a2bac
parentc4ae3554e1760b748e46004704d64e32cfbc2f81
mon/MonClient: reconnect to mon if it's addrvec appears to have changed

This primarily kicks in if we connect to a mon's v1 address during the
initial probe and then discover that it has v2+v1.  It's a catch-all,
though, so that we'll reconnect to the (er, a) mon in any case where we
see it's addresses change.

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