-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: 0.1.5
-
Component/s: None
-
None
As I mentioned in this comment within PHPC-177's PR:
Ultimately, I think we need support for null arguments to WriteConcern or to simply take an $options array and be done with it. One argument is that we're locking ourselves into having an argument for fsync, which we already know is deprecated.
If CDRIVER-580 is merged, that means the write concern struct will support unset values for j and fsync, as it currently does for w. Our constructor always attempts to assign w, and our required parameters means that one cannot specify j without first specifying w.
- depends on
-
CDRIVER-580 Write concern with w=0 and j=true is a GLE op
- Closed