diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-07-14 22:29:31 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-07-17 12:08:30 -0400 |
commit | ff441b6607acaa551d8508af71b84a657ea66161 (patch) | |
tree | baa597cf0223308f13c0df0bb9f14e8d75bb9e21 /src/mongo/db/write_concern_options.h | |
parent | c4f55991f8be792f95d58ece57fca61e6890befd (diff) | |
download | mongo-ff441b6607acaa551d8508af71b84a657ea66161.tar.gz |
SERVER-25064 Make mongos upgrade w:1 to w:majority for auth writes
Also extend the auth tests to validate that both variants work.
Diffstat (limited to 'src/mongo/db/write_concern_options.h')
-rw-r--r-- | src/mongo/db/write_concern_options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/write_concern_options.h b/src/mongo/db/write_concern_options.h index 06ddfbc56a0..85f9e0e0390 100644 --- a/src/mongo/db/write_concern_options.h +++ b/src/mongo/db/write_concern_options.h @@ -47,6 +47,7 @@ public: static const BSONObj Unacknowledged; static const BSONObj Majority; + static const StringData kWriteConcernField; static const char kMajority[]; // = "majority" WriteConcernOptions() { |