diff options
Diffstat (limited to 'src/mongo/db/repl/oplog_fetcher.h')
-rw-r--r-- | src/mongo/db/repl/oplog_fetcher.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog_fetcher.h b/src/mongo/db/repl/oplog_fetcher.h index c24b4309227..ad92d104aa3 100644 --- a/src/mongo/db/repl/oplog_fetcher.h +++ b/src/mongo/db/repl/oplog_fetcher.h @@ -37,6 +37,7 @@ #include "mongo/client/dbclient_connection.h" #include "mongo/client/dbclient_cursor.h" #include "mongo/client/fetcher.h" +#include "mongo/db/logical_time_metadata_hook.h" #include "mongo/db/namespace_string.h" #include "mongo/db/repl/abstract_async_component.h" #include "mongo/db/repl/data_replicator_external_state.h" @@ -371,6 +372,9 @@ private: // Used to keep track of the last oplog entry read and processed from the sync source. OpTime _lastFetched; + // Logical time metadata handling hook for the DBClientConnection. + std::unique_ptr<rpc::LogicalTimeMetadataHook> _logicalTimeMetadataHook; + // Set by the ReplyMetadataReader upon receiving a new batch. BSONObj _metadataObj; |