summaryrefslogtreecommitdiff
path: root/src/mongo/s/balance.h
diff options
context:
space:
mode:
authorgregs <greg@10gen.com>2012-01-16 19:05:22 -0500
committergregs <greg@10gen.com>2012-01-16 19:09:33 -0500
commit222af62133b202cf97ff555a93695c6693c9e3e2 (patch)
treeb5e96296fbbb9848b892d263aebd91e94ad4abaa /src/mongo/s/balance.h
parentc270ddb2bf3c81c065cc3c9df6d9ce9479837064 (diff)
downloadmongo-222af62133b202cf97ff555a93695c6693c9e3e2.tar.gz
SERVER-4641 make sure stopBalancer() handles case where mongos is actively loading config.settings before stopped : true
Also needed to make other shell utilities that stop the balancer safer
Diffstat (limited to 'src/mongo/s/balance.h')
-rw-r--r--src/mongo/s/balance.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/balance.h b/src/mongo/s/balance.h
index 687599610db..562ba80970e 100644
--- a/src/mongo/s/balance.h
+++ b/src/mongo/s/balance.h
@@ -92,7 +92,7 @@ namespace mongo {
*
* @param conn is the connection with the config server(s)
*/
- void _ping( DBClientBase& conn );
+ void _ping( DBClientBase& conn, bool waiting = false );
/**
* @return true if all the servers listed in configdb as being shards are reachable and are distinct processes