mirror of https://gitee.com/bigwinds/arangodb
make RocksDB the default engine (#5964)
This commit is contained in:
parent
72d2d614f7
commit
1b9fcb589d
|
@ -38,7 +38,7 @@ if [ "$os" == linux ]; then
|
|||
elif [ "$os" == mac ]; then
|
||||
type="${type}_${os}"
|
||||
else
|
||||
echo "$0: unknown engine '$os', expecting 'linux' or 'mac'"
|
||||
echo "$0: unknown os '$os', expecting 'linux' or 'mac'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ if [ "$os" == linux ]; then
|
|||
elif [ "$os" == mac ]; then
|
||||
type="${type}_${os}"
|
||||
else
|
||||
echo "$0: unknown engine '$os', expecting 'linux' or 'mac'"
|
||||
echo "$0: unknown os '$os', expecting 'linux' or 'mac'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ if [ "$os" == linux ]; then
|
|||
elif [ "$os" == mac ]; then
|
||||
type="${type}_${os}"
|
||||
else
|
||||
echo "$0: unknown engine '$os', expecting 'linux' or 'mac'"
|
||||
echo "$0: unknown os '$os', expecting 'linux' or 'mac'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -664,7 +664,7 @@ continueUI:
|
|||
${NSD_CreateLabel} 35% 50 40% 6% "Password (Again)"
|
||||
Pop $0 ; Don't care...
|
||||
|
||||
${NSD_CreateLabel} 0, 90, 100% 6% "Choose the stogare engine to use for this ArangoDB Installation"
|
||||
${NSD_CreateLabel} 0, 90, 100% 6% "Choose the storage engine to use for this ArangoDB installation"
|
||||
Pop $0 ; Don't care...
|
||||
|
||||
${NSD_CreateDropList} 5, 110, 30% 6% ""
|
||||
|
|
|
@ -41,5 +41,5 @@ Description: Database storage engine
|
|||
Please note that you can't switch storage engines of existing installations,
|
||||
a dump and restore is required therefore.
|
||||
|
||||
'auto' will pick the existing one or default to mmfiles.
|
||||
'auto' will pick the existing one or default to rocksdb.
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ function help() {
|
|||
echo " -x/--xterm XTerm command (default: xterm)"
|
||||
echo " -o/--xterm-options XTerm options (default: --geometry=80x43)"
|
||||
echo " -b/--offset-ports Offset ports (default: 0, i.e. A:4001, C:8530, D:8629)"
|
||||
echo " -r/--rocksdb-engine Use RocksDB engine (default: false)"
|
||||
echo " -r/--rocksdb-engine Use RocksDB engine (default: true)"
|
||||
echo " -q/--source-dir ArangoDB source dir (default: .)"
|
||||
echo " -B/--bin-dir ArangoDB binary dir (default: ./build)"
|
||||
echo " -O/--ongoing-ports Ongoing ports (default: false)"
|
||||
|
|
|
@ -52,8 +52,13 @@ if [ "$POOLSZ" == "" ] ; then
|
|||
fi
|
||||
|
||||
if [ -z "$USE_ROCKSDB" ] ; then
|
||||
STORAGE_ENGINE=""
|
||||
#default engine is RocksDB
|
||||
STORAGE_ENGINE="--server.storage-engine=rocksdb"
|
||||
elif [ "$USE_ROCKSDB" == "0" ]; then
|
||||
#explicitly disable RocksDB engine, so use MMFiles
|
||||
STORAGE_ENGINE="--server.storage-engine=mmfiles"
|
||||
else
|
||||
#any value other than "0" means RocksDB engine
|
||||
STORAGE_ENGINE="--server.storage-engine=rocksdb"
|
||||
fi
|
||||
DEFAULT_REPLICATION=""
|
||||
|
|
|
@ -52,8 +52,13 @@ if [ "$POOLSZ" == "" ] ; then
|
|||
fi
|
||||
|
||||
if [ -z "$USE_ROCKSDB" ] ; then
|
||||
STORAGE_ENGINE=""
|
||||
#default engine is RocksDB
|
||||
STORAGE_ENGINE="--server.storage-engine=rocksdb"
|
||||
elif [ "$USE_ROCKSDB" == "0" ]; then
|
||||
#explicitly disable RocksDB engine, so use MMFiles
|
||||
STORAGE_ENGINE="--server.storage-engine=mmfiles"
|
||||
else
|
||||
#any value other than "0" means RocksDB engine
|
||||
STORAGE_ENGINE="--server.storage-engine=rocksdb"
|
||||
fi
|
||||
DEFAULT_REPLICATION=""
|
||||
|
|
Loading…
Reference in New Issue