You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
MCOL-989: Fix command string missing space and error messages to not reference postConfigure since this can happen under addmodule mcsadmin command.
This commit is contained in:
@@ -8421,12 +8421,12 @@ namespace oam
|
|||||||
if (WEXITSTATUS(status) != 0 )
|
if (WEXITSTATUS(status) != 0 )
|
||||||
{
|
{
|
||||||
cout << "ERROR: peer probe command failed." << endl;
|
cout << "ERROR: peer probe command failed." << endl;
|
||||||
command = InstallDir + "/bin/remote_command.sh " + DataRedundancyConfigs[pm].pmIpAddr + " " + password + "'stat /var/run/glusterd.pid > /dev/null 2>&1'";
|
command = InstallDir + "/bin/remote_command.sh " + DataRedundancyConfigs[pm].pmIpAddr + " " + password + " 'stat /var/run/glusterd.pid > /dev/null 2>&1'";
|
||||||
status = system(command.c_str());
|
status = system(command.c_str());
|
||||||
if (WEXITSTATUS(status) != 0 )
|
if (WEXITSTATUS(status) != 0 )
|
||||||
{
|
{
|
||||||
cout << "ERROR: No glusterd process detected at " << DataRedundancyConfigs[pm].pmIpAddr << "." << endl;
|
cout << "ERROR: No glusterd process detected at " << DataRedundancyConfigs[pm].pmIpAddr << "." << endl;
|
||||||
cout << " Start and enable glusterd and run postConfigure again." << endl;
|
cout << " Start and enable glusterd at " << DataRedundancyConfigs[pm].pmIpAddr << "." << endl;
|
||||||
}
|
}
|
||||||
exceptionControl("GLUSTER_ADD", API_FAILURE);
|
exceptionControl("GLUSTER_ADD", API_FAILURE);
|
||||||
}
|
}
|
||||||
@@ -8565,12 +8565,12 @@ namespace oam
|
|||||||
if (WEXITSTATUS(status) != 0 )
|
if (WEXITSTATUS(status) != 0 )
|
||||||
{
|
{
|
||||||
cout << "ERROR: peer probe command failed." << endl;
|
cout << "ERROR: peer probe command failed." << endl;
|
||||||
command = InstallDir + "/bin/remote_command.sh " + ipAddress + " " + password + "'stat /var/run/glusterd.pid > /dev/null 2>&1'";
|
command = InstallDir + "/bin/remote_command.sh " + ipAddress + " " + password + " 'stat /var/run/glusterd.pid > /dev/null 2>&1'";
|
||||||
status = system(command.c_str());
|
status = system(command.c_str());
|
||||||
if (WEXITSTATUS(status) != 0 )
|
if (WEXITSTATUS(status) != 0 )
|
||||||
{
|
{
|
||||||
cout << "ERROR: No glusterd process detected at " << ipAddress << "." << endl;
|
cout << "ERROR: No glusterd process detected at " << ipAddress << "." << endl;
|
||||||
cout << " Start and enable glusterd and run postConfigure again." << endl;
|
cout << " Start and enable glusterd at " << ipAddress << "." << endl;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user