Operational Defect Database

BugZero found this defect 32 days ago.

MongoDB | 2644971

DNS resolution while connecting to peer was slow

Last update date:

4/17/2024

Affected products:

MongoDB Server

Affected releases:

5.0.22

Fixed releases:

No fixed releases provided.

Description:

Info

We are using a sharded cluster of version 5.0.22. Recently, we have experienced that mongos reported the error "DNS resolution while connecting to peer was slow" for several times, which lasted about dozens of minutes each time. During this period, the cluster performance degraded significantly. All shards and config servers hostname are added to /etc/hosts. We wonder why mongos still went to DNS instead of having got the address directly from the hosts file. We find the Jira (https://jira.mongodb.org/browse/SERVER-53662) here with very similar symptom. According to the records, it linked to another one (https://jira.mongodb.org/browse/SERVER-59876). I do not know if they are related, but it doesn't look like the issue has been fixed. Platform - GCP VM CPU - x86 OS - Ubuntu 20.04.5 LTS

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Verification

Learn More

Search:

...