Skip to content
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

fix(NODE-6523): deleteMany in gridfs passes timeoutMS to predicate, not options #4319

Merged
merged 6 commits into from
Nov 11, 2024

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Nov 7, 2024

Description

What is changing?

Pass timeoutMS as an option, not a field in the filter predicate, to deleteMany() when aborting a gridfs upload stream.

Also, I reworked the flaky CSOT test reported in https://jira.mongodb.org/browse/NODE-6522. I'm not sure what caused the flakiness, but now it every time on macos now (ex run of 1000 iterations: https://spruce.mongodb.com/version/672cfbacdc76ef0007d99ed6/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC).

Is there new documentation needed for these changes?

What is the motivation for this change?

Release Highlight

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@baileympearson baileympearson marked this pull request as ready for review November 7, 2024 17:57
@nbbeeken nbbeeken self-assigned this Nov 7, 2024
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Nov 7, 2024
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

req changes state for re-review request (per slack)

…erations_timeout.prose.test.ts

Co-authored-by: Neal Beeken <[email protected]>
@nbbeeken nbbeeken merged commit 1965ed5 into main Nov 11, 2024
29 checks passed
@nbbeeken nbbeeken deleted the NODE-6523 branch November 11, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants