Modernize writeConcern w:0 handling in the shell

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • Query Execution 2021-05-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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`.

              Assignee:
              Eric Cox (Inactive)
              Reporter:
              James Wahlin
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: