1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

fix amazon adddbroot issue

This commit is contained in:
david hill
2016-08-18 14:12:35 -05:00
parent 900a1ba6e0
commit 91d2304ad0

View File

@ -6269,7 +6269,7 @@ namespace oam
string cmd = startup::StartUp::installDir() + "/bin/columnstore status > /tmp/status.log";
system(cmd.c_str());
if (!checkLogStatus("/tmp/status.log", "MariaDB Columnstore is running") )
exceptionControl("setConfig", API_FAILURE);
return;
//get updated Columnstore.xml distributed
distributeConfigFile("system");
@ -6311,7 +6311,7 @@ namespace oam
string cmd = startup::StartUp::installDir() + "/bin/columnstore status > /tmp/status.log";
system(cmd.c_str());
if (!checkLogStatus("/tmp/status.log", "MariaDB Columnstore is running") )
exceptionControl("distributeFstabUpdates", API_FAILURE);
return;
ACK_FLAG ackflag = oam::ACK_YES;
// build and send msg
@ -8552,7 +8552,7 @@ namespace oam
writeLog("updateFstab called: " + device + ":" + dbrootID, LOG_TYPE_DEBUG );
//check if entry already exist
string cmd = "grep /data" + dbrootID + " /etc/fstab /dev/null 2>&1";
string cmd = "grep /data" + dbrootID + " /etc/fstab > /dev/null 2>&1";
int status = system(cmd.c_str());
if (WEXITSTATUS(status) == 0 )
return "";