]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: refuse to start if release > recorded min_osd_release + 2
authorSage Weil <sage@redhat.com>
Mon, 28 Jan 2019 20:58:26 +0000 (14:58 -0600)
committerSage Weil <sage@redhat.com>
Tue, 29 Jan 2019 22:36:03 +0000 (16:36 -0600)
commit9f7713a905d67441b28371e4494e9447319d2129
tree5c07f92525bff6bb2ed1d295debdc5e23be16c83
parent482cdca55351ca85290f1b2adb3c0cdf78af411d
osd: refuse to start if release > recorded min_osd_release + 2

If we try to start up the objectstore, we may make writeable changes to
(say) rocksdb that are not backwards compatible.  This happens, for
example, if you start a mimic osd.  Even if the compatset checks fail,
rocksdb may have written something that is not backwards compatible.

Fixes: http://tracker.ceph.com/issues/38076
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph_osd.cc
src/osd/OSD.cc
src/osd/OSD.h