1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

removeModule fixes, check for glusterd in postConfigure, fix glusterUnassign failure logging.

This commit is contained in:
Ben Thompson
2017-09-07 14:59:47 -05:00
parent 90353b9b90
commit dbbfb84ea4
3 changed files with 110 additions and 28 deletions

View File

@ -5871,7 +5871,7 @@ int ProcessMonitor::checkDataMount()
}
}
if ( dbrootList.size() == 0 ) {
if ( dbrootList.size() == 0 && DataRedundancyConfig != "y") {
log.writeLog(__LINE__, "No dbroots are configured in Columnstore.xml file", LOG_TYPE_WARNING);
return API_INVALID_PARAMETER;
}
@ -6184,7 +6184,7 @@ int ProcessMonitor::glusterUnassign(std::string dbrootID)
int size = in.tellg();
if ( size != 0 )
{
if (!oam.checkLogStatus("/tmp/glusterAssign.txt", "not mounted")) {
if (!oam.checkLogStatus("/tmp/glusterUnassign.txt", "not mounted")) {
log.writeLog(__LINE__, "glusterUnassign failed.", LOG_TYPE_ERROR);
system("mv -f /tmp/glusterUnassign.txt /tmp/glusterUnassign_failed.txt");
return oam::API_FAILURE;