mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
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> |
||
|---|---|---|
| .. | ||
| pebble.go | ||
| pebble_test.go | ||