You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-1 need to break when not in read only
This commit is contained in:
@ -804,6 +804,7 @@ int processCommand(string* arguments)
|
|||||||
cout << "The system must be in read only mode for redistribeData to work" << endl;
|
cout << "The system must be in read only mode for redistribeData to work" << endl;
|
||||||
cout << "You must run suspendDatabaseWrites before running redistributeData" << endl;
|
cout << "You must run suspendDatabaseWrites before running redistributeData" << endl;
|
||||||
cout << "Be sure to run resumeDatabaseWrites when redistributeData status shows complete" << endl;
|
cout << "Be sure to run resumeDatabaseWrites when redistributeData status shows complete" << endl;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
#if 0
|
#if 0
|
||||||
// This can be used when redistributeData doesn't return until complete.
|
// This can be used when redistributeData doesn't return until complete.
|
||||||
|
@ -5809,7 +5809,7 @@ int ProcessMonitor::checkDataMount()
|
|||||||
string fileName = dbroot + "/OAMdbrootCheck";
|
string fileName = dbroot + "/OAMdbrootCheck";
|
||||||
ofstream fout(fileName.c_str());
|
ofstream fout(fileName.c_str());
|
||||||
if (!fout) {
|
if (!fout) {
|
||||||
log.writeLog(__LINE__, "ERROR: Failed test write to DBRoot: " + dbroot, LOG_TYPE_ERROR);
|
log.writeLog(__LINE__, "ERROR: Failed test write to DBRoot: " + dbroot + " " + strerror(errno), LOG_TYPE_ERROR);
|
||||||
|
|
||||||
return API_FAILURE;
|
return API_FAILURE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user