-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
I noticed that (_mongoc_uri_build_write_concern() parses w=1 as MONGOC_WRITE_CONCERN_W_DEFAULT. Combined with CDRIVER-580, this means the driver could send an empty write concern to the server, which could result in an unexpected server-side default being applied.
- depends on
-
CDRIVER-580 Write concern with w=0 and j=true is a GLE op
- Closed