summaryrefslogtreecommitdiff
path: root/src/mongo/db/read_write_concern_defaults.h
diff options
context:
space:
mode:
authorHuayu Ouyang <huayu.ouyang@mongodb.com>2021-05-19 16:49:27 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-21 00:22:43 +0000
commit50f99d96af30d061ff2a664c49e3953293fb9ffe (patch)
treea2a345032523038d25f46073f4afa75778e29ac4 /src/mongo/db/read_write_concern_defaults.h
parent9434716bca785e0a0abce212272f27fdceb73054 (diff)
downloadmongo-50f99d96af30d061ff2a664c49e3953293fb9ffe.tar.gz
SERVER-57042 Don't store defaultWriteConcernSource on disk
Diffstat (limited to 'src/mongo/db/read_write_concern_defaults.h')
-rw-r--r--src/mongo/db/read_write_concern_defaults.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/read_write_concern_defaults.h b/src/mongo/db/read_write_concern_defaults.h
index cf061d9122d..ccb0b9cdef0 100644
--- a/src/mongo/db/read_write_concern_defaults.h
+++ b/src/mongo/db/read_write_concern_defaults.h
@@ -135,7 +135,8 @@ public:
const boost::optional<WriteConcern>& wc);
/**
- * Returns true if cluster-wide write concern is set and false otherwise.
+ * Returns true if cluster-wide write concern is set and the gDefaultWCMajority feature flag
+ * is enabled, and false otherwise.
*/
bool isCWWCSet(OperationContext* opCtx);