mirror of https://gitee.com/bigwinds/arangodb
fixed bug in shard numbering
This commit is contained in:
parent
a347c57927
commit
41e8e0220d
|
@ -2251,7 +2251,7 @@ std::unordered_map<std::string, std::vector<std::string>> 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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue