• Type: Icon: Epic Epic
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Spec Comp
    • None
    • 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?
    • Improved Bulk Write API
    • 4
    • 0.5
    • 4
    • 100
    • Hide

      Engineer: Jeremy Mikola

      2024-12-20:

      • What was completed over the last two weeks?
        • Operation append methods and option parsing for BulkWriteCommand class
      • What's the focus over the next week?
        • BulkWriteCommand execution and result modeling
      • Impediments encountered over the last week
        • libmongoc's use of separate options structs for each operation lead to more code duplication, especially compared to the bson_t API of the legacy bulk write API.

      2024-12-6:

      • What was completed over the last two weeks?
        • Resolved several libmongoc tickets required for the PHPC implementation
        • Began implementing BulkWriteCommand class to abstract mongoc_bulkwrite_t
      • What's the focus over the next week?
        • Continuing implementation of BulkWriteCommand
      • Impediments encountered over the last week
        • Uncertainty over how much of PHPC's existing bulk write API can be leveraged for this project

      2024-11-22:

      • What was completed over the last two weeks?
        • Started implementing the bulk write API in PHPC, leveraging the libmongoc API
      • What's the focus over the next week?
        • Wrap up the PHPC implementation and begin implementing API in PHPLIB
      • Impediments encountered over the last week
        • Minor issues with the libmongoc API require attention and fixing in the C driver
      Show
      Engineer: Jeremy Mikola 2024-12-20: What was completed over the last two weeks? Operation append methods and option parsing for BulkWriteCommand class What's the focus over the next week? BulkWriteCommand execution and result modeling Impediments encountered over the last week libmongoc's use of separate options structs for each operation lead to more code duplication, especially compared to the bson_t API of the legacy bulk write API. 2024-12-6: What was completed over the last two weeks? Resolved several libmongoc tickets required for the PHPC implementation Began implementing BulkWriteCommand class to abstract mongoc_bulkwrite_t What's the focus over the next week? Continuing implementation of BulkWriteCommand Impediments encountered over the last week Uncertainty over how much of PHPC's existing bulk write API can be leveraged for this project 2024-11-22: What was completed over the last two weeks? Started implementing the bulk write API in PHPC, leveraging the libmongoc API What's the focus over the next week? Wrap up the PHPC implementation and begin implementing API in PHPLIB Impediments encountered over the last week Minor issues with the libmongoc API require attention and fixing in the C driver
    • 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:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              4 weeks