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

Log receipts reorg #4497

Merged
merged 8 commits into from
Oct 7, 2022
Merged

Log receipts reorg #4497

merged 8 commits into from
Oct 7, 2022

Conversation

jflo
Copy link
Contributor

@jflo jflo commented Oct 7, 2022

PR description

re-emits correct blockadded event on chain rewind during reorgs.

Fixed Issue(s)

fixes #4495

Changelog

Signed-off-by: Justin Florentine <[email protected]>
Signed-off-by: Justin Florentine <[email protected]>
Signed-off-by: Justin Florentine <[email protected]>
Signed-off-by: Justin Florentine <[email protected]>
Signed-off-by: Justin Florentine <[email protected]>
@garyschulte
Copy link
Contributor

confirmed the metadata uprev causes the cache to be auto-dropped. On an intel nuc i5 with SSD, cache is regenerated at a rate of roughly 1m blocks per minute, starting from the head of the chain backward.

Copy link
Contributor

@garyschulte garyschulte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just waiting for one more 👀

@garyschulte garyschulte merged commit 6b31efa into hyperledger:main Oct 7, 2022
garyschulte pushed a commit to garyschulte/besu that referenced this pull request Oct 7, 2022
* re-emits correct block added event when reminding
* uprevs version of log bloom cache metadata to force regeneration on startup

Signed-off-by: Justin Florentine <[email protected]>
Signed-off-by: garyschulte <[email protected]>
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* re-emits correct block added event when reminding
* uprevs version of log bloom cache metadata to force regeneration on startup

Signed-off-by: Justin Florentine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: Failed to update deposit cache
3 participants