summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/initial_syncer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/initial_syncer.h')
-rw-r--r--src/mongo/db/repl/initial_syncer.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/repl/initial_syncer.h b/src/mongo/db/repl/initial_syncer.h
index ea8a6ff71ef..063900142c9 100644
--- a/src/mongo/db/repl/initial_syncer.h
+++ b/src/mongo/db/repl/initial_syncer.h
@@ -47,7 +47,6 @@
#include "mongo/db/repl/optime.h"
#include "mongo/db/repl/rollback_checker.h"
#include "mongo/db/repl/sync_source_selector.h"
-#include "mongo/db/repl/sync_tail.h"
#include "mongo/stdx/condition_variable.h"
#include "mongo/stdx/functional.h"
#include "mongo/stdx/mutex.h"
@@ -91,11 +90,6 @@ struct InitialSyncerOptions {
/** Function to sets this node into a specific follower mode. */
using SetFollowerModeFn = stdx::function<bool(const MemberState&)>;
- /**
- * Struct to hold oplog application batch limits.
- */
- using BatchLimits = SyncTail::BatchLimits;
-
// Error and retry values
Milliseconds syncSourceRetryWait{1000};
Milliseconds initialSyncRetryWait{1000};
@@ -108,9 +102,6 @@ struct InitialSyncerOptions {
// SyncTail::tryPopAndWaitForMore().
Milliseconds getApplierBatchCallbackRetryWait{1000};
- // Batching settings.
- BatchLimits batchLimits;
-
// Replication settings
NamespaceString localOplogNS = NamespaceString("local.oplog.rs");
NamespaceString remoteOplogNS = NamespaceString("local.oplog.rs");