This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new d3f6b3e7f10 branch-4.0: [feat](tools) Add RocksDB storage engine
support for fdb_ctl #60235 (#60289)
d3f6b3e7f10 is described below
commit d3f6b3e7f1028b99df265a9dfe994763c6634b84
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Feb 2 12:37:45 2026 +0800
branch-4.0: [feat](tools) Add RocksDB storage engine support for fdb_ctl
#60235 (#60289)
Cherry-picked from #60235
Co-authored-by: walter <[email protected]>
---
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 d3d2f08aef5..74df7cbdfa6 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
@@ -432,7 +433,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]