Skip to content

Commit

Permalink
fix: flush base buffer after recovering node buffer list
Browse files Browse the repository at this point in the history
  • Loading branch information
VM committed Dec 23, 2024
1 parent daa460a commit a887356
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions triedb/pathdb/nodebufferlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ func (nf *nodebufferlist) recoverNodeBufferList(freezer *rawdb.ResettableFreezer
nf.layers += current.layers
}
nf.diffToBase()
nf.backgroundFlush()

log.Info("Succeed to recover node buffer list", "base_size", nf.base.size, "tail_state_id", nf.tail.id,
"head_state_id", nf.head.id, "nbl_layers", nf.layers, "base_layers", nf.base.layers)
Expand Down

0 comments on commit a887356

Please sign in to comment.