1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-3914 Changed start/stop sequence to align it with the underlying dynamic systemd start order.

This commit is contained in:
Roman Nozdrin
2020-06-05 11:47:05 +00:00
parent 2915f83a46
commit ea1809dc1f
4 changed files with 9 additions and 8 deletions

View File

@ -225,7 +225,8 @@ fi
systemctl cat mariadb-columnstore.service > /dev/null 2>&1
if [ $? -eq 0 ] && [ $(running_systemd) -eq 0 ]; then
systemctl start mariadb-columnstore
dbbuilder 7 > $tmpDir/dbbuilder.log
sleep 1
dbbuilder 7 > $tmpDir/dbbuilder.log 2>&1
fi
if [ $stop_mysqld -eq 1 ];then

View File

@ -2,13 +2,13 @@
# This script allows to gracefully start MCS
/bin/systemctl start mcs-storagemanager
/bin/systemctl start mcs-loadbrm
/bin/systemctl start mcs-workernode
/bin/systemctl start mcs-controllernode
/bin/systemctl start mcs-exemgr
/bin/systemctl start mcs-storagemanager
/bin/systemctl start mcs-writeengineserver
/bin/systemctl start mcs-primproc
/bin/systemctl start mcs-writeengineserver
/bin/systemctl start mcs-exemgr
/bin/systemctl start mcs-dmlproc
/bin/systemctl start mcs-ddlproc

View File

@ -4,11 +4,11 @@
/bin/systemctl stop mcs-dmlproc
/bin/systemctl stop mcs-ddlproc
/bin/systemctl stop mcs-primproc
/bin/systemctl stop mcs-writeengineserver
/bin/systemctl stop mcs-storagemanager
/bin/systemctl stop mcs-exemgr
/bin/systemctl stop mcs-writeengineserver
/bin/systemctl stop mcs-primproc
/bin/systemctl stop mcs-controllernode
/bin/systemctl stop mcs-workernode
/bin/systemctl stop mcs-storagemanager
exit 0

View File

@ -2,7 +2,7 @@
Description=mariadb-columnstore
[Service]
Type=simple
Type=oneshot
# Execute a dummy program
ExecStart=@ENGINE_BINDIR@/mariadb-columnstore-start.sh