This is an automated email from the ASF dual-hosted git repository.
gavinchou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new c952f859ec5 [feat](tools) Add RocksDB storage engine support for
fdb_ctl (#60235)
c952f859ec5 is described below
commit c952f859ec5c5a2c336f51614a4f6a6d37a40b30
Author: walter <[email protected]>
AuthorDate: Wed Jan 28 11:13:30 2026 +0800
[feat](tools) Add RocksDB storage engine support for fdb_ctl (#60235)
---
tools/fdb/fdb_ctl.sh | 3 ++-
tools/fdb/fdb_vars.sh | 8 +++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/tools/fdb/fdb_ctl.sh b/tools/fdb/fdb_ctl.sh
index 841f198bf12..ba37356804b 100755
--- a/tools/fdb/fdb_ctl.sh
+++ b/tools/fdb/fdb_ctl.sh
@@ -52,6 +52,7 @@ fi
# TODO verify config
+FDB_STORAGE_ENGINE=${FDB_STORAGE_ENGINE:-"ssd"}
FDB_CLUSTER_DESC=${FDB_CLUSTER_DESC:-"doris-fdb"}
# A dir to provide FDB binary pkgs
@@ -434,7 +435,7 @@ function start() {
echo "Try create database in fdb ${fdb_mode}"
"${FDB_HOME}/fdbcli" -C "${FDB_HOME}/conf/fdb.cluster" \
- --exec "configure new ${fdb_mode} ssd" ||
+ --exec "configure new ${fdb_mode} ${FDB_STORAGE_ENGINE}" ||
"${FDB_HOME}/fdbcli" -C "${FDB_HOME}/conf/fdb.cluster" --exec
"status" ||
(echo "failed to start fdb, please check that all nodes have same
FDB_CLUSTER_ID" &&
exit 1)
diff --git a/tools/fdb/fdb_vars.sh b/tools/fdb/fdb_vars.sh
index 0d4cc1667bc..45879957ec5 100644
--- a/tools/fdb/fdb_vars.sh
+++ b/tools/fdb/fdb_vars.sh
@@ -67,7 +67,13 @@ FDB_PORT=4500
# Define the FoundationDB version
# shellcheck disable=2034
-FDB_VERSION="7.1.38"
+FDB_VERSION="7.3.69"
+
+# Define the FoundationDB storage engine. Allowed:
+# - ssd: sqlite engine
+# - ssd-rocksdb-v1: rocksdb engine
+# shellcheck disable=2034
+FDB_STORAGE_ENGINE="ssd-rocksdb-v1"
# Users who run the fdb processes, default is the current user
# shellcheck disable=2034
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]