mirror of https://gitee.com/bigwinds/arangodb
Only create traverserEngines that actually have shards
This commit is contained in:
parent
df526c0c0d
commit
d3a251ce47
|
@ -920,6 +920,7 @@ struct CoordinatorInstanciator : public WalkerWorker<ExecutionNode> {
|
||||||
|
|
||||||
engineInfo.close(); // base
|
engineInfo.close(); // base
|
||||||
|
|
||||||
|
if (!shardSet.empty()) {
|
||||||
arangodb::CoordTransactionID coordTransactionID = TRI_NewTickServer();
|
arangodb::CoordTransactionID coordTransactionID = TRI_NewTickServer();
|
||||||
std::unordered_map<std::string, std::string> headers;
|
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
|
/// @brief buildEngines, build engines on DBservers and coordinator
|
||||||
ExecutionEngine* buildEngines() {
|
ExecutionEngine* buildEngines() {
|
||||||
|
|
Loading…
Reference in New Issue