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

Refactor parsing of cursor documents

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Core API
    • None

    Description

      Currently, the raw response from the server, which contains a cursor subdocument, is passed directly to the newCursor function. This means a new function has to be added to create a cursor for legacy servers because the relevant information (cursor ID, first batch, namespace) is returned in the OP_REPLY struct instead of a document.

      Refactor cursor creation so the document parsing happens elsewhere and passes relevant information to newCursor.

      Attachments

        Activity

          People

            Unassigned Unassigned
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: