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

Implement mongoc_bulk_operation_set_client_session()

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None

      PHPC depends on mongoc_bulk_operation_new(), as it allows a bulk operation to be created independently of a client. Currently, mongoc_bulk_operation_t is only associated with an explicit session ID through mongoc_collection_create_bulk_operation_with_opts(), which PHPC cannot use, since the collection is only known at execution time. A mongoc_bulk_operation_set_client_session() setter would allow us to assign the session to a bulk write at execution time, as we currently do for client, database, collection, hint, and write concern.

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

              Created:
              Updated:
              Resolved: