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:
@ -367,12 +367,13 @@ void pDictionaryScan::sendPrimitiveMessages()
|
||||
if (dbRootConnectionMap->find(dbroot) == dbRootConnectionMap->end())
|
||||
{
|
||||
// MCOL-259 force a reload of the xml. This usualy fixes it.
|
||||
std::cout << "dictionary forcing reload of columnstore.xml for dbRootConnectionMap" << std::endl;
|
||||
Logger log;
|
||||
log.logMessage(logging::LOG_TYPE_DEBUG, "dictionary forcing reload of columnstore.xml for dbRootConnectionMap");
|
||||
oamCache->forceReload();
|
||||
dbRootConnectionMap = oamCache->getDBRootToConnectionMap();
|
||||
if (dbRootConnectionMap->find(dbroot) == dbRootConnectionMap->end())
|
||||
{
|
||||
std::cout << "dictionary still not in dbRootConnectionMap" << std::endl;
|
||||
log.logMessage(logging::LOG_TYPE_DEBUG, "dictionary still not in dbRootConnectionMap");
|
||||
throw IDBExcept(ERR_DATA_OFFLINE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user