]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PrimaryLogPG.cc: CEPH_OSD_OP_OMAPRMKEYRANGE should mark omap dirty
authorNeha Ojha <nojha@redhat.com>
Wed, 16 Mar 2022 18:37:19 +0000 (18:37 +0000)
committerNeha Ojha <nojha@redhat.com>
Wed, 16 Mar 2022 18:57:24 +0000 (18:57 +0000)
commitf7fd5895fd3d7d7c4691be91434868d90f7a4e0f
tree260167e130b089be9d2838acd7595fa1e1172add
parent531e0bb81656ece56e3db8373c1e458466c98980
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>
src/osd/PrimaryLogPG.cc