Commit 5f27478f authored by Fabio Montefuscolo's avatar Fabio Montefuscolo
Browse files

Replace cat by tail to show mysql logs

parent 4f21f91a
Pipeline #3129 passed with stage
in 3 minutes and 39 seconds
......@@ -52,7 +52,7 @@ do
online="$online,$ip"
fi
fi
score=$(curl -v http://$ip:8888/score)
if [ -z "$current" ] || [[ "$score" -gt "$current" ]];
then
......@@ -72,7 +72,7 @@ echo "#
if [ "$(basename $1)" = "mysqld" ];
then
cat "${MYSQL_LOG_FILE}" &
tail -F "${MYSQL_LOG_FILE}" &
set -- "$@" "--user=mysql"
set -- "$@" "--log-bin=$CLUSTER_NAME-bin"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment