summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rs_sync.cpp
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2015-08-19 14:54:18 -0400
committerEric Milkie <milkie@10gen.com>2015-08-21 12:30:24 -0400
commitd017b0385c7c62e23b2003981887af0a5eb6cdef (patch)
tree58bbfda75f39dec84722337a3cf115df79fac1e0 /src/mongo/db/repl/rs_sync.cpp
parentb938b3ad4071e7b576277d361e4731a0cdf21957 (diff)
downloadmongo-d017b0385c7c62e23b2003981887af0a5eb6cdef.tar.gz
SERVER-18384 Only the primary should act on downstream liveness information.
Diffstat (limited to 'src/mongo/db/repl/rs_sync.cpp')
-rw-r--r--src/mongo/db/repl/rs_sync.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/rs_sync.cpp b/src/mongo/db/repl/rs_sync.cpp
index b1332337370..744ea89b8d8 100644
--- a/src/mongo/db/repl/rs_sync.cpp
+++ b/src/mongo/db/repl/rs_sync.cpp
@@ -90,8 +90,8 @@ void runSyncThread() {
// trying to sync with other replicas.
// TODO(spencer): Use a condition variable to await loading a config
if (replCoord->getMemberState().startup()) {
- warning() << "did not receive a valid config yet, sleeping 5 seconds ";
- sleepsecs(5);
+ warning() << "did not receive a valid config yet";
+ sleepsecs(1);
continue;
}