1
0
Fork 0

fixed bug in shard numbering

This commit is contained in:
Kaveh Vahedipour 2017-05-03 10:47:04 +02:00
parent a347c57927
commit 41e8e0220d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}