diff options
Diffstat (limited to 'src/mongo/db/write_concern_options.cpp')
-rw-r--r-- | src/mongo/db/write_concern_options.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/write_concern_options.cpp b/src/mongo/db/write_concern_options.cpp index 50bf9cad040..993e373ec9b 100644 --- a/src/mongo/db/write_concern_options.cpp +++ b/src/mongo/db/write_concern_options.cpp @@ -39,6 +39,8 @@ namespace mongo { const BSONObj WriteConcernOptions::Acknowledged(BSON("w" << W_NORMAL)); const BSONObj WriteConcernOptions::Unacknowledged(BSON("w" << W_NONE)); + const string WriteConcernOptions::kMajority("majority"); + static const BSONField<bool> mongosSecondaryThrottleField("_secondaryThrottle", true); static const BSONField<bool> secondaryThrottleField("secondaryThrottle", true); static const BSONField<BSONObj> writeConcernField("writeConcern"); |