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-4314 shared storage manager prevent data corruption on init
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
# prevent nodes using shared storage manager from stepping on each other when initializing
|
||||
# flock will open up an exclusive file lock to run atomic operations
|
||||
exec {fd_lock}>/var/lib/columnstore/storagemanager/storagemanager-lock
|
||||
flock -x "$fd_lock"
|
||||
flock -n "$fd_lock" || exit 0
|
||||
|
||||
/bin/systemctl start mcs-workernode
|
||||
/bin/systemctl start mcs-controllernode
|
||||
|
Reference in New Issue
Block a user