cmd/geth: add db-command to inspect freezer index (#22633)
This PR makes it easier to inspect the freezer index, which could be useful to investigate things like #22111
This commit is contained in:
committed by
GitHub
parent
6c27d8f996
commit
271e5b7fc9
@ -525,7 +525,7 @@ func TestOffset(t *testing.T) {
|
||||
|
||||
f.Append(4, getChunk(20, 0xbb))
|
||||
f.Append(5, getChunk(20, 0xaa))
|
||||
f.printIndex()
|
||||
f.DumpIndex(0, 100)
|
||||
f.Close()
|
||||
}
|
||||
// Now crop it.
|
||||
@ -572,7 +572,7 @@ func TestOffset(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
f.printIndex()
|
||||
f.DumpIndex(0, 100)
|
||||
// It should allow writing item 6
|
||||
f.Append(numDeleted+2, getChunk(20, 0x99))
|
||||
|
||||
|
Reference in New Issue
Block a user