[SERVER-37389] Give different messages for different connection failure reasons Created: 28/Sep/18  Updated: 29/Oct/23  Resolved: 16/Jan/19

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: None
Fix Version/s: 4.0.8, 4.1.7

Type: Improvement Priority: Minor - P4
Reporter: Benjamin Caimano (Inactive) Assignee: Jonathan Ma
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-38438 Separate HostUnresponsive from HostUn... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Service Arch 2019-01-28
Participants:

 Description   

Right now, eof, econnreset, and enetreset all have the same message from asio_utils.h. While the result is very similar, they mean different things. We should have different error codes so that we can diagnose the underlying reason more quickly.



 Comments   
Comment by Githook User [ 22/Mar/19 ]

Author:

{'email': 'jonathan.ma@mongodb.com', 'name': 'Jonathan Ma', 'username': 'thejonathanma'}

Message: SERVER-37389 Give different messages for different connection failure reasons
Branch: v4.0
https://github.com/mongodb/mongo/commit/caf6b67b53038191e9a84fa838fc5a7ad0cf0c95

Comment by Githook User [ 16/Jan/19 ]

Author:

{'username': 'thejonathanma', 'email': 'jonathan.ma@mongodb.com', 'name': 'Jonathan Ma'}

Message: SERVER-37389 Give different messages for different connection failure reasons
Branch: master
https://github.com/mongodb/mongo/commit/692be593357338e488623dbd2d4ecabff4ab323c

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