summaryrefslogtreecommitdiff
path: root/src/mongo/db/write_concern_options.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-06-30 14:32:38 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-07-08 13:26:39 -0400
commit7c67f3a6fd52ea4933c23ce89f1cc5da62628ec4 (patch)
treed843d57ca15094997eff24e10035170244be1c1b /src/mongo/db/write_concern_options.h
parent920afddd4910e1efa6736331f2b38e7e276bd3d8 (diff)
downloadmongo-7c67f3a6fd52ea4933c23ce89f1cc5da62628ec4.tar.gz
SERVER-24858 Tighten assertions around waiting for write concern
Diffstat (limited to 'src/mongo/db/write_concern_options.h')
-rw-r--r--src/mongo/db/write_concern_options.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/write_concern_options.h b/src/mongo/db/write_concern_options.h
index f969fc08031..06ddfbc56a0 100644
--- a/src/mongo/db/write_concern_options.h
+++ b/src/mongo/db/write_concern_options.h
@@ -79,8 +79,8 @@ public:
bool shouldWaitForOtherNodes() const;
/**
- * Returns true if this is a valid write concern to use against a config server.
- * TODO(spencer): Once we stop supporting SCCC config servers, forbid this from allowing w:1
+ * Returns true if this is a {w:majority} write concern, which is the only valid write concern
+ * to use against a config server.
*/
bool validForConfigServers() const;