[SERVER-21526] should use RAII type for WiredTigerSessionCache::getSession Created: 18/Nov/15 Updated: 22/Feb/16 Resolved: 10/Feb/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.2 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Geert Bosch | Assignee: | Kyle Suarez |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Integration F (02/01/16), Integration 10 (02/22/16) | ||||||||
| Participants: | |||||||||
| Description |
|
Currently we depend on all callers taking appropriate measures to avoid leaking sessions, which is error-prone. |
| Comments |
| Comment by Githook User [ 10/Feb/16 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'ksuarz@gmail.com'}Message: WiredTigerSessionCache::getSession() returns unique pointers to ON_BLOCK_EXIT and other cleanup code has been removed. |