File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 5252
5353# TODO verify config
5454
55+ FDB_STORAGE_ENGINE=${FDB_STORAGE_ENGINE:- " ssd" }
5556FDB_CLUSTER_DESC=${FDB_CLUSTER_DESC:- " doris-fdb" }
5657
5758# A dir to provide FDB binary pkgs
@@ -432,7 +433,7 @@ function start() {
432433 echo " Try create database in fdb ${fdb_mode} "
433434
434435 " ${FDB_HOME} /fdbcli" -C " ${FDB_HOME} /conf/fdb.cluster" \
435- --exec " configure new ${fdb_mode} ssd " ||
436+ --exec " configure new ${fdb_mode} ${FDB_STORAGE_ENGINE} " ||
436437 " ${FDB_HOME} /fdbcli" -C " ${FDB_HOME} /conf/fdb.cluster" --exec " status" ||
437438 (echo " failed to start fdb, please check that all nodes have same FDB_CLUSTER_ID" &&
438439 exit 1)
Original file line number Diff line number Diff line change @@ -67,7 +67,13 @@ FDB_PORT=4500
6767
6868# Define the FoundationDB version
6969# shellcheck disable=2034
70- FDB_VERSION=" 7.1.38"
70+ FDB_VERSION=" 7.3.69"
71+
72+ # Define the FoundationDB storage engine. Allowed:
73+ # - ssd: sqlite engine
74+ # - ssd-rocksdb-v1: rocksdb engine
75+ # shellcheck disable=2034
76+ FDB_STORAGE_ENGINE=" ssd-rocksdb-v1"
7177
7278# Users who run the fdb processes, default is the current user
7379# shellcheck disable=2034
You can’t perform that action at this time.
0 commit comments