diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2015-05-04 20:01:26 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2015-05-12 15:36:54 -0400 |
commit | 3341d6407fb8ba147303432027db0ed006a85c46 (patch) | |
tree | b493ad301c7c6d25e6fcf523a45d130234455ae3 /src/mongo/db/write_concern.h | |
parent | b3b37ae5c708ae1876f189e6c685ab06026e86ee (diff) | |
download | mongo-3341d6407fb8ba147303432027db0ed006a85c46.tar.gz |
SERVER-18217 Change Timestamp to OpTime where appropriate.
Diffstat (limited to 'src/mongo/db/write_concern.h')
-rw-r--r-- | src/mongo/db/write_concern.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/write_concern.h b/src/mongo/db/write_concern.h index 0f375c9c069..0fa735aac4a 100644 --- a/src/mongo/db/write_concern.h +++ b/src/mongo/db/write_concern.h @@ -36,6 +36,10 @@ namespace mongo { class OperationContext; template <typename T> class StatusWith; + namespace repl { + class OpTime; + } + /** * If txn->getWriteConcern() indicates a durable commit level, * marks the RecoveryUnit associated with "txn" appropriately. @@ -94,7 +98,7 @@ namespace mongo { * Returns UnknownReplWriteConcern if the wMode specified was not enforceable */ Status waitForWriteConcern( OperationContext* txn, - const Timestamp& replOpTime, + const repl::OpTime& replOpTime, WriteConcernResult* result ); |