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] [CORE-1478] rptest: fix retention value in archive_retention_test #24062

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #18567
Fixes: #24061,

The `retention_value` for `retention.bytes` in
`archive_retention_test.test_delete` was being set to a value of `1KiB`
by default. Sometimes, a segment smaller than `1KiB` would be produced,
and thus would not be garbage collected.

The `retention_value` is now set using the minimum segment size to ensure
all segments are properly deleted per the expectations of the test.

(cherry picked from commit 7c8738e)
@vbotbuildovich vbotbuildovich added this to the v24.1.x-next milestone Nov 7, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Nov 7, 2024
@michael-redpanda michael-redpanda self-assigned this Nov 8, 2024
@michael-redpanda michael-redpanda merged commit afac874 into redpanda-data:v24.1.x Nov 8, 2024
16 checks passed
@BenPope BenPope modified the milestones: v24.1.x-next, v24.1.18 Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants