-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(NODE-6275): Add CSOT support to GridFS #4246
Merged
Merged
Conversation
This file contains 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
Note, tests currently failing since mongodb-legacy does not currently pass through the options for some methods that now have an options argument, being addressed here |
W-A-James
commented
Sep 26, 2024
W-A-James
commented
Sep 26, 2024
W-A-James
commented
Sep 26, 2024
test/integration/client-side-operations-timeout/client_side_operations_timeout.spec.test.ts
Show resolved
Hide resolved
nbbeeken
added
the
Primary Review
In Review with primary reviewer, not yet ready for team's eyes
label
Sep 27, 2024
nbbeeken
requested changes
Sep 27, 2024
test/integration/client-side-operations-timeout/node_csot.test.ts
Outdated
Show resolved
Hide resolved
Re the question about leaking cursors on the server, you're right, it's not a new question for CSOT, but thought it might still be good to flag it here. Not sure if there's anything we want to or can do about it rn. |
nbbeeken
requested changes
Sep 30, 2024
nbbeeken
approved these changes
Sep 30, 2024
nbbeeken
added
Team Review
Needs review from team
and removed
Primary Review
In Review with primary reviewer, not yet ready for team's eyes
labels
Sep 30, 2024
baileympearson
requested changes
Sep 30, 2024
baileympearson
force-pushed
the
NODE-6090
branch
from
October 1, 2024 20:08
17a2fde
to
7a12914
Compare
Co-authored-by: Warren James <[email protected]>
baileympearson
requested changes
Oct 2, 2024
baileympearson
added a commit
that referenced
this pull request
Oct 10, 2024
Co-authored-by: Neal Beeken <[email protected]> Co-authored-by: Bailey Pearson <[email protected]>
baileympearson
added a commit
that referenced
this pull request
Oct 10, 2024
Co-authored-by: Neal Beeken <[email protected]> Co-authored-by: Bailey Pearson <[email protected]>
nbbeeken
added a commit
that referenced
this pull request
Oct 14, 2024
Co-authored-by: Neal Beeken <[email protected]> Co-authored-by: Bailey Pearson <[email protected]>
baileympearson
added a commit
that referenced
this pull request
Oct 21, 2024
Co-authored-by: Neal Beeken <[email protected]> Co-authored-by: Bailey Pearson <[email protected]>
5 tasks
nbbeeken
added a commit
that referenced
this pull request
Nov 1, 2024
Co-authored-by: Neal Beeken <[email protected]> Co-authored-by: Bailey Pearson <[email protected]>
nbbeeken
added a commit
that referenced
this pull request
Nov 5, 2024
Co-authored-by: Neal Beeken <[email protected]> Co-authored-by: Bailey Pearson <[email protected]>
dariakp
pushed a commit
that referenced
this pull request
Nov 6, 2024
Co-authored-by: Neal Beeken <[email protected]> Co-authored-by: Bailey Pearson <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
What is changing?
GridFSUploadStream
TimeoutContext
down through all operations over lifetime ofGridFSUploadStream
checkIndexes
call from constructor to asyncconstruct()
method to accomodate CSOT error handlingGridFSDownloadStream
TimeoutContext
down through all operations over lifetime ofGridFSDownloadStream
GridFSBucket
timeoutMS
option to:GridFSBucket.openUploadStream()
GridFSBucket.openUploadStreamWithId()
GridFSBucket.openDownloadStream()
GridFSBucket.openDownloadStreamByName()
GridFSBucket.find()
GridFSBucket.drop()
GridFSBucket.rename()
GridFSBucket.delete()
Testing
GridFSBucket.openUploadStreamWithId()
andGridFSBucket.openDownloadStreamByName()
) properly handletimeoutMS
'index'
event is emitted exactly once byGridFSBucket
when creating upload streamsIs there new documentation needed for these changes?
Yes, punt to NODE-5688, also see NODE-6275 for specifics.
What is the motivation for this change?
NODE-6275
Double check the following
npm run check:lint
scripttype(NODE-xxxx)[!]: description
feat(NODE-1234)!: rewriting everything in coffeescript