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
add more checks around the getsystems
This commit is contained in:
@ -2597,7 +2597,7 @@ pid_t ProcessMonitor::startProcess(string processModuleType, string processName,
|
||||
//Update Process Status: Mark Process INIT state
|
||||
updateProcessInfo(processName, FAILED, newProcessID);
|
||||
|
||||
exit(oam::API_FAILURE);
|
||||
return (oam::API_FAILURE);
|
||||
}
|
||||
|
||||
return newProcessID;
|
||||
@ -2812,6 +2812,11 @@ void sendProcessThread(sendProcessInfo_t* t)
|
||||
try {
|
||||
oam.setProcessStatus(processName, config.moduleName(), state, PID);
|
||||
}
|
||||
catch (exception& ex)
|
||||
{
|
||||
string error = ex.what();
|
||||
log.writeLog(__LINE__, "EXCEPTION ERROR on setProcessStatus: " + error, LOG_TYPE_ERROR);
|
||||
}
|
||||
catch(...)
|
||||
{
|
||||
log.writeLog(__LINE__, "EXCEPTION ERROR on setProcessStatus: Caught unknown exception!", LOG_TYPE_ERROR );
|
||||
|
Reference in New Issue
Block a user