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. (backport #12358) #12361

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 23, 2024

{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.


This is an automatic backport of pull request #12358 done by [Mergify](https://mergify.com).

{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.

(cherry picked from commit 2ae4dbe)
@michaelklishin michaelklishin merged commit ef8c36c into v4.0.x Sep 23, 2024
301 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.0.x/pr-12358 branch September 23, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants