Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-5817

mongoc_bulkwrite_set_session() should assert consistency with internal client

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.30.0, 1.29.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Fully Compatible
    • C Drivers
    • Not Needed
    • 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?

      mongoc_bulkwrite_t does not assert consistency between its assigned client and session. This was likely an oversight in CDRIVER-4363 but can be addressed when implementing a new mongoc_bulkwrite_set_client() API in CDRIVER-5816 (since the client setter should also assert, as is done in the original mongoc_bulk_operation_t API).

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: