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

MCOL-4015 ExeMgr now re-establishes its connections with PrimProcs.

This commit is contained in:
Roman Nozdrin
2020-05-22 12:43:19 +00:00
parent aaaa350ad9
commit 13414513e5
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())