-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 0.5.1
-
Component/s: None
-
None
Currently, WriteResult only sets journal and fsync if the constructor arguments are true. As of CDRIVER-580, libmongoc differentiates between set (either true or false) or unset values. We would also like to do that in the debug handler (PHPC-179).
The constructor should always set the boolean value (if passed) on the underlying mongoc_write_concern_t struct.
- is depended on by
-
PHPC-179 WriteConcern debug handler should denote unset journal/fsync options
- Closed
- is related to
-
CDRIVER-580 Write concern with w=0 and j=true is a GLE op
- Closed
- related to
-
PHPC-427 Do not set WriteConcern journal and fsync to false for NULL args
- Closed