]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerNathan Cutler <ncutler@suse.com>
Mon, 9 Dec 2019 22:09:57 +0000 (23:09 +0100)
commit6fcccd7b620e1ffcf237622f6b99ca73a68c59b0
treeca1de01d5167ca1bff56a88ce783e8190948a2a5
parent8d1d1920f259159faa45805338cc8867253af277
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>
(cherry picked from commit 482cdca55351ca85290f1b2adb3c0cdf78af411d)

Conflicts:
src/osd/OSD.cc
src/osd/OSD.h
- ignore differences in surrounding context, as they do not seem relevant to
  the fix
src/osd/OSD.cc
src/osd/OSD.h