[SERVER-16435] Don't use stale connections for heartbeats Created: 05/Dec/14  Updated: 03/Mar/15  Resolved: 13/Jan/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.8.0-rc3

Type: Task Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

In NetworkInterfaceImpl::ConnectionPool::acquireConnection we check to make sure sockets are still connected, so we don't use disconnected sockets, but not if they are older than the max connection lifetime threshold.



 Comments   
Comment by Andy Schwerin [ 15/Jan/15 ]

scotthernandez, can you confirm that this is indeed fixed by the aforementioned change?

Comment by Spencer Brody (Inactive) [ 13/Jan/15 ]

Looks like this may already have been fixed as part of https://github.com/mongodb/mongo/commit/2d79068ff6c0a7059fc39e72db88fc6a4f674e33

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