refactor: align RocksDbArgs defaults with StorageSettings::base() (#21472)

Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: yongkangc <chiayongkang@hotmail.com>
This commit is contained in:
Georgios Konstantopoulos
2026-01-27 05:13:25 -08:00
committed by GitHub
parent c8245594bc
commit e4e05e9ef9
28 changed files with 117 additions and 82 deletions

View File

@@ -184,7 +184,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -192,7 +192,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -919,7 +919,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -927,7 +927,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -175,7 +175,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -183,7 +183,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -173,7 +173,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -181,7 +181,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -184,7 +184,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -192,7 +192,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -919,7 +919,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -927,7 +927,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -175,7 +175,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -183,7 +183,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -168,7 +168,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -176,7 +176,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]

View File

@@ -173,7 +173,7 @@ RocksDB:
--rocksdb.storages-history <STORAGES_HISTORY>
Route storages history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]
@@ -181,7 +181,7 @@ RocksDB:
--rocksdb.account-history <ACCOUNT_HISTORY>
Route account history tables to `RocksDB` instead of MDBX.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise.
This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`.
[default: false]
[possible values: true, false]