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

Inherited comment causes OperationFailure on MongoDB <4.4.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Unknown
    • Resolution: Done
    • None
    • CRUD
    • 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 .

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: