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.2.x] storage: convert some vasserts to exceptions #22830

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #22822

We've seen at least one instance where empty batches are pushed to the
log. Rather than bringing down the process, this updates a couple
vasserts to throw instead (converted a couple that seemed related to
data inputs, and left in a vassert that seems much more problematic
related to being on the correct shard).

(cherry picked from commit 5838337)
@vbotbuildovich vbotbuildovich added this to the v24.2.x-next milestone Aug 9, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Aug 9, 2024
@piyushredpanda
Copy link
Contributor

piyushredpanda commented Aug 10, 2024

#17206 is the CI failure we are hitting. It was fixed in dev, but not backported to v24.2.x, I have just started backport of that fix into v24.2.x branch as well, but for this PR we are good on that front.

Separately looks like transient public build failure. Clicked retry for public build, when (and if) it passes, we can force-merge this, @lf-rep

@piyushredpanda
Copy link
Contributor

Public build passed, merging.

@piyushredpanda piyushredpanda merged commit 0ec04ea into redpanda-data:v24.2.x Aug 11, 2024
16 of 19 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.2.x-next, v24.2.3 Aug 16, 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