Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6274

Add support for CSOT to BulkWrite APIs

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: CSOT
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a... Driver Engineer
      I want... to add CSOT support to the Bulk Write API
      So that... the driver will be CSOT spec-compliant

      User Impact

      • N/A: New Feature

      Dependencies

      • Required CSOT feature

      Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • Update implementation of the isTimeoutError assertion in UTR to check MongoBulkWriteError instances for a MongoTimeoutError in the errorResponse field
      • If an operation must be sent to the server in multiple batches (e.g. collection.bulkWrite()), the timeoutMS option MUST apply to the entire operation, not to each individual batch.

      Testing Requirements

      • Unskip the bulkWrite.yml spec tests
      • Implement the following prose tests
        • #1 - multibatch bulk insert|https://github.com/mongodb/specifications/tree/master/source/client-side-operations-timeout/tests#1-multi-batch-inserts] 
        • #11 - multibatch bulk write

      Documentation Requirements

      Follow Up Requirements

      • None

            Assignee:
            Unassigned Unassigned
            Reporter:
            warren.james@mongodb.com Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: