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

reset client options when returning to a mongoc_client_pool

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      users may set certain options on a client, like write concern, that are at odds with the settings on their parent mongoc_client_pool. When these clients get pushed back into the pool, we don't make any effort to "reset" the client so that its options match the pool's options again. It's possible users can pop a "dirty" client with unexpected option settings.

            Assignee:
            Unassigned Unassigned
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: