You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Disable force-killing of StorageManager. Data corruption is possible
ATM.
This commit is contained in:
@ -2203,7 +2203,9 @@ int ProcessMonitor::stopProcess(pid_t processID, std::string processName, std::s
|
|||||||
status = API_SUCCESS;
|
status = API_SUCCESS;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (actionIndicator == GRACEFUL)
|
// XXXPAT: StorageManager shouldn't be killed with KILL, or there's a chance of data corruption.
|
||||||
|
// once we minimize that chance, we could allow KILL to be sent.
|
||||||
|
if (actionIndicator == GRACEFUL || processName == "StorageManager")
|
||||||
{
|
{
|
||||||
status = kill(processID, SIGTERM);
|
status = kill(processID, SIGTERM);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user