-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Minor Change
When creating write concern objects, the option for journal is called :j. The corresponding URI option is called journal. The two are apparently easy enough to confuse that our test suite specifies :journal in write concern spec, which is incorrect usage.
The WriteConcern module has a number of other validations on write concern options. I think adding a prohibition on :journal as an option will prevent silent incorrect behavior when applications get this option name wrong.
- related to
-
RUBY-1857 Driver invokes WC#unacknowledged? bypassing string/symbol conversions
- Closed
- links to