[SERVER-12585] DBConnectionPool::_get shouldn't verify(!inShutdown) Created: 03/Feb/14  Updated: 11/Jul/16  Resolved: 03/Feb/14

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: None
Fix Version/s: 2.6.0-rc0

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

Should use another check that doesn't cause hard failure in DEBUG builds.



 Comments   
Comment by Githook User [ 03/Feb/14 ]

Author:

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

Message: SERVER-12585 DBConnectionPool::_get shouldn't verify(!inShutdown)

This caused DEBUG builds to fail during shutdown in tests that would otherwise
have passed.
Branch: master
https://github.com/mongodb/mongo/commit/ad3e62b700dd70d17713951dee63e5fc3212c92e

Comment by Mathias Stearn [ 03/Feb/14 ]

No, we because _finishCreate would then try to access the global pool. Discussed offline and will uassert.

Comment by Eric Milkie [ 03/Feb/14 ]

Should we simply not return anything when this condition exists?

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