summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2014-02-28 09:35:54 -0500
committerDan Pasette <dan@mongodb.com>2014-03-09 19:28:26 -0400
commit14e868877c82d3b01544187516245631faaf458e (patch)
tree1fbaeedad7c54cf366fb125ce68d9b6792be10a9
parent435f6118c5c3f2515970c65aab53f59bb54f2982 (diff)
downloadmongo-14e868877c82d3b01544187516245631faaf458e.tar.gz
SERVER-12908 don't aggressively retry when config inconsistency detected in balancer
-rw-r--r--src/mongo/s/balance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/balance.cpp b/src/mongo/s/balance.cpp
index 2cf9d06d131..7e12e1c47b8 100644
--- a/src/mongo/s/balance.cpp
+++ b/src/mongo/s/balance.cpp
@@ -467,6 +467,7 @@ namespace mongo {
conn.done();
warning() << "Skipping balancing round because data inconsistency"
<< " was detected amongst the config servers." << endl;
+ sleepsecs( sleepTime );
continue;
}