1
0
Fork 0

Fix simlpe queries in cluster: Only the coordinator needs to look up shards, the DBservers don't do this.

This commit is contained in:
Wilfried Goesgens 2016-01-06 15:54:56 +01:00
parent a3b026d9d1
commit b64260b553
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ var checkShards = function(req, collection) {
}
var cluster = require("@arangodb/cluster");
if (! cluster.isCluster()) {
if (! cluster.isCoordinator()) {
// no cluster
return true;
}