-
Type: Improvement
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
-
Query Execution 2021-05-17
When the mongo shell sends a w:0 write, it will do so using the legacy write protocol. Modern drivers will instead send an `OP_MSG` with the `moreToCome` but set, a path that we may not be currently testing in our integration test suite.
We could consider making changes to use the legacy wire protocol when the shell is in `writeMode:legacy` and using `OP_MSG` for the default `writeMode:commands`.
- is related to
-
SERVER-56778 mongo shell doesn't send API parameters with unacknowledged writes
- Closed