1
0
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:
Patrick LeBlanc
2019-07-17 13:07:08 -05:00
parent 4ec3cdc8b9
commit 43f7a71bad

View File

@ -2203,7 +2203,9 @@ int ProcessMonitor::stopProcess(pid_t processID, std::string processName, std::s
status = API_SUCCESS;
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);
}