1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

Merge pull request #1220 from drrtuy/exemgr-pp-connections

MCOL-4015 ExeMgr now re-establishes its connections with PrimProcs.
This commit is contained in:
Patrick LeBlanc
2020-05-27 09:19:01 -05:00
committed by GitHub
3 changed files with 78 additions and 59 deletions

View File

@@ -642,7 +642,11 @@ new_plan:
std::cout << "### For session id " << csep.sessionID() << ", got a CSEP" << std::endl;
setRMParms(csep.rmParms());
// Re-establish lost PP connections.
if (UNLIKELY(fEc->getNumConnections() != fEc->connectedPmServers()))
{
fEc->Setup();
}
// @bug 1021. try to get schema cache for a come in query.
// skip system catalog queries.
if (!csep.isInternal())