]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: encode canonical full osdmap based on osdmap flags
authorSage Weil <sage@redhat.com>
Fri, 30 Sep 2016 22:02:39 +0000 (18:02 -0400)
committerSage Weil <sage@redhat.com>
Mon, 3 Oct 2016 13:59:30 +0000 (09:59 -0400)
commit5e0daf6642011bf1222c4dc20aa284966fa5df9f
treed8daf5f9b5d7863839b8405bdb590da5d062f2f4
parentad6aeb0f01f63f221e29c0310335412119eeb5b0
mon/OSDMonitor: encode canonical full osdmap based on osdmap flags

If the JEWEL or KRAKEN flags aren't set, encode the full map without
those features.  This ensure that older OSDs in the cluster will be able
to correctly encode the full map with a matching CRC.  At least, that is
true as long as the encoding changes are guarded by those feature bits.
That appears to be true currently, and we plan to ensure that it is true
in the future as well.

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