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

Inherited comment causes OperationFailure on MongoDB <4.4.0

    • Needed
    • Hide

      Drivers should sync change-streams, aggregate, and find-comment spec tests from mongodb/specifications@97c54e2.

      Show
      Drivers should sync change-streams, aggregate, and find-comment spec tests from mongodb/specifications@97c54e2 .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CXX-2475 Fixed 3.7.0
      CSHARP-4108 Fixed 2.15.1
      GODRIVER-2357 Duplicate
      JAVA-4547 Fixed 4.6.0
      NODE-4115 Fixed 4.5.0
      MOTOR-917 Duplicate
      PYTHON-3181 Duplicate
      RUBY-2933 Fixed 2.18.0
      RUST-1233 Duplicate
      SWIFT-1530 Duplicate
      PHPLIB-749 Fixed 1.13.0-beta1, 1.13.0
      CDRIVER-4199 Fixed 1.22.0, 1.22.0-beta0
      $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 CXX-2475 Fixed 3.7.0 CSHARP-4108 Fixed 2.15.1 GODRIVER-2357 Duplicate JAVA-4547 Fixed 4.6.0 NODE-4115 Fixed 4.5.0 MOTOR-917 Duplicate PYTHON-3181 Duplicate RUBY-2933 Fixed 2.18.0 RUST-1233 Duplicate SWIFT-1530 Duplicate PHPLIB-749 Fixed 1.13.0-beta1, 1.13.0 CDRIVER-4199 Fixed 1.22.0, 1.22.0-beta0

      While implementing DRIVERS-2189 for the Python Driver (PYTHON-3119) I found a bug caused by the fact that "comment" is not supported for getMore commands on MongoDB <4.4.0. The issue is that for find/agg commands "comment" has been supported at the top level since before 4.4.0, but when the driver then inherits those comments to the getMore, the user will experience an OperationFailure when using MongoDB <4.4.0.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            julius.park@mongodb.com Julius Park (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: