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
MCOL-259 add some retry logic to the OAMCache system. Add that degraded is still valid for a PM.
This commit is contained in:
@ -1623,12 +1623,13 @@ void TupleBPS::makeJobs(vector<Job> *jobs)
|
||||
if (dbRootConnectionMap->find(scannedExtents[i].dbRoot) == dbRootConnectionMap->end())
|
||||
{
|
||||
// MCOL-259 force a reload of the xml. This usualy fixes it.
|
||||
std::cout << "forcing reload of columnstore.xml for dbRootConnectionMap" << std::endl;
|
||||
Logger log;
|
||||
log.logMessage(logging::LOG_TYPE_WARNING, "forcing reload of columnstore.xml for dbRootConnectionMap");
|
||||
oamCache->forceReload();
|
||||
dbRootConnectionMap = oamCache->getDBRootToConnectionMap();
|
||||
if (dbRootConnectionMap->find(scannedExtents[i].dbRoot) == dbRootConnectionMap->end())
|
||||
{
|
||||
std::cout << "still not in dbRootConnectionMap" << std::endl;
|
||||
log.logMessage(logging::LOG_TYPE_WARNING, "dbroot still not in dbRootConnectionMap");
|
||||
throw IDBExcept(ERR_DATA_OFFLINE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user