[SERVER-20546] The NetworkInterfaceASIO connection pool connection handles should require an indication of success Created: 21/Sep/15  Updated: 17/Nov/15  Resolved: 04/Nov/15

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: 3.1.8
Fix Version/s: 3.2.0-rc3

Type: Task Priority: Major - P3
Reporter: Mira Carey Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platform A (10/09/15), Platform B (10/30/15), Platform C (11/20/15)
Participants:

 Description   

The connection handles NetworkInterfaceASIO provides return to the pool by default on destruction. We should change this so that connections can be in a ternary state (unknown, success or failure). So we would still indicate explicit failures, return to the pool on success and probably should crash on unknown.



 Comments   
Comment by Githook User [ 04/Nov/15 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-20546 Abort if connections are returned to connection pool in an unknown state
Branch: master
https://github.com/mongodb/mongo/commit/a5aecae4e39468fe8d4952f8512b9a34677e2795

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