[SERVER-25715] Stop leaking WiredTigerSessions at shutdown Created: 19/Aug/16  Updated: 20/Nov/16  Resolved: 23/Aug/16

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.2.11, 3.3.12

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Repl 2016-08-29
Participants:
Linked BF Score: 0

 Description   

In order to fix a race in SERVER-16031 we leak WiredTigerSessions at shutdown. This is overkill since we only need to prevent it from calling close() on its session in its destructor.



 Comments   
Comment by Githook User [ 17/Oct/16 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-25715 in shutdown, delete WiredTigerSessions w/o closing the underlying WT_SESSION

(cherry picked from commit 8018f3bedcb6fb321d1581a47e8c471b31526926)
Branch: v3.2
https://github.com/mongodb/mongo/commit/99f8d760848b0be69b8934b00d33552b1295d5d9

Comment by Githook User [ 23/Aug/16 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-25715 in shutdown, delete WiredTigerSessions w/o closing the underlying WT_SESSION
Branch: master
https://github.com/mongodb/mongo/commit/8018f3bedcb6fb321d1581a47e8c471b31526926

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