Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-984

Add support for legacy find, getMore, and killCursors to driver.Operation

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.1.0
    • Core API
    • None

    Description

      In the original design, the FindOperation, GetMoreOperation, and KillCursorsOperation each handled legacy versions of themselves directly. With the switch to driver.Operation those types won't know the wire version before calling driver.Operation.Execute so driver.Operation.Execute must handle these legacy conversions itself. There is a small overhead of transforming the command into a bsoncore.Document and then building a wire message directly. If this is a performance issue we can revisit the design of this later.

      The required signaling type, LegacyOperationKind, and the necessary constants will be created during GODRIVER-978.

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: