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

Remove code paths that assume maxWireVersion < WIRE_VERSION_OP_MSG

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 1.24.0
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: