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

ChangeStream should not panic when a user changes ResumeToken

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.1.0
    • Affects Version/s: 0.0.16
    • Component/s: CRUD

      Currently, when using a change stream, if a user specifies a $replaceRoot modifier, and the document has an _id field, the driver will blindly attempt to convert the _id field returned from the change stream document as a BSON document. When the _id field is an objectid.ObjectID this causes a panic.

            Assignee:
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: