[SERVER-17758] Move RAII types Client::*Context and AutoGet* from client.h to their own file Created: 26/Mar/15  Updated: 25/Jan/17  Resolved: 27/Mar/15

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.1.1

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

Moving the RAII types used to get locks and acquire Collection and Database objects into their own file is prerequisite to using the same type to represent client sessions in mongos and mongod.



 Comments   
Comment by Githook User [ 27/Mar/15 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-17758 Move AutoGet* and Client::*Context to their own file.

The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and
Client::WriteContext is OldClientWriteContext.
Branch: master
https://github.com/mongodb/mongo/commit/92593d1af174244ba5560be29908b4f729fec78c

Generated at Thu Feb 08 03:45:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.