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

[v24.1.x] storage: plumb abort source to compaction copy reducer #21422

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #21366
Fixes: #21421,

We've seen that during compaction, the step that reads a segment and
deduplicates each record can take a long time. During this span, we do
not check the compaction abort source, and this can result in
compactions blocking partition shutdown.

This commit plumbs the compaction abort source into the copy reducer and
uses it for both self compaction and windowed compaction.

(cherry picked from commit 000ff71)
@vbotbuildovich vbotbuildovich added this to the v24.1.x-next milestone Jul 15, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jul 15, 2024
@vbotbuildovich vbotbuildovich requested a review from andrwng July 15, 2024 19:12
@piyushredpanda
Copy link
Contributor

Known failures; merging.

@piyushredpanda piyushredpanda merged commit f597d21 into redpanda-data:v24.1.x Jul 18, 2024
15 of 18 checks passed
@BenPope BenPope modified the milestones: v24.1.x-next, v24.1.11 Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants