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: BufferedBlockstore#flush should not reset the write buffer. #1096

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

raulk
Copy link
Member

@raulk raulk commented Nov 16, 2022

Resetting the buffer was never advertised as a behaviour of this method.

This makes it possible to call flush multiple times to selectively flush roots during its lifetime. Selective flushes are used to flush the event AMTs as they are being produced.

Resetting the buffer was never advertised as a behaviour of this method.

This makes it possible to call flush multiple times to selectively flush
roots during its lifetime. Selective flushes are used to flush the event
AMTs as they are being produced.
@raulk raulk requested a review from Stebalien November 16, 2022 18:07
@Stebalien Stebalien enabled auto-merge (squash) November 16, 2022 18:08
@raulk raulk changed the base branch from master to fix/patch-funty November 16, 2022 18:51
@Stebalien Stebalien merged commit 1f296e5 into fix/patch-funty Nov 16, 2022
@Stebalien Stebalien deleted the fix/bufferedstore-flush branch November 16, 2022 18:52
raulk added a commit that referenced this pull request Nov 16, 2022
Resetting the buffer was never advertised as a behaviour of this method.

This makes it possible to call flush multiple times to selectively flush
roots during its lifetime. Selective flushes are used to flush the event
AMTs as they are being produced.
raulk added a commit that referenced this pull request Nov 16, 2022
Resetting the buffer was never advertised as a behaviour of this method.

This makes it possible to call flush multiple times to selectively flush
roots during its lifetime. Selective flushes are used to flush the event
AMTs as they are being produced.
raulk added a commit that referenced this pull request Nov 16, 2022
Resetting the buffer was never advertised as a behaviour of this method.

This makes it possible to call flush multiple times to selectively flush
roots during its lifetime. Selective flushes are used to flush the event
AMTs as they are being produced.
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