• Type: Icon: Epic Epic
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0
    • Affects Version/s: None
    • Component/s: CRUD
    • None
    • Needed
    • Hide
      1. What would you like to communicate to the user about this feature?
      BulkWrite method is available on MongoClient for mixed operations/collections writes
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      Yes. Code examples could be found in CrudProseTests class or can provide more if required.

      https://github.com/mongodb/mongo-csharp-driver/blob/main/tests/MongoDB.Driver.Tests/Specifications/crud/prose-tests/CrudProseTests.cs

      3. Which versions of the driver/connector does this apply to?
      3.0.0
      Show
      1. What would you like to communicate to the user about this feature? BulkWrite method is available on MongoClient for mixed operations/collections writes 2. Would you like the user to see examples of the syntax and/or executable code and its output? Yes. Code examples could be found in CrudProseTests class or can provide more if required. https://github.com/mongodb/mongo-csharp-driver/blob/main/tests/MongoDB.Driver.Tests/Specifications/crud/prose-tests/CrudProseTests.cs 3. Which versions of the driver/connector does this apply to? 3.0.0
    • Done
    • Improved Bulk Write API and One-Shot Transactions Support
    • 2.5
    • 3.5
    • 3.5
    • 100
    • Hide

      Engineer(s): Alex

      2024-10-11: Completed


      2024-09-27: Setting target end date to 2024-10-04

      What was completed over the last two weeks?

      • Added MongoClient.BulkWrite API,
      • Building a bulkWrite Command,
      • Command Batching support

      What's the focus over the next two weeks?

      • Handling the bulkWrite Server Response
      • Handling Server Errors

      Impediments if any:

      • Pending tasks: testing.
        problems: undefined behavior for unacknowledged write, spend extra time on investigation which is most like result in spec(s) and additional code changes.

      2024-09-12: Setting target end date to 2024-09-27

      What was completed over the last two weeks?

      • Requirements investigation and tasks breakdown
      • BulkWrite public API - in progress

      What's the focus over the next two weeks?

      • Building a bulkWrite command from API request

      Impediments if any

      • None
      Show
      Engineer(s): Alex 2024-10-11: Completed 2024-09-27: Setting target end date to 2024-10-04 What was completed over the last two weeks? Added MongoClient.BulkWrite API, Building a bulkWrite Command, Command Batching support What's the focus over the next two weeks? Handling the bulkWrite Server Response Handling Server Errors Impediments if any: Pending tasks: testing. problems : undefined behavior for unacknowledged write, spend extra time on investigation which is most like result in spec(s) and additional code changes. 2024-09-12: Setting target end date to 2024-09-27 What was completed over the last two weeks? Requirements investigation and tasks breakdown BulkWrite public API - in progress What's the focus over the next two weeks? Building a bulkWrite command from API request Impediments if any None
    • Hide

      DRIVERS-716:
      Summary of necessary driver changes

      • Implement the new bulk write API and tests defined in the specification.

      Commits for syncing spec/prose tests

      • Sync spec tests and implement prose tests from this commit.
        • 2024-08-28 include skips on serverless fromĀ 0984b09
        • 2024-08-29 include missing skip on serverless from e9f02f3
      • Sync the unacknowledged-client-bulkWrite command monitoring test files from this commit. The outdated version of this test in the commit from the previous bullet has a potential race.
      • See DRIVERS-2993 for a fix to unacknowledged write handling.

      Reference implementations

      Show
      DRIVERS-716 : Summary of necessary driver changes Implement the new bulk write API and tests defined in the specification . Commits for syncing spec/prose tests Sync spec tests and implement prose tests from this commit . 2024-08-28 include skips on serverless fromĀ  0984b09 2024-08-29 include missing skip on serverless from e9f02f3 Sync the unacknowledged-client-bulkWrite command monitoring test files from this commit . The outdated version of this test in the commit from the previous bullet has a potential race. See DRIVERS-2993 for a fix to unacknowledged write handling. Reference implementations Rust C

      This ticket was split from DRIVERS-716, please see that ticket for a detailed description.

            Assignee:
            oleksandr.poliakov@mongodb.com Oleksandr Poliakov
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 weeks, 2 days