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: recover node buffer list trie nodes for graceful kill #224

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from

Conversation

sysvm
Copy link
Contributor

@sysvm sysvm commented Nov 15, 2024

Description

This pr aims to recover node buffer list data for graceful kill. Therefore, both graceful kill and force kill can recover data by freezerdb.

Rationale

When using graceful kill to stop geth, the data in nodebufferlist is stored in db or journalFile. When nodebufferlist recovers data by loading all data into nodebufferlist base buffer, if the data is too large, it will exceed the pebble batch size limit and cause panic. By this pr, both graceful kill and force kill can use the same functions to recover data.

Example

N/A

Changes

Notable changes:

  • N/A

@sysvm sysvm added the R4R Ready for review label Nov 20, 2024
@krish-nr krish-nr self-requested a review November 20, 2024 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R4R Ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant