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

fix: on restarts do not throw away buffered withdrawal events #219

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

montekki
Copy link
Contributor

@montekki montekki commented Oct 2, 2023

The event producer has been restarted at a given
block height. It is going to re-send all events from that block number up. However the already received events need to be processed because they may never be sent again. Consider the situation where events at following block already sit in the accumulator:

  • [1042].

The producer is restarted from block 1045, and as such event at 1042 will never be re-sent.

@montekki montekki merged commit 0460a9a into main Oct 2, 2023
6 checks passed
@montekki montekki deleted the fs-do-not-drop-events-on-block-restart branch October 2, 2023 11:28
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