]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd_types, PGLog: encode missing based on features
authorJosh Durgin <jdurgin@redhat.com>
Tue, 4 Jul 2017 01:06:23 +0000 (21:06 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 19 Jul 2017 06:47:45 +0000 (02:47 -0400)
commita51d5fd9a11e852361df5e3e90d04710a8f19cb4
tree410cd3f3d929553fc48e1ad4f4abc52c673c723f
parent712f0da05c0a4739a416e0ac003050305de3a775
osd_types, PGLog: encode missing based on features

Store whether the missing set should contain deletes, so that
persisted versions can be rebuilt if needed. Make missing_item
versioned, since it's persisted by the pg_log as an individual omap
value.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/osd/PG.cc
src/osd/PGLog.cc
src/osd/PGLog.h
src/osd/osd_types.cc
src/osd/osd_types.h
src/test/encoding/types.h
src/test/osd/TestPGLog.cc
src/tools/ceph_objectstore_tool.cc