diff options
author | Eric Milkie <milkie@10gen.com> | 2017-04-06 15:30:59 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2017-08-22 13:45:12 -0400 |
commit | 77dc6917428ffad4b9ff2d54d78fa9b225f78a4b (patch) | |
tree | fa2483cb4214fd6858db09ca80523751f65888f5 /src/mongo/db/repl/replication_coordinator_external_state_mock.h | |
parent | b1a36aaa34f48df1573d76439419552282f18cbf (diff) | |
download | mongo-77dc6917428ffad4b9ff2d54d78fa9b225f78a4b.tar.gz |
SERVER-28620 Adorn all oplog writes with timestamps
These timestamps are now used to implement oplog visibility rules, in place of the current
in-memory vector of uncommitted ops that the WiredTiger glue code currently uses.
This change also introduces a TimestampedBSONObj class, which encapsulates a BSONObject with its
associated write timestamp.
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_external_state_mock.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_external_state_mock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_external_state_mock.h b/src/mongo/db/repl/replication_coordinator_external_state_mock.h index c18c8c8fc16..8478f9a05f5 100644 --- a/src/mongo/db/repl/replication_coordinator_external_state_mock.h +++ b/src/mongo/db/repl/replication_coordinator_external_state_mock.h @@ -87,7 +87,7 @@ public: virtual void stopProducer(); virtual void startProducerIfStopped(); virtual void dropAllSnapshots(); - virtual void updateCommittedSnapshot(SnapshotName newCommitPoint); + virtual void updateCommittedSnapshot(SnapshotInfo newCommitPoint); virtual void createSnapshot(OperationContext* opCtx, SnapshotName name); virtual void forceSnapshotCreation(); virtual bool snapshotsEnabled() const; |