]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PGLog: force write of may_include_deletes after split
authorJosh Durgin <jdurgin@redhat.com>
Thu, 20 Jul 2017 20:27:24 +0000 (16:27 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 20 Jul 2017 20:27:27 +0000 (16:27 -0400)
commit2effa0fbe341146a10c9813edc5aa306880ffb62
treec57c587477c5d6aa5678f5bb99512e09d39de411
parente36f4677f2e7d7bfe461012e7d519dbb047b998b
osd/PGLog: force write of may_include_deletes after split

When a collection is split this needs to be persisted again. Normally
this is only persisted when the missing set is rebuilt during a new
interval when it previous did not include deletes, but during split we
keep the in-memory missing set may_include_deletes flag, but do not
rebuild the missing set.

Fixes: http://tracker.ceph.com/issues/20704
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/osd/PGLog.h
src/test/osd/TestPGLog.cc