diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-06-30 14:32:38 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-07-08 13:26:39 -0400 |
commit | 7c67f3a6fd52ea4933c23ce89f1cc5da62628ec4 (patch) | |
tree | d843d57ca15094997eff24e10035170244be1c1b /src/mongo/db/write_concern.h | |
parent | 920afddd4910e1efa6736331f2b38e7e276bd3d8 (diff) | |
download | mongo-7c67f3a6fd52ea4933c23ce89f1cc5da62628ec4.tar.gz |
SERVER-24858 Tighten assertions around waiting for write concern
Diffstat (limited to 'src/mongo/db/write_concern.h')
-rw-r--r-- | src/mongo/db/write_concern.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/write_concern.h b/src/mongo/db/write_concern.h index 2b18ff5c538..eeff284ec61 100644 --- a/src/mongo/db/write_concern.h +++ b/src/mongo/db/write_concern.h @@ -54,9 +54,7 @@ StatusWith<WriteConcernOptions> extractWriteConcern(OperationContext* txn, /** * Verifies that a WriteConcern is valid for this particular host. */ -Status validateWriteConcern(OperationContext* txn, - const WriteConcernOptions& writeConcern, - const std::string& dbName); +Status validateWriteConcern(OperationContext* txn, const WriteConcernOptions& writeConcern); struct WriteConcernResult { WriteConcernResult() { |