Permalink
Browse files

Don't wait for an incoming query to load the shards info

  • Loading branch information...
1 parent 88c7f16 commit 21bb8b439c02c9664195b440afef9f70fdcba0f5 Alberto Lerner committed Jun 8, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 s/balance.cpp
View
@@ -289,6 +289,8 @@ namespace mongo {
log(1) << "balancer myid: " << _myid << endl;
_started = time(0);
+
+ Shard::reloadShardInfo();
}
_ping();

0 comments on commit 21bb8b4

Please sign in to comment.