summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/bgsync.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2016-10-25 15:08:17 -0400
committerBenety Goh <benety@mongodb.com>2016-11-01 10:21:04 -0400
commitf25a36cdbe77f596adfea6e008fbf5a044cf3a83 (patch)
treec253c829a8f3b8cb8f442c11f40a674e5a0f8be2 /src/mongo/db/repl/bgsync.h
parent72b952ddcd3a04a5c8050de435803aac4680a81a (diff)
downloadmongo-f25a36cdbe77f596adfea6e008fbf5a044cf3a83.tar.gz
SERVER-23070 bgsync uses ReplicationCoordinator directly to select sync source
Diffstat (limited to 'src/mongo/db/repl/bgsync.h')
-rw-r--r--src/mongo/db/repl/bgsync.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/repl/bgsync.h b/src/mongo/db/repl/bgsync.h
index 4feed8a6d49..afb6733c0b2 100644
--- a/src/mongo/db/repl/bgsync.h
+++ b/src/mongo/db/repl/bgsync.h
@@ -37,7 +37,6 @@
#include "mongo/db/repl/oplog_buffer.h"
#include "mongo/db/repl/oplog_fetcher.h"
#include "mongo/db/repl/optime.h"
-#include "mongo/db/repl/sync_source_resolver.h"
#include "mongo/stdx/condition_variable.h"
#include "mongo/stdx/functional.h"
#include "mongo/stdx/mutex.h"
@@ -174,10 +173,6 @@ private:
// A pointer to the replication coordinator external state.
ReplicationCoordinatorExternalState* _replicationCoordinatorExternalState;
- // Used to determine sync source.
- // TODO(dannenberg) move into DataReplicator.
- SyncSourceResolver _syncSourceResolver;
-
// _mutex protects all of the class variables declared below.
mutable stdx::mutex _mutex;