1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-20 01:42:27 +03:00
Files
mariadb-columnstore-engine/oam/install_scripts/mcs-workernode.service.in
Roman Nozdrin 1c463fa329 MCOL-4019 This patch avoids fork() in wokernode/controllernode that hangs in ThreadPool::~
waiting infinitely for fPruneThread->join() to return.
2020-06-09 15:47:17 +00:00

13 lines
323 B
SYSTEMD

[Unit]
Description=mcs-workernode
After=mcs-loadbrm.service
[Service]
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
ExecStopPost=/usr/bin/env bash -c "clearShm > /dev/null 2>&1"
TimeoutStopSec=5