summaryrefslogtreecommitdiff
path: root/src/mongo/db/write_concern.h
diff options
context:
space:
mode:
authorDaniel Alabi <alabidan@gmail.com>2015-03-16 14:58:13 -0400
committerDaniel Alabi <alabidan@gmail.com>2015-03-16 14:58:13 -0400
commit9ac525aa529e825634004758fade4738c3c7b0a8 (patch)
treeb1b975b8a74b67385c5d054ae7d16be7ad74af27 /src/mongo/db/write_concern.h
parentbb9b4e27c8c31542af52d80f4c3751c435909d69 (diff)
downloadmongo-9ac525aa529e825634004758fade4738c3c7b0a8.tar.gz
Revert "SERVER-6558 Add writeConcern option to findAndModify command"
This reverts commit bb9b4e27c8c31542af52d80f4c3751c435909d69.
Diffstat (limited to 'src/mongo/db/write_concern.h')
-rw-r--r--src/mongo/db/write_concern.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mongo/db/write_concern.h b/src/mongo/db/write_concern.h
index 19513e4f969..98d7893a2e1 100644
--- a/src/mongo/db/write_concern.h
+++ b/src/mongo/db/write_concern.h
@@ -34,23 +34,6 @@
namespace mongo {
class OperationContext;
- template <typename T> class StatusWith;
-
- /**
- * If "writeConcern" indicates a durable commit level,
- * marks the RecoveryUnit associated with "txn" appropriately.
- * Provides a hint to the storage engine that
- * particular operations will be waiting for their changes to become durable.
- */
- void setupSynchronousCommit(const WriteConcernOptions& writeConcern,
- OperationContext* txn);
-
- /**
- * Attempts to extract a writeConcern from cmdObj.
- * Verifies that the writeConcern is of type Object (BSON type) and
- * that the resulting writeConcern is valid for this particular host.
- */
- StatusWith<WriteConcernOptions> extractWriteConcern(const BSONObj& cmdObj);
/**
* Verifies that a WriteConcern is valid for this particular host.