1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

more fixes to adddbroot from postConfigure

This commit is contained in:
david hill
2016-04-19 09:54:30 -05:00
parent 484d36cb31
commit 3bf953b3bf
3 changed files with 22 additions and 9 deletions

View File

@ -6274,12 +6274,17 @@ namespace oam
void Oam::distributeFstabUpdates(std::string entry, std::string toPM)
{
ACK_FLAG ackflag = oam::ACK_YES;
// build and send msg
int returnStatus = sendMsgToProcMgr(FSTABUPDATE, toPM, FORCEFUL, ackflag, entry);
string cmd = startup::StartUp::installDir() + "/bin/infinidb status > /tmp/status.log";
system(cmd.c_str());
if (!checkLogStatus("/tmp/status.log", "InfiniDB is running") )
return;
if (returnStatus != API_SUCCESS)
exceptionControl("distributeFstabUpdates", returnStatus);
ACK_FLAG ackflag = oam::ACK_YES;
// build and send msg
int returnStatus = sendMsgToProcMgr(FSTABUPDATE, toPM, FORCEFUL, ackflag, entry);
if (returnStatus != API_SUCCESS)
exceptionControl("distributeFstabUpdates", returnStatus);
}
/***************************************************************************