mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
core/rawdb: log ancient pruner offset
This commit is contained in:
parent
b228a47491
commit
32c9405afa
1 changed files with 1 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ func resolveOffset(db ethdb.KeyValueStore, isLastOffset bool) uint64 {
|
|||
//nolint:gocognit
|
||||
func NewDatabaseWithFreezer(db ethdb.KeyValueStore, ancient string, namespace string, readonly, disableFreeze, isLastOffset bool) (ethdb.Database, error) {
|
||||
offset := resolveOffset(db, isLastOffset)
|
||||
log.Info("Resolving ancient pruner offset", "isLastOffset", isLastOffset, "offset", offset)
|
||||
|
||||
// Create the idle freezer instance
|
||||
frdb, err := newChainFreezer(resolveChainFreezerDir(ancient), namespace, readonly, offset)
|
||||
|
|
|
|||
Loading…
Reference in a new issue