Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3739

Clean up code paths for minWireVersion < 6

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Summary

      The linked ticket to set minWireVersion to 6 did not include associated code clean up. We should clean up the code paths related to minWireVersion < 6 so that we aren't maintaining essentially dead code.

      AC

      • remove or update any checks for an out of bound version
      • update ServerCapabilities to always return true for the corresponding functionalities (and possibly deprecate the properties that always return true)
      • update any skipped tests that still have the maxWireVersion set to 4
      • update unit_wire_version.test to test the expected bounds
      • remove wire protocol messages (e.g. OP_GETMORE, OP_KILLCURSORS)

      Follow up requirements

      • if deprecating the ServerCapabilities, file a 5.0.0 ticket to remove the deprecated properties or file/add to a bucket 5.0.0 deprecation removal ticket

            Assignee:
            Unassigned Unassigned
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: