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
feat(MCOL-6082): Multiple readers of dbroots using OamCache logic
This patch introduces centralized logic of selecting what dbroot is accessible in PrimProc on what node. The logic is in OamCache for time being and can be moved later.
This commit is contained in:
@ -165,8 +165,6 @@ class DMLPackageProcessor
|
||||
std::cout << "Cannot make connection to WES" << std::endl;
|
||||
}
|
||||
|
||||
oam::OamCache* oamCache = oam::OamCache::makeOamCache();
|
||||
fDbRootPMMap = oamCache->getDBRootToPMMap();
|
||||
fDbrm = aDbrm;
|
||||
fSessionID = sid;
|
||||
fExeMgr = new execplan::ClientRotator(fSessionID, "ExeMgr");
|
||||
@ -489,6 +487,8 @@ class DMLPackageProcessor
|
||||
uint32_t tableOid);
|
||||
int endTransaction(uint64_t uniqueId, BRM::TxnID txnID, bool success);
|
||||
|
||||
oam::OamCache* oamcache() { return oam::OamCache::makeOamCache(); }
|
||||
|
||||
/** @brief the Session Manager interface
|
||||
*/
|
||||
execplan::SessionManager fSessionManager;
|
||||
@ -500,8 +500,6 @@ class DMLPackageProcessor
|
||||
uint32_t fPMCount;
|
||||
WriteEngine::WEClients* fWEClient;
|
||||
BRM::DBRM* fDbrm;
|
||||
boost::shared_ptr<std::map<int, int> > fDbRootPMMap;
|
||||
oam::Oam fOam;
|
||||
bool fRollbackPending; // When set, any derived object should stop what it's doing and cleanup in
|
||||
// preparation for a Rollback
|
||||
execplan::ClientRotator* fExeMgr;
|
||||
|
Reference in New Issue
Block a user