Skip to content

Commit 3657334

Browse files
committed
switch default to pebble
1 parent a6eb7d3 commit 3657334

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

cmd/access/node_builder/access_node_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func DefaultAccessNodeConfig() *AccessNodeConfig {
278278
MaxRetryDelay: edrequester.DefaultMaxRetryDelay,
279279
},
280280
executionDataIndexingEnabled: false,
281-
executionDataDBMode: execution_data.ExecutionDataDBModeBadger.String(),
281+
executionDataDBMode: execution_data.ExecutionDataDBModePebble.String(),
282282
executionDataPrunerHeightRangeTarget: 0,
283283
executionDataPrunerThreshold: pruner.DefaultThreshold,
284284
executionDataPruningInterval: pruner.DefaultPruningInterval,

cmd/execution_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (exeConf *ExecutionConfig) SetupFlags(flags *pflag.FlagSet) {
134134
flags.UintVar(&exeConf.transactionExecutionMetricsBufferSize, "tx-execution-metrics-buffer-size", 200, "buffer size for transaction execution metrics. The buffer size is the number of blocks that are kept in memory by the metrics provider engine")
135135
flags.StringVar(&exeConf.executionDataDBMode,
136136
"execution-data-db",
137-
execution_data.ExecutionDataDBModeBadger.String(),
137+
execution_data.ExecutionDataDBModePebble.String(),
138138
"[experimental] the DB type for execution datastore. One of [badger, pebble]")
139139

140140
flags.BoolVar(&exeConf.onflowOnlyLNs, "temp-onflow-only-lns", false, "do not use unless required. forces node to only request collections from onflow collection nodes")

cmd/node_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ func DefaultBaseConfig() *BaseConfig {
284284
BootstrapDir: "bootstrap",
285285
datadir: datadir,
286286
pebbleDir: pebbleDir,
287-
DBOps: string(dbops.BadgerBatch), // "badger-batch" (default) or "pebble-batch"
287+
DBOps: string(dbops.PebbleBatch), // "badger-batch" (default) or "pebble-batch"
288288
badgerDB: nil,
289289
pebbleDB: nil,
290290
secretsdir: NotSet,

cmd/observer/node_builder/observer_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ func DefaultObserverServiceConfig() *ObserverServiceConfig {
237237
logTxTimeToSealed: false,
238238
executionDataSyncEnabled: false,
239239
executionDataIndexingEnabled: false,
240-
executionDataDBMode: execution_data.ExecutionDataDBModeBadger.String(),
240+
executionDataDBMode: execution_data.ExecutionDataDBModePebble.String(),
241241
executionDataPrunerHeightRangeTarget: 0,
242242
executionDataPrunerThreshold: pruner.DefaultThreshold,
243243
executionDataPruningInterval: pruner.DefaultPruningInterval,

integration/tests/access/cohort3/execution_state_sync_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type ExecutionStateSyncSuite struct {
5454
}
5555

5656
func (s *ExecutionStateSyncSuite) SetupTest() {
57-
s.setup(execution_data.ExecutionDataDBModeBadger)
57+
s.setup(execution_data.ExecutionDataDBModePebble)
5858
}
5959

6060
func (s *ExecutionStateSyncSuite) setup(executionDataDBMode execution_data.ExecutionDataDBMode) {

0 commit comments

Comments
 (0)