Skip to content

tentacle: osd: Deleting PG should discard pwlc - #68709

Merged
batrick merged 1 commit into
ceph:tentaclefrom
bill-scales:wip-74718-tentacle
May 9, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
bill-scales:wip-74718-tentacle

Conversation

@bill-scales

Copy link
Copy Markdown
Contributor

When a shard of a PG is deleted it clears the PG log and rolls
forward any updates that have not been completed, this cleans up
the object store removing any objects used for rollback. This
step updates pwlc.

Normally the next step is that the PG is destoryed, but there
is a (very rare) race hazard where a new interval and peering
cycle can start which will collect the updated pwlc from this
shard. This can disrupt the shards still being used by the PG.

Invalidating the pwlc after rolling forward updates fixes
this issue. As the PG is being deleted on this shard there is
no need to retain pwlc.

Fixes: https://tracker.ceph.com/issues/74048
Signed-off-by: Bill Scales <[email protected]>
(cherry picked from commit d78e0f2)
@bill-scales
bill-scales requested a review from a team as a code owner May 1, 2026 07:52
@bill-scales bill-scales added this to the tentacle milestone May 1, 2026
@bill-scales
bill-scales requested a review from aainscow May 1, 2026 07:53

@aainscow aainscow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identical to backported commit.

LGTM

@batrick batrick added releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels May 2, 2026
@ljflores

ljflores commented May 7, 2026

Copy link
Copy Markdown
Member

@batrick

batrick commented May 8, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@batrick
batrick merged commit cda0d19 into ceph:tentacle May 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core needs-qa releng-audit-pass Release engineering: passed backport verification audit. wip-bharath13-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants