[SERVER-25183] scoped_db_conn_test.exe - DontReturnConnGoneBadToPool Failed Created: 20/Jul/16  Updated: 31/Oct/16  Resolved: 24/Oct/16

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: None
Fix Version/s: 3.4.0-rc2

Type: Bug Priority: Major - P3
Reporter: Waley Chen Assignee: Waley Chen
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
Sprint: Platforms 18 (08/05/16), Platforms 2016-08-26, Platforms 2016-10-10, Platforms 2016-10-31
Participants:
Linked BF Score: 0

 Description   

In the test, when it does the ASSERT on the connection, it expects that the connection always returned to the pool.
However, the connection can become invalid and not be returned to the pool which fails the ASSERT.

The fix is to only do the ASSERT on the connection if it was still valid and returned to the pool.



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

Author:

{u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}

Message: SERVER-25183 scoped_db_conn_test.exe - DontReturnConnGoneBadToPool Failed
test fix
Branch: master
https://github.com/mongodb/mongo/commit/b8fc3fffe889ba9a34bb7193c1fec9139e4ad1c3

Comment by Jonathan Reams [ 25/Oct/16 ]

I think this just happened again in BF-3472

Comment by Githook User [ 24/Oct/16 ]

Author:

{u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}

Message: SERVER-25183 scoped_db_conn_test.exe - DontReturnConnGoneBadToPool Failed
Branch: master
https://github.com/mongodb/mongo/commit/fe6ce934697d4f8d483829e275ef1f41d2d0e847

Comment by Githook User [ 24/Aug/16 ]

Author:

{u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}

Message: SERVER-25183 scoped_db_conn_test.exe - DontReturnConnGoneBadToPool Failed
Branch: master
https://github.com/mongodb/mongo/commit/4a19bd94247f4356229f2f3a7b95f76451f41a9b

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