You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
15 lines
271 B
Bash
15 lines
271 B
Bash
#!/bin/bash
|
|
|
|
/bin/kill -15 "$1"
|
|
timeout=$(@ENGINE_BINDIR@/mcsGetConfig SystemConfig DBRMTimeout)
|
|
|
|
while [ -n "$(pgrep -x controllernode)" ] && [ $timeout -gt 0 ]
|
|
do
|
|
sleep 1
|
|
((--timeout))
|
|
done
|
|
|
|
if [ -n "$(pgrep -x controllernode)" ]; then
|
|
/bin/kill -9 "$1"
|
|
fi
|