Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-407

Drop support for MongoDB 2.4

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      PYTHON-1299 Fixed 3.6
      NODE-1122 Fixed 3.0.0
      SCALA-333 Works as Designed 2.2.0
      CSHARP-2032 Fixed 2.11.0
      PERL-800 Won't Fix
      RUBY-1237 Fixed 2.5.0
      JAVA-2580 Fixed 3.6.0
      CXX-1421 Gone away
      PHPC-995 Done 1.4.0-beta1, 1.4.0
      GODRIVER-59 Done
      CDRIVER-2243 Fixed 1.9.0
      PHPLIB-282 Fixed 1.3.0
      MOTOR-176 Fixed 1.2
      SWIFT-171 Won't Fix
      RUST-44 Works as Designed
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion PYTHON-1299 Fixed 3.6 NODE-1122 Fixed 3.0.0 SCALA-333 Works as Designed 2.2.0 CSHARP-2032 Fixed 2.11.0 PERL-800 Won't Fix RUBY-1237 Fixed 2.5.0 JAVA-2580 Fixed 3.6.0 CXX-1421 Gone away PHPC-995 Done 1.4.0-beta1, 1.4.0 GODRIVER-59 Done CDRIVER-2243 Fixed 1.9.0 PHPLIB-282 Fixed 1.3.0 MOTOR-176 Fixed 1.2 SWIFT-171 Won't Fix RUST-44 Works as Designed

    Description

      MongoDB 2.4 reached end of life in March of 2016, so drivers can remove support for it.

      A driver should bump its minimum supported wire version to 2, making 2.6 the minimum supported server version (For some reason, MongoDB 2.6 bumped maxWireVersion to 2 rather than 1. MongoDB 2.4 has no maxWireVersion, which implies a maxWireVersion of 0).

      Code that can be removed as a result of the min wire version bump:

      • Support for the legacy wire protocol for writes (OP_INSERT/UPDATE/DELETE) for acknowledged writes. If the driver already uses write commands for unacknowledged writes (async drivers like .NET or node), support for these wire protocol messages can be removed entirely.
      • Support for creating and dropping indexes in the system.indexes collection (NOTE: listIndexes was added in 3.0, must continue to support listing indexes via system.indexes in 2.6)
      • Support for user management via writes to and reads from system.users collection
      • Support for fallback to inline results for the aggregate command when cursor is requested

      Any conditional logic in tests that check for wire-version-less-than-2/server-version-less-than-2.6 can also be removed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: