Skip to content

Commit

Permalink
switch fdb tenant to hornbill
Browse files Browse the repository at this point in the history
  • Loading branch information
Commelina committed Dec 23, 2024
1 parent 0d029df commit 3aa7cd7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker/fdb-hornbill/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ fi

echo "Can now connect to docker-based FDB cluster using $FDB_CLUSTER_FILE."

echo "Create hstream tenant"
config="configure tenant_mode=optional_experimental; createtenant hstream;"
echo "Create hornbill tenant"
config="configure tenant_mode=optional_experimental; createtenant hornbill;"
if ! $fdbcli -C $FDB_CLUSTER_FILE --exec "$config" --timeout 10 ; then
echo "Create hstream tenant failed"
echo "Create hornbill tenant failed"
fi

## Make sure the process doesn't exit
Expand Down
2 changes: 1 addition & 1 deletion docker/meta-hornbill/start-meta.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
echo "docker:docker@fdb:4500" > /etc/fdb.cluster

while ! fdbcli -C /etc/fdb.cluster --exec "tenant get hstream" --timeout 1 ; do
while ! fdbcli -C /etc/fdb.cluster --exec "tenant get hornbill" --timeout 1 ; do
sleep 1;
done

Expand Down
2 changes: 1 addition & 1 deletion docker/node-hornbill/start-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

echo "docker:docker@fdb:4500" > /etc/fdb.cluster

while ! fdbcli -C /etc/fdb.cluster --exec "tenant get hstream" --timeout 1 ; do
while ! fdbcli -C /etc/fdb.cluster --exec "tenant get hornbill" --timeout 1 ; do
sleep 1;
done

Expand Down

0 comments on commit 3aa7cd7

Please sign in to comment.