diff options
Diffstat (limited to 'src/mongo/db/repl/oplog_applier.h')
-rw-r--r-- | src/mongo/db/repl/oplog_applier.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog_applier.h b/src/mongo/db/repl/oplog_applier.h index cf6f2405b2a..ecc45bf76df 100644 --- a/src/mongo/db/repl/oplog_applier.h +++ b/src/mongo/db/repl/oplog_applier.h @@ -68,6 +68,10 @@ public: // For initial sync only. If an update fails, the missing document is fetched from // this sync source to insert into the local collection. boost::optional<HostAndPort> missingDocumentSourceForInitialSync; + + // Used to determine which operations should be applied. Only initial sync will set this to + // be something other than the null optime. + OpTime beginApplyingOpTime = OpTime(); }; /** |