-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(NODE-6313): add CSOT support to sessions and transactions #4199
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
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
e8001b4
test: sync latest spec tests
nbbeeken a12f2b6
test: set defaultTimeoutMS on session options
nbbeeken 46e6bfd
docs: fix api doc comment
nbbeeken 1e115e9
chore: create and pass around timeout contexts
nbbeeken 0ea664d
chore: adjust timeouts and correct promise chain
nbbeeken 2ddf2eb
chore: fix when timeout errors throw
nbbeeken 219b506
chore: limit server type
nbbeeken a082436
test: fix metadata
nbbeeken 008de84
chore: drop collection once
nbbeeken c1d34e5
test: improve prose test
nbbeeken 9cb3fe5
fix: always pass timeoutMS value
nbbeeken 8f961b1
fix: make timeout take options object
nbbeeken a84a482
fix: add documentation of timeoutMS in withTransaction
nbbeeken eab394f
fix: add validation for timeoutMS in withTxn operations
nbbeeken a55fd6a
fix: only and metadata
nbbeeken ec174f5
chore: fix collection drop hang
nbbeeken 174df9e
chore: remove is
nbbeeken 7413eeb
chore: limit test to 4.4+
nbbeeken a3b04c9
chore: assert approximate timeout was respected
nbbeeken 24edc0b
test: improve instanceof assertion logging
nbbeeken 4ba842d
test: assert time first
nbbeeken c45b166
chore: skip test
nbbeeken 8dc142f
chore: include more operations in validation
nbbeeken 2e40d2b
chore: reduce condition for timeoutContext in txn
nbbeeken 63d95e1
chore: take session into create and remove csotEnabled condition
nbbeeken b2096e9
chore: adjust timeouts to match spec change
nbbeeken 8930481
fix: typescript
nbbeeken d6fd82e
chore: name the variable
nbbeeken 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.