You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-1523 - addiiotnal fixes
This commit is contained in:
@ -1388,7 +1388,7 @@ static void chldHandleThread(MonitorConfig config)
|
||||
catch(...)
|
||||
{}
|
||||
|
||||
// check if process failover is needed due to process outage
|
||||
// check if Mdoule failover is needed due to process outage
|
||||
aMonitor.checkModuleFailover((*listPtr).ProcessName);
|
||||
|
||||
//check the db health
|
||||
@ -1463,15 +1463,19 @@ static void chldHandleThread(MonitorConfig config)
|
||||
restartStatus = " restart failed with hard failure, don't retry!!";
|
||||
(*listPtr).processID = 0;
|
||||
|
||||
// check if process failover is needed due to process outage
|
||||
// check if Module failover is needed due to process outage
|
||||
aMonitor.checkModuleFailover((*listPtr).ProcessName);
|
||||
break;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( (*listPtr).processID != oam::API_MINOR_FAILURE )
|
||||
{
|
||||
//restarted successful
|
||||
//Inform Process Manager that Process restart
|
||||
aMonitor.processRestarted( (*listPtr).ProcessName, false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
// restart failed with minor error, sleep and try
|
||||
sleep(5);
|
||||
|
Reference in New Issue
Block a user