-
Notifications
You must be signed in to change notification settings - Fork 589
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
archival: skip spillover retention if not collectable #23358
archival: skip spillover retention if not collectable #23358
Conversation
Compact-only topics should never apply retention. This wasn't the case for the spillover region in tiered storage. Note, for the STM region, we do correctly no-op when trying to apply retention for compacted topics.
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/54647#0192041f-309e-471a-b2a5-5c8263d4236d |
ASSERT_GE(total_records, 500); | ||
ASSERT_TRUE(archiver.sync_for_tests().get()); | ||
archiver.apply_spillover().get(); | ||
ss::sleep(5s).get(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be nice to document why this sleep is needed or better wait for the specific condition we are looking for
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will remove in a follow-up. Want to merge this one ASAP
.set_value(std::make_optional<size_t>(5)); | ||
test_local_cfg.get("cloud_storage_spillover_manifest_size") | ||
.set_value(std::optional<size_t>{}); | ||
test_local_cfg.get("log_retention_ms") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we do log_retention_bytes to avoid relying on timers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do in a follow-up. Want to merge this one ASAP
/backport v24.2.x |
/backport v24.1.x |
/backport v23.3.x |
Failed to create a backport PR to v23.3.x branch. I tried:
|
Failed to create a backport PR to v24.1.x branch. I tried:
|
Compact-only topics should never apply retention. This wasn't the case for the spillover region in tiered storage.
Note, for the STM region, we do correctly no-op when trying to apply retention for compacted topics.
Backports Required
Release Notes
Bug Fixes