[SERVER-55787] Better expose getaddrinfo errors in SockAddr Created: 05/Apr/21  Updated: 29/Oct/23  Resolved: 23/Apr/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Benjamin Caimano (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-04-19, Security 2021-05-03
Participants:
Linked BF Score: 66

 Description   

We log when we see getaddrinfo() errors here. Unfortunately, this means we fail with opaque error Status in the shell for KMS if not other locations. We should try to provide a pathway that returns that error as a verbose status instead of a log statement.



 Comments   
Comment by Githook User [ 23/Apr/21 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com', 'username': 'bcaimano'}

Message: SERVER-55787 Better expose getaddrinfo errors in SockAddr
Branch: master
https://github.com/mongodb/mongo/commit/83f45db3ee406ae9218764170e90ac8714e05e97

Comment by Githook User [ 23/Apr/21 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com', 'username': 'bcaimano'}

Message: SERVER-55787 Better expose getaddrinfo errors in SockAddr
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/939d67232b0ff06c137d7f2a0979311f572d5280

Generated at Thu Feb 08 05:37:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.