mongoc_bulkwrite_set_session() should assert consistency with internal client

XMLWordPrintableJSON

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

      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:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: