diff --git a/arangod/Cluster/ClusterMethods.cpp b/arangod/Cluster/ClusterMethods.cpp index 850dbe07a7..22f2dcf16a 100644 --- a/arangod/Cluster/ClusterMethods.cpp +++ b/arangod/Cluster/ClusterMethods.cpp @@ -2251,7 +2251,7 @@ std::unordered_map> distributeShards( } // determine shard id - std::string shardId = "s" + StringUtils::itoa(id + 1 + i); + std::string shardId = "s" + StringUtils::itoa(id + i); shards.emplace(shardId, serverIds); }