summaryrefslogtreecommitdiff
path: root/src/mongo/db/write_concern.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2014-05-16 14:59:16 -0400
committerHari Khalsa <hkhalsa@10gen.com>2014-05-16 17:23:21 -0400
commit99bd567db407a89fda29bd83f46c0b72c6f775e3 (patch)
tree4965067fbdb513ee2bcb75dfe986024cd4cc2545 /src/mongo/db/write_concern.h
parent33e3abd0c81e2cb70f5b8159818dc1ec685d7b34 (diff)
downloadmongo-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.h5
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 );