You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-24 14:20:59 +03:00
merge
This commit is contained in:
@@ -137,6 +137,9 @@ describeInstance() {
|
||||
ec2-describe-instances -O $AmazonAccessKey -W $AmazonSecretKey --region $Region > $describeInstanceFile 2>&1
|
||||
}
|
||||
|
||||
#call at start up
|
||||
describeInstance
|
||||
|
||||
getInstance() {
|
||||
if [ "$instance" != "" ]; then
|
||||
echo $instance
|
||||
|
||||
@@ -1700,6 +1700,7 @@ void pingDeviceThread()
|
||||
processManager.recycleProcess(moduleName);
|
||||
}
|
||||
|
||||
// return values = 'ip address' for running or rebooting, stopped or terminated
|
||||
string currentIPAddr = oam.getEC2InstanceIpAddress(hostName);
|
||||
if (currentIPAddr == "stopped")
|
||||
{ // start instance
|
||||
@@ -1754,7 +1755,7 @@ void pingDeviceThread()
|
||||
}
|
||||
}
|
||||
|
||||
if ( currentIPAddr == "terminated" || currentIPAddr == "running")
|
||||
if ( currentIPAddr == "terminated")
|
||||
{
|
||||
//check if down module was Standby OAM, if so find another one
|
||||
if ( moduleName == config.OAMStandbyName() ) {
|
||||
|
||||
Reference in New Issue
Block a user