Improve the Docker setup for Mac (#11076)

This commit is contained in:
Johannes Scheuermann 2023-11-28 09:28:49 +01:00 committed by GitHub
parent 2d7494ecc2
commit 813ce39c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -65,4 +65,4 @@ source /var/fdb/.fdbenv
echo "Starting FDB server on $PUBLIC_IP:$FDB_PORT"
fdbserver --listen-address 0.0.0.0:"$FDB_PORT" --public-address "$PUBLIC_IP:$FDB_PORT" \
--datadir /var/fdb/data --logdir /var/fdb/logs \
--locality-zoneid="$(hostname)" --locality-machineid="$(hostname)" --class "$FDB_PROCESS_CLASS"
--locality-zoneid="$(hostname)" --locality-machineid="$(hostname)" --class "$FDB_PROCESS_CLASS" --knob_disable_posix_kernel_aio=1

View File

@ -71,6 +71,7 @@ function start_fdb () {
--logdir /var/fdb/logs \
--locality-zoneid="$(hostname)" \
--locality-machineid="$(hostname)" \
--knob_disable_posix_kernel_aio=1 \
--class "$FDB_PROCESS_CLASS" &
fdb_pid=$(jobs -p)
echo "fdbserver pid is: ${fdb_pid}"
@ -86,4 +87,4 @@ function configure_fdb_single () {
start_fdb
sleep 5
configure_fdb_single
fg %1
fg %1