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

feat(NODE-6338): implement client bulk write error handling #4262

Merged
merged 29 commits into from
Oct 10, 2024

Conversation

durran
Copy link
Member

@durran durran commented Oct 1, 2024

Description

Implements error handling for MongoClient#bulkWrite operations.

What is changing?

  • Unskips remaining unified tests around error handling and retries.
  • Syncs retryable-writes spec tests
  • Implements remaining CRUD prose tests around error handling.
  • Implements all required error handling per the bulk write spec.
Is there new documentation needed for these changes?

None

What is the motivation for this change?

NODE-6338

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

@durran durran force-pushed the NODE-6338-final branch 11 times, most recently from 0a55ac2 to 0355018 Compare October 3, 2024 15:57
src/operations/client_bulk_write/command_builder.ts Outdated Show resolved Hide resolved
src/operations/client_bulk_write/common.ts Outdated Show resolved Hide resolved
src/operations/client_bulk_write/executor.ts Show resolved Hide resolved
src/error.ts Outdated Show resolved Hide resolved
src/operations/client_bulk_write/executor.ts Outdated Show resolved Hide resolved
@baileympearson baileympearson added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Oct 8, 2024
@nbbeeken nbbeeken self-requested a review October 8, 2024 18:41
src/operations/client_bulk_write/command_builder.ts Outdated Show resolved Hide resolved
src/operations/client_bulk_write/client_bulk_write.ts Outdated Show resolved Hide resolved
src/operations/client_bulk_write/client_bulk_write.ts Outdated Show resolved Hide resolved
src/operations/client_bulk_write/command_builder.ts Outdated Show resolved Hide resolved
src/operations/client_bulk_write/command_builder.ts Outdated Show resolved Hide resolved
src/operations/client_bulk_write/command_builder.ts Outdated Show resolved Hide resolved
src/operations/client_bulk_write/client_bulk_write.ts Outdated Show resolved Hide resolved
@durran durran requested a review from baileympearson October 8, 2024 21:37
baileympearson
baileympearson previously approved these changes Oct 9, 2024
@nbbeeken 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 Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants