1
0
Fork 0

make RocksDB the default engine (#5964)

This commit is contained in:
Jan 2018-07-25 11:17:49 +02:00 committed by GitHub
parent 72d2d614f7
commit 1b9fcb589d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 20 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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% ""

View File

@ -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.

View File

@ -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)"

View File

@ -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=""

View File

@ -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=""