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

[v21.11.x] storage: fix integer overflow in max_timestamp #4102

Merged
merged 1 commit into from
Mar 24, 2022

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Mar 24, 2022

Cover letter

Backport of PR #4010
Fixes #4112

(cherry picked from commit 3aacf0d)

This fixes:

  • Customer sees "segment with bogus max timestamp" warnings with partitions written via MirrorMaker 2
  • retention.ms cleanup not working on such segments.

Release notes

Improvements

  • An issue is fixed where out-of-order timestamps in input data could cause time-based retention cleanup to fail, and warning messages related to "bogus max timestamp".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants