Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
2.2.0-rc0
-
ALL
Description
In ReplSetConfig::MemberCfg::check:
mchk(priority >= 0 && priority <= 1000); // <-- there is also a uassert below which makes this redundant?
|
mchk(votes <= 100); // votes >= 0 because it is unsigned
|
uassert(13419, "priorities must be between 0.0 and 100.0", priority >= 0.0 && priority <= 100.0);
|
Note that the docs says priority is 0 <= x <= 1000, which contradicts the uassert above.
Attachments
Issue Links
- related to
-
DOCS-3518 replicaset priority limits are incorrect in documentation
-
- Closed
-