]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/OSDMonitor: fix initial map when require_luminous_osds not set on mkfs
authorSage Weil <sage@redhat.com>
Wed, 12 Apr 2017 02:35:32 +0000 (22:35 -0400)
committerSage Weil <sage@redhat.com>
Thu, 13 Apr 2017 14:10:26 +0000 (10:10 -0400)
commit20e5bff7fc4ba629633c3d53ad4d72818a86b29b
tree2d54e6fa7b1f1eff5f9c17444921aa57995571da
parent10ea8e1d7d11aa548f7561ec5b9e4c52a02203d4
mon/OSDMonitor: fix initial map when require_luminous_osds not set on mkfs

If we don't set the luminous flag, we should not set the new luninous
fields or else we'll get a crc mismatch.  (Funnily that happens in the
epoch where the flag is eventually set and the encoded map finally includes
the field we have set in memory.)

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