go-ethereum/ethdb/pebble
GarmashAlex 92fbbe63c8
ethdb/pebble: set metric namespace correctly (#32563)
Ensure Database.namespace is initialized in pebble.New(...). Without
this, the write-stall metrics registered in onWriteStallBegin/End are
emitted without the intended namespace prefix, while other Pebble
metrics use the provided constructor parameter. This aligns stall
metrics with the rest of the Pebble metric set and fixes inconsistent
metric naming.

---------

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-09-11 16:05:17 +08:00
..
pebble.go ethdb/pebble: set metric namespace correctly (#32563) 2025-09-11 16:05:17 +08:00
pebble_test.go core, ethdb: introduce database sync function (#31703) 2025-05-08 19:10:26 +08:00