[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: The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and |