You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
fix um disk prompt check
This commit is contained in:
@ -756,6 +756,10 @@ int main(int argc, char *argv[])
|
|||||||
mysqlRep = true;
|
mysqlRep = true;
|
||||||
|
|
||||||
string answer = "n";
|
string answer = "n";
|
||||||
|
|
||||||
|
cout << "NOTE: Local Query Feature allows the ability to query data from a single Performance" << endl;
|
||||||
|
cout << " Module" << endl << endl;
|
||||||
|
|
||||||
while(true) {
|
while(true) {
|
||||||
if ( pmwithum )
|
if ( pmwithum )
|
||||||
prompt = "Local Query feature is Enabled, Do you want to disable? [y,n] (n) > ";
|
prompt = "Local Query feature is Enabled, Do you want to disable? [y,n] (n) > ";
|
||||||
@ -5073,7 +5077,8 @@ void snmpAppCheck()
|
|||||||
|
|
||||||
cout << endl << "===== Setup the Network Management System (NMS) Server Configuration =====" << endl << endl;
|
cout << endl << "===== Setup the Network Management System (NMS) Server Configuration =====" << endl << endl;
|
||||||
|
|
||||||
cout << "This would be used to receive SNMP Traps from InfiniDB, 0.0.0.0 defaults to not sending off the system" << endl;
|
cout << "This would be used to receive SNMP Traps from InfiniDB." << endl;
|
||||||
|
cout < "0.0.0.0 defaults to not sending off the system" << endl;
|
||||||
prompt = "Enter IP Address(es) of where you want the SNMP Traps went (" + currentNMSIPAddress + ") > ";
|
prompt = "Enter IP Address(es) of where you want the SNMP Traps went (" + currentNMSIPAddress + ") > ";
|
||||||
pcommand = callReadline(prompt.c_str());
|
pcommand = callReadline(prompt.c_str());
|
||||||
if (pcommand)
|
if (pcommand)
|
||||||
|
@ -5575,6 +5575,9 @@ bool ProcessMonitor::amazonVolumeCheck(int dbrootID)
|
|||||||
system(cmd.c_str());
|
system(cmd.c_str());
|
||||||
log.writeLog(__LINE__, "mount cmd: " + cmd, LOG_TYPE_DEBUG);
|
log.writeLog(__LINE__, "mount cmd: " + cmd, LOG_TYPE_DEBUG);
|
||||||
|
|
||||||
|
cmd = "chown mysql:mysql -R " + startup::StartUp::installDir() + "/mysql/db";
|
||||||
|
system(cmd.c_str());
|
||||||
|
|
||||||
log.writeLog(__LINE__, "amazonVolumeCheck function successfully completed, volume attached: " + volumeName, LOG_TYPE_DEBUG);
|
log.writeLog(__LINE__, "amazonVolumeCheck function successfully completed, volume attached: " + volumeName, LOG_TYPE_DEBUG);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -5601,6 +5604,10 @@ bool ProcessMonitor::amazonVolumeCheck(int dbrootID)
|
|||||||
string cmd = "mount " + deviceName + " " + startup::StartUp::installDir() + "/mysql/db -t ext2 -o defaults > /dev/null";
|
string cmd = "mount " + deviceName + " " + startup::StartUp::installDir() + "/mysql/db -t ext2 -o defaults > /dev/null";
|
||||||
system(cmd.c_str());
|
system(cmd.c_str());
|
||||||
log.writeLog(__LINE__, "mount cmd: " + cmd, LOG_TYPE_DEBUG);
|
log.writeLog(__LINE__, "mount cmd: " + cmd, LOG_TYPE_DEBUG);
|
||||||
|
|
||||||
|
cmd = "chown mysql:mysql -R " + startup::StartUp::installDir() + "/mysql/db";
|
||||||
|
system(cmd.c_str());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user