Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: osd/PrimaryLogPG.cc: CEPH_OSD_OP_OMAPRMKEYRANGE should mark omap dirty #45591

Merged
merged 1 commit into from Mar 28, 2022

Conversation

vumrao
Copy link
Contributor

@vumrao vumrao commented Mar 23, 2022

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

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 f7fd589)

Backport Tracker: https://tracker.ceph.com/issues/55020

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

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 f7fd589)
@vumrao vumrao added this to the pacific milestone Mar 23, 2022
@yuriw yuriw merged commit c56a7a2 into ceph:pacific Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants