[CDRIVER-3878] reset client options when returning to a mongoc_client_pool Created: 26/Jan/21  Updated: 26/Jan/21  Resolved: 26/Jan/21

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CDRIVER-3537 Pooled clients should clear state whe... Backlog

 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.


Generated at Wed Feb 07 21:19:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.