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: remove assertion on is_cloud_retention_active #24089

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #23936

This assertion can be triggered if a the configuration for a topic is
changed between when space management sets the `_cloud_gc_offset` to
when gc actually runs on the log. So to avoid crashing in this case the
assertion is changed to an early return and a warning is logged instead.

(cherry picked from commit 137951e)
@vbotbuildovich vbotbuildovich added this to the v24.1.x-next milestone Nov 11, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Nov 11, 2024
@ballard26 ballard26 enabled auto-merge November 11, 2024 16:41
@ballard26 ballard26 merged commit 6912c71 into redpanda-data:v24.1.x Nov 11, 2024
17 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
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants