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-4770 Installation.PMwithUM is enabled by default so a plugin communicates with a local EM only
Fix in DEC::Setup to allow to re-establish all PM connections in EM
This commit is contained in:
@ -329,8 +329,11 @@ void DistributedEngineComm::Setup()
|
||||
|
||||
for (j = 0; j < pmCount; j++)
|
||||
{
|
||||
if (newClients[i]->isSameAddr(*fPmConnections[j]))
|
||||
if (!fPmConnections.empty() && j < fPmConnections.size() &&
|
||||
newClients[i]->isSameAddr(*fPmConnections[j]))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (j == pmCount)
|
||||
|
@ -171,6 +171,8 @@ ResourceManager::ResourceManager(bool runningInExeMgr) :
|
||||
totalUmMemLimit = pmJoinMemLimit;
|
||||
else
|
||||
{
|
||||
// Installation.PMwithUM = y by default so RM prefers HashJoin.TotalPmUmMemory
|
||||
// if it exists.
|
||||
string whichLimit = "TotalUmMemory";
|
||||
string pmWithUM = fConfig->getConfig("Installation", "PMwithUM");
|
||||
|
||||
|
Reference in New Issue
Block a user