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

QQ: fix off-by-one bug in release cursor effects. #12358

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

kjnilsson
Copy link
Contributor

{release_cursor, Idx} effects promote checkpoints with an index lower or equal to the release cursor index. rabbit_fifo is emitting the smallest active raft index instead which could cause the log to truncate one index too many after a checkpoint promotion.

{release_cursor, Idx} effects promote checkpoints with an index
lower or _equal_ to the release cursor index. rabbit_fifo is emitting
the smallest active raft index instead which could cause the log to truncate
one index too many after a checkpoint promotion.
@michaelklishin michaelklishin merged commit 474d76f into main Sep 23, 2024
281 checks passed
@michaelklishin michaelklishin deleted the qq-release-cursor-bug branch September 23, 2024 19:42
michaelklishin added a commit that referenced this pull request Sep 23, 2024
QQ: fix off-by-one bug in release cursor effects. (backport #12358)
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