Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6010

node-mongodb-native - PR #4031: fix(cursor): Avoid triple-emitting close events

    • 2
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      vkarpov15 has created PR #4031: fix(cursor): Avoid triple-emitting close events in node-mongodb-native

      What problem are you facing?

      When a change stream is running and the mongo deployment is restarted, the close event is emitted three times.

      Steps to reproduce?

      See PR linked above

      User Impact

      • Emitting multiple close events goes against the Node.js readable stream documentation

      Dependencies

      • Driver

      Unknowns

      • How do we want to go about fixing this issue?
      • What other parts of the driver does it affect?

      Acceptance Criteria

      Implementation Requirements

      • TBD

      Testing Requirements

      • TBD

      Documentation Requirements

      • TBD

      Follow Up Requirements

      • TBD

            Assignee:
            Unassigned Unassigned
            Reporter:
            jira.automation JIRA Automation
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: