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-988: Add DataRedundancyConfig for DBRootPM assignments to upgrades.
This commit is contained in:
@ -1472,6 +1472,19 @@ int main(int argc, char *argv[])
|
|||||||
catch(...)
|
catch(...)
|
||||||
{}
|
{}
|
||||||
}
|
}
|
||||||
|
if ( !DataRedundancyConfig.empty() ) {
|
||||||
|
try {
|
||||||
|
string dbrootPMsID = "DBRoot" + oam.itoa(id) + "PMs";
|
||||||
|
string dbrootPMs = sysConfigOld->getConfig("DataRedundancyConfig", dbrootPMsID);
|
||||||
|
try {
|
||||||
|
sysConfigNew->setConfig("DataRedundancyConfig", dbrootPMsID, dbrootPMs);
|
||||||
|
}
|
||||||
|
catch(...)
|
||||||
|
{}
|
||||||
|
}
|
||||||
|
catch(...)
|
||||||
|
{}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (exception& e)
|
catch (exception& e)
|
||||||
|
Reference in New Issue
Block a user