From e928edc1ce1887778c0bc9c21e6742658716de76 Mon Sep 17 00:00:00 2001 From: GarmashAlex Date: Tue, 9 Sep 2025 15:29:40 +0300 Subject: [PATCH] ethdb/pebble: set Database.namespace in New to prefix stall metrics --- ethdb/pebble/pebble.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ethdb/pebble/pebble.go b/ethdb/pebble/pebble.go index 2370d4654f..884e660de3 100644 --- a/ethdb/pebble/pebble.go +++ b/ethdb/pebble/pebble.go @@ -221,6 +221,7 @@ func New(file string, cache int, handles int, namespace string, readonly bool) ( fn: file, log: logger, quitChan: make(chan chan error), + namespace: namespace, // Use asynchronous write mode by default. Otherwise, the overhead of frequent fsync // operations can be significant, especially on platforms with slow fsync performance