You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-3914 Changed start/stop sequence to align it with the underlying dynamic systemd start order.
This commit is contained in:
@ -225,7 +225,8 @@ fi
|
|||||||
systemctl cat mariadb-columnstore.service > /dev/null 2>&1
|
systemctl cat mariadb-columnstore.service > /dev/null 2>&1
|
||||||
if [ $? -eq 0 ] && [ $(running_systemd) -eq 0 ]; then
|
if [ $? -eq 0 ] && [ $(running_systemd) -eq 0 ]; then
|
||||||
systemctl start mariadb-columnstore
|
systemctl start mariadb-columnstore
|
||||||
dbbuilder 7 > $tmpDir/dbbuilder.log
|
sleep 1
|
||||||
|
dbbuilder 7 > $tmpDir/dbbuilder.log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $stop_mysqld -eq 1 ];then
|
if [ $stop_mysqld -eq 1 ];then
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
# This script allows to gracefully start MCS
|
# This script allows to gracefully start MCS
|
||||||
|
|
||||||
|
/bin/systemctl start mcs-storagemanager
|
||||||
/bin/systemctl start mcs-loadbrm
|
/bin/systemctl start mcs-loadbrm
|
||||||
/bin/systemctl start mcs-workernode
|
/bin/systemctl start mcs-workernode
|
||||||
/bin/systemctl start mcs-controllernode
|
/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-primproc
|
||||||
|
/bin/systemctl start mcs-writeengineserver
|
||||||
|
/bin/systemctl start mcs-exemgr
|
||||||
/bin/systemctl start mcs-dmlproc
|
/bin/systemctl start mcs-dmlproc
|
||||||
/bin/systemctl start mcs-ddlproc
|
/bin/systemctl start mcs-ddlproc
|
||||||
|
|
||||||
|
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
/bin/systemctl stop mcs-dmlproc
|
/bin/systemctl stop mcs-dmlproc
|
||||||
/bin/systemctl stop mcs-ddlproc
|
/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-exemgr
|
||||||
|
/bin/systemctl stop mcs-writeengineserver
|
||||||
|
/bin/systemctl stop mcs-primproc
|
||||||
/bin/systemctl stop mcs-controllernode
|
/bin/systemctl stop mcs-controllernode
|
||||||
/bin/systemctl stop mcs-workernode
|
/bin/systemctl stop mcs-workernode
|
||||||
|
/bin/systemctl stop mcs-storagemanager
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Description=mariadb-columnstore
|
Description=mariadb-columnstore
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=oneshot
|
||||||
|
|
||||||
# Execute a dummy program
|
# Execute a dummy program
|
||||||
ExecStart=@ENGINE_BINDIR@/mariadb-columnstore-start.sh
|
ExecStart=@ENGINE_BINDIR@/mariadb-columnstore-start.sh
|
||||||
|
Reference in New Issue
Block a user