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

reset client options when returning to a mongoc_client_pool

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: