]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG.cc: CEPH_OSD_OP_OMAPRMKEYRANGE should mark omap dirty 45591/head
authorNeha Ojha <nojha@redhat.com>
Wed, 16 Mar 2022 18:37:19 +0000 (18:37 +0000)
committerVikhyat Umrao <vikhyat@redhat.com>
Wed, 23 Mar 2022 16:01:27 +0000 (09:01 -0700)
commitf8691d0f07fbd805282921d0c148f5f3602c0d7b
tree2afbfeeb105c29461e2fa7c63d2cf7f7d208777f
parent204a306b968f1677cbd8bba4640b7beb7df03d3a
osd/PrimaryLogPG.cc: CEPH_OSD_OP_OMAPRMKEYRANGE should mark omap dirty

We should mark_omap_dirty() for all omap write ops, just like we did
in cb927925af1f3df4b9c31df85cf31f982aae1988.

Currently, for CEPH_OSD_OP_OMAPRMKEYRANGE ops, clean_omap gets set to true,
which results in incomplete recovery of objects and results in
inconsistent PGs after a scrub.

Fixes: https://tracker.ceph.com/issues/54592
Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit f7fd5895fd3d7d7c4691be91434868d90f7a4e0f)
src/osd/PrimaryLogPG.cc