Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4629

Remove code paths that assume maxWireVersion < WIRE_VERSION_OP_MSG

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.24.0
    • Affects Version/s: None
    • Component/s: None
    • None

      There is a lot of legacy code that is only executed given maxWireVersion < 6, which is no longer applicable given WIRE_VERSION_MIN is currently set to 6. Remove obsolete code paths that depend on unsupported values of maxWireVersion (less than 6 at time of writing, which happens to be equivalent to WIRE_VERSION_OP_MSG, which a lot of behavior is dependent on) to simplify the implementation.

      Followup to CDRIVER-4098. Motivated by CDRIVER-4622.

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            ezra.chung@mongodb.com Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: