1
0
Fork 0

Correct a caching bug in ClusterInfo.

This commit is contained in:
Max Neunhoeffer 2014-02-25 11:34:59 +01:00
parent 81447c9426
commit 974cc8b441
1 changed files with 2 additions and 2 deletions

View File

@ -1992,8 +1992,8 @@ std::string ClusterInfo::getTargetServerEndpoint (ServerID const& serverID) {
ServerID ClusterInfo::getResponsibleServer (ShardID const& shardID) {
int tries = 0;
if (! _collectionsValid) {
loadPlannedCollections(true);
if (! _collectionsCurrentValid) {
loadCurrentCollections(true);
tries++;
}