1
0
Fork 0

Only create traverserEngines that actually have shards

This commit is contained in:
Michael Hackstein 2016-10-21 11:28:46 +02:00
parent df526c0c0d
commit d3a251ce47
1 changed files with 28 additions and 26 deletions

View File

@ -920,6 +920,7 @@ struct CoordinatorInstanciator : public WalkerWorker<ExecutionNode> {
engineInfo.close(); // base
if (!shardSet.empty()) {
arangodb::CoordTransactionID coordTransactionID = TRI_NewTickServer();
std::unordered_map<std::string, std::string> headers;
@ -952,6 +953,7 @@ struct CoordinatorInstanciator : public WalkerWorker<ExecutionNode> {
}
}
}
}
/// @brief buildEngines, build engines on DBservers and coordinator
ExecutionEngine* buildEngines() {