diff options
Diffstat (limited to 'src/mongo/db/write_concern.h')
-rw-r--r-- | src/mongo/db/write_concern.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/write_concern.h b/src/mongo/db/write_concern.h index c88404c1055..bfa31571a45 100644 --- a/src/mongo/db/write_concern.h +++ b/src/mongo/db/write_concern.h @@ -32,6 +32,8 @@ namespace mongo { + class OperationContext; + /** * Verifies that a WriteConcern is valid for this particular host. */ @@ -74,7 +76,8 @@ namespace mongo { * Returns NotMaster if the host steps down while waiting for replication * Returns UnknownReplWriteConcern if the wMode specified was not enforceable */ - Status waitForWriteConcern( const WriteConcernOptions& writeConcern, + Status waitForWriteConcern( OperationContext* txn, + const WriteConcernOptions& writeConcern, const OpTime& replOpTime, WriteConcernResult* result ); |