|
The current failover code when a pm module goes down will try to move a dbroot to another node in a variety of cases. this code returns on internal storage. however the current checks do not verify proper behavior for StorageManager storage type.
from bool Oam::autoMovePmDbroot(std::string residePM) :
writeLog("autoMovePmDbroot: " + residePM, LOG_TYPE_DEBUG );
|
|
string DBRootStorageType;
|
|
try
|
{
|
getSystemConfig("DBRootStorageType", DBRootStorageType);
|
}
|
catch (...) {}
|
|
string DataRedundancyConfig = "n";
|
|
try
|
{
|
getSystemConfig( "DataRedundancyConfig", DataRedundancyConfig);
|
}
|
catch (...)
|
{
|
DataRedundancyConfig = "n";
|
}
|
|
if (DBRootStorageType == "internal" && DataRedundancyConfig == "n")
|
return 1;
|
|
|