From 0daf8b71e445c0236759a05e6760e35558261018 Mon Sep 17 00:00:00 2001 From: "celo.choi" Date: Mon, 25 Mar 2024 10:31:56 +0900 Subject: [PATCH] Disable pebble DB --- ethdb/pebble/pebble.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ethdb/pebble/pebble.go b/ethdb/pebble/pebble.go index af4686cf5b..09ca435deb 100644 --- a/ethdb/pebble/pebble.go +++ b/ethdb/pebble/pebble.go @@ -19,6 +19,7 @@ package pebble import ( "bytes" + "errors" "fmt" "runtime" "sync" @@ -136,6 +137,7 @@ func (l panicLogger) Fatalf(format string, args ...interface{}) { // New returns a wrapped pebble DB object. The namespace is the prefix that the // metrics reporting should use for surfacing internal stats. func New(file string, cache int, handles int, namespace string, readonly bool, ephemeral bool) (*Database, error) { + return nil, errors.New("this repo doesn't support pebble DB") // Ensure we have some minimal caching and file guarantees if cache < minCache { cache = minCache