]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: make cluster addrs addrvecs too
authorSage Weil <sage@redhat.com>
Mon, 4 Jun 2018 19:23:35 +0000 (14:23 -0500)
committerSage Weil <sage@redhat.com>
Tue, 3 Jul 2018 18:01:23 +0000 (13:01 -0500)
commit9fb1e521c7c75c124b0dbf193e8b65ff1b5f461e
tree820c2640879f4d5705096eabca17ba9a2b592071
parent5d95b29c9bb862b73d59d35b1656bdd52dedf2d1
osd/OSDMap: make cluster addrs addrvecs too

This will allow a single-step upgrade from msgr1 to msgr2: as each
nautilus OSD starts up, it will bind to both msgr1 and msgr2 addrs
(assuming it starts up after the mons have been upgraded).  Peer OSDs will
use the msgr2 address if they can, or the legacy one if they can't.
Once require_osd_release >= nautilus OSDs will stop binding to msgr1
ports at all.

Signed-off-by: Sage Weil <sage@redhat.com>
src/messages/MOSDBoot.h
src/mon/OSDMonitor.cc
src/osd/OSD.cc
src/osd/OSDMap.cc
src/osd/OSDMap.h
src/test/osd/TestOSDMap.cc