Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4591

Add C extensions for MongoClient.bulk_write API

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 4.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • 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?

      As part of the new MongoClient.bulk_write API, we need to add support for C extensions, which get called during the process of constructing and sending the OP_MSG.

      We should add two new entry points to _cmessagemodule.c: one for _client_encode_batched_op_msg() and one for _client_batched_op_msg(). Much of the existing C implementation for the collection-level bulk write can likely be reused.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shruti.sridhar@mongodb.com Shruti Sridhar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: