Skip to content

Commit

Permalink
core/rawdb: log ancient pruner offset
Browse files Browse the repository at this point in the history
  • Loading branch information
manav2401 committed Jun 24, 2024
1 parent b228a47 commit 32c9405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/rawdb/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 32c9405

Please sign in to comment.