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
Checkpointing some experimental changes to get storagemanager running.
This commit is contained in:
@ -1014,7 +1014,13 @@ int main(int argc, char** argv)
|
||||
(*listPtr).DepModuleName,
|
||||
(*listPtr).LogFile,
|
||||
initType);
|
||||
|
||||
if (listPtr->ProcessName == "StorageManager")
|
||||
{
|
||||
log.writeLog(__LINE__, "StorageManager WTF? 1", LOG_TYPE_DEBUG);
|
||||
oam.setProcessStatus("StorageManager", boost::get<0>(oam.getModuleInfo()),
|
||||
oam::ACTIVE, listPtr->processID);
|
||||
}
|
||||
|
||||
string restartStatus;
|
||||
|
||||
if ( (*listPtr).processID == oam::API_MINOR_FAILURE ||
|
||||
@ -1065,7 +1071,13 @@ int main(int argc, char** argv)
|
||||
(*listPtr).DepModuleName,
|
||||
(*listPtr).LogFile,
|
||||
initType);
|
||||
|
||||
if (listPtr->ProcessName == "StorageManager")
|
||||
{
|
||||
log.writeLog(__LINE__, "StorageManager WTF? 2", LOG_TYPE_DEBUG);
|
||||
oam.setProcessStatus("StorageManager", boost::get<0>(oam.getModuleInfo()),
|
||||
oam::ACTIVE, listPtr->processID);
|
||||
}
|
||||
|
||||
string restartStatus;
|
||||
|
||||
if ( (*listPtr).processID == oam::API_MINOR_FAILURE ||
|
||||
@ -1652,7 +1664,13 @@ static void chldHandleThread(MonitorConfig config)
|
||||
(*listPtr).DepModuleName,
|
||||
(*listPtr).LogFile,
|
||||
initStatus);
|
||||
|
||||
if (listPtr->ProcessName == "StorageManager")
|
||||
{
|
||||
log.writeLog(__LINE__, "StorageManager WTF? 3", LOG_TYPE_DEBUG);
|
||||
oam.setProcessStatus("StorageManager", boost::get<0>(oam.getModuleInfo()),
|
||||
oam::ACTIVE, listPtr->processID);
|
||||
}
|
||||
|
||||
if ( (*listPtr).processID == oam::API_FAILURE )
|
||||
{
|
||||
// restart hard failure
|
||||
|
Reference in New Issue
Block a user