diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2014-05-16 14:59:16 -0400 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2014-05-16 17:23:21 -0400 |
commit | 99bd567db407a89fda29bd83f46c0b72c6f775e3 (patch) | |
tree | 4965067fbdb513ee2bcb75dfe986024cd4cc2545 /src/mongo/db/write_concern.h | |
parent | 33e3abd0c81e2cb70f5b8159818dc1ec685d7b34 (diff) | |
download | mongo-99bd567db407a89fda29bd83f46c0b72c6f775e3.tar.gz |
SERVER-13931 do some killCurrentOp cleanup
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 ); |