1
0
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:
David Hill
2018-09-15 14:28:46 -05:00
parent 8be2e5bb4b
commit 3ac9d93597
4 changed files with 14 additions and 13 deletions

View File

@ -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);