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

[CORE-1478] rptest: fix retention value in archive_retention_test #18567

Merged
merged 1 commit into from
May 21, 2024

Conversation

WillemKauf
Copy link
Contributor

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.

Fixes #13841.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.1.x
  • v23.3.x
  • v23.2.x

Release Notes

  • none

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.
@WillemKauf WillemKauf requested a review from abhijat May 17, 2024 15:38
@WillemKauf
Copy link
Contributor Author

/ci-repeat

@WillemKauf WillemKauf merged commit 17c04ed into redpanda-data:dev May 21, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI Failure (segments not deleted) in CloudArchiveRetentionTest.test_delete
2 participants