-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix(NODE-1797): Error when ChangeStream used as iterator and emitter concurrently #2871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
emadum
merged 12 commits into
4.0
from
NODE-1797/4.0/Error-when-change-stream-used-as-iterator-and-emitter-concurrently
Jul 9, 2021
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a459704
test: Add test to check that change streams can be used as iterators …
W-A-James c167318
fix: (wip) start fix to ensure change streams can be used as iterator…
W-A-James 1e8e112
fix: (wip) Fixing tests
W-A-James ed6cb45
test: Fix tests for 'on' and 'hasNext'
W-A-James f3d2af0
fix: Throw error MongoDriverError only when attempting to watch changes
W-A-James 2bf784a
test: Clean up test code
W-A-James a585b4b
test: Ensure that callbacks execute before test cleanup
W-A-James b929dd5
refactor: remove errorIfIsX functions and use Symbol for mode property
W-A-James 0d9d213
refactor: change _setIsEmitter and _setIsIterator methods to helper f…
W-A-James 5d02507
fix: Initialize changeStream mode to false in constructor
W-A-James df93e3c
test: clean up tests
W-A-James ce2cbe7
test: Remove unneeded tests
W-A-James File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.