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

Closing a change stream without reading it returns an error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1
    • Component/s: CRUD
    • Labels:
      None
    • Environment:
      Go 1.13beta1
      MongoDB 4.2
      Go MongoDB driver 1.1.0
    • Backwards Compatibility:
      Fully Compatible

      Description

      See the attached code.

      If you close a change stream without reading it, it returns the error "ended session was used".

      It happens only since v1.1.0. I can't reproduce it with v1.0.4

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: