summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2016-09-23 15:12:30 -0400
committerBenety Goh <benety@mongodb.com>2016-09-23 17:37:50 -0400
commitf128617d2447f137e89e17f596acebf5c1bc744b (patch)
tree9bfb4b2be1405920a9df548bb9adb223734ffa72
parent5563428f99af20c29cb334f97e84f0dcc1cb102a (diff)
downloadmongo-f128617d2447f137e89e17f596acebf5c1bc744b.tar.gz
SERVER-25702 changed oplogFetcherMaxFetcherRestarts default from 10 to 3
-rw-r--r--src/mongo/db/repl/replication_coordinator_external_state_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp
index 857e1cb3f6d..6e8a64d8033 100644
--- a/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp
+++ b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp
@@ -126,7 +126,7 @@ MONGO_EXPORT_STARTUP_SERVER_PARAMETER(initialSyncOplogBuffer,
// Set this to specify maximum number of times the oplog fetcher will consecutively restart the
// oplog tailing query on non-cancellation errors.
server_parameter_storage_type<int, ServerParameterType::kStartupAndRuntime>::value_type
- oplogFetcherMaxFetcherRestarts(10);
+ oplogFetcherMaxFetcherRestarts(3);
class ExportedOplogFetcherMaxFetcherRestartsServerParameter
: public ExportedServerParameter<int, ServerParameterType::kStartupAndRuntime> {
public: