You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-4019 This patch avoids fork() in wokernode/controllernode that hangs in ThreadPool::~
waiting infinitely for fPruneThread->join() to return.
This commit is contained in:
@ -4,8 +4,7 @@ PartOf=mcs-workernode.service
|
||||
After=mcs-workernode.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/usr/bin/env bash -c "systemctl start mcs-workernode"
|
||||
ExecStart=@ENGINE_BINDIR@/controllernode
|
||||
Type=simple
|
||||
ExecStart=@ENGINE_BINDIR@/controllernode fg
|
||||
Restart=on-failure
|
||||
ExecStop=@ENGINE_BINDIR@/mcs-stop-controllernode.sh $MAINPID
|
||||
|
@ -3,8 +3,8 @@ Description=mcs-workernode
|
||||
After=mcs-loadbrm.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=@ENGINE_BINDIR@/workernode DBRM_Worker1
|
||||
Type=simple
|
||||
ExecStart=@ENGINE_BINDIR@/workernode DBRM_Worker1 fg
|
||||
Restart=on-failure
|
||||
ExecStop=/usr/bin/env bash -c "kill -15 $MAINPID"
|
||||
ExecStopPost=-@ENGINE_BINDIR@/save_brm
|
||||
|
Reference in New Issue
Block a user