diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2020-03-25 12:41:11 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-25 17:28:45 +0000 |
commit | b36c69c5930d25a8f5ae348a2b2fb24f27f925e6 (patch) | |
tree | 267ef20d6a33e8dccdca58ef91f9cab47b4870cc /src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp | |
parent | e8a9c1d087efa92501510d6ca340eec082300e6d (diff) | |
download | mongo-b36c69c5930d25a8f5ae348a2b2fb24f27f925e6.tar.gz |
SERVER-46120 Make OplogQueryMetadata non-optional
Diffstat (limited to 'src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp')
-rw-r--r-- | src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp b/src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp index c6f573e5115..793f0cc5953 100644 --- a/src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp +++ b/src/mongo/db/repl/data_replicator_external_state_initial_sync.cpp @@ -40,8 +40,9 @@ DataReplicatorExternalStateInitialSync::DataReplicatorExternalStateInitialSync( : DataReplicatorExternalStateImpl(replicationCoordinator, replicationCoordinatorExternalState) { } -bool DataReplicatorExternalStateInitialSync::shouldStopFetching( - const HostAndPort&, const rpc::ReplSetMetadata&, boost::optional<rpc::OplogQueryMetadata>) { +bool DataReplicatorExternalStateInitialSync::shouldStopFetching(const HostAndPort&, + const rpc::ReplSetMetadata&, + const rpc::OplogQueryMetadata&) { // Since initial sync does not allow for sync source changes, it should not check if there are // better sync sources. If there is a problem on the sync source, it will manifest itself in the |