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

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

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: Core API
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: