-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(NODE-6304): Add CSOT support for non-tailable cursors #4195
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
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
78eb356
add timeoutMode to find, findOne, listIndexes, aggregate, listCollect…
W-A-James a22784d
unskip spec tests
W-A-James 6c423e0
implement prose tests
W-A-James 978d8dd
Add timeoutMode to abstract cursor and add validation
W-A-James 5317378
Add $out and $merge validation
W-A-James 7c459e0
start csot cursor implementation
W-A-James 0a2e4ce
WIP: int testing
W-A-James ac97b5a
WIP
W-A-James 02f835e
fix test
W-A-James 1e65e25
correctly propagate timeoutMode
W-A-James 0bc7793
rework test skip logic
W-A-James f83d3ef
wip
W-A-James 9549fd4
prose tests WIP
W-A-James 173796b
put CSOT options on runCursorCommand
W-A-James 9fc4c4e
finish up int tests
W-A-James 507af55
timeoutContext refresh fix
W-A-James 1f27040
apply CSOT to hasNext and tryNext
W-A-James af02eb8
sync spec tests
W-A-James 679c02c
add omitMaxTimeMS
W-A-James abc1cfd
skipping spec tests
W-A-James b64af7b
pass through timeoutMS arg to cursor.close
W-A-James 628eb55
Fix tests and dropindexes
W-A-James e90e7ed
add catch
W-A-James cbbd7e7
ensure that CSOT tests only run against 4.4 or greater
W-A-James fd43e60
lint
W-A-James bcb6e70
ignore
W-A-James 2ac4b0f
update export test
W-A-James ba0dc00
remove TODO
W-A-James 1fb6c7d
use cursorOptions instead of CursorInitializeOptions
W-A-James 343829f
remove CursorInitializeOptions and fix export
W-A-James 441f71d
Review fixes
W-A-James a9b4f02
fix setting of omitMaxTimeMS opts
W-A-James 041b202
ensure that timeoutMS is provided to cursor.close in UTR
W-A-James cff3c3c
add modified spec test
W-A-James 0488d50
remove redundant optional chaining
W-A-James 4a6607f
remove cursorTimeoutMode from timeoutContext options
W-A-James 96ecddc
remove types from expected exports
W-A-James 504eec2
remove cursorTimeoutMode from TimeoutContext.create call
W-A-James cb810e2
review comments
W-A-James 54286ae
lint
W-A-James 9114290
type annotation and bracket reorganization
W-A-James a47337b
skip flaky test and replace with more consistent one
W-A-James 3236c83
spec test fixes
W-A-James 743b55f
lint
W-A-James 12dc4bf
Merge branch 'NODE-6090' into NODE-6304
W-A-James 122487f
eslint
W-A-James 6a7e900
bump timeoutMS
W-A-James 0e14e98
bump timeoutMS and failpoint blockTimeMS
W-A-James c1572b1
lint
W-A-James 1cbfbeb
chore: bump timeout avg
nbbeeken 829d4fe
WIP
W-A-James 5318659
review comments
W-A-James c48ca9f
lint
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
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
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
Oops, something went wrong.
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.