]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: record require_osd_release in objectstore meta
authorSage Weil <sage@redhat.com>
Mon, 28 Jan 2019 21:05:53 +0000 (15:05 -0600)
committerSage Weil <sage@redhat.com>
Mon, 28 Jan 2019 21:15:51 +0000 (15:15 -0600)
commit482cdca55351ca85290f1b2adb3c0cdf78af411d
treeb8d837089086c8287d4fa31081d4809a1f480d64
parent9bc1d6037be091c7dbbff68fedcb142031a0625b
osd: record require_osd_release in objectstore meta

Record the require_osd_release value from the OSDMap in the 'meta' portion
of the osd's metadata that can be accessed without actually mounting the
OSD.  This will be useful as a safety gate to prevent you from mounting
an osd thet is too new that may make incompatible changes to the store.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h