-
Notifications
You must be signed in to change notification settings - Fork 48
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: ignore truncation target range as flush not operated on time #131
Conversation
op-geth/trie/triedb/pathdb/disklayer.go Lines 332 to 342 in 887404f
==>
maybe better. The problem probably occurs because there may be a gap between write wal and write stateid. Write wal occurs during commit to disklayer, and write stateid occurs during disklayer background flush. Therefore, stateid (ReadPersistentStateID) may be smaller than the actual wal head, and stateid - limit may be smaller than the actual wal tail. |
Pls refine PR title and description. |
Description
ignore truncation target range as flush not operated on time
Rationale
bufferlist meet an update failure when unclean shutdown happens and lead to a panic, ignore the range judgement in this scenario
Example
N/A
Changes