[SERVER-36473] Make a dedicated RAII class to manage Client lifetime Created: 06/Aug/18  Updated: 29/Oct/23  Resolved: 08/Nov/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.6

Type: Task Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 1
Labels: neweng, nyc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-37893 Remove Client::initThreadIfNotAlready... Closed
is depended on by SERVER-37894 Substitute calls from Client::initThr... Closed
Problem/Incident
Related
related to SERVER-36400 Explicitly destroy the client on exit... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-11-05, Storage NYC 2018-11-19
Participants:
Linked BF Score: 50

 Description   

As discussed in SERVER-36400, a ThreadClient would be helpful for managing the Client lifetime so that people don't need to explicitly destroy the client.



 Comments   
Comment by Githook User [ 08/Nov/18 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-36473 Make a dedicated RAII class to manage Client lifetime
Branch: master
https://github.com/mongodb/mongo/commit/aff889b39301472bd2143967938a3dba468dfc63

Generated at Thu Feb 08 04:43:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.