GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-go-connector

Log a warning message, don't close connections when DNS fails to resolve

Open
#895 0 comments 0 reactions 1 assignee Claimed by @hessjcg View on GitHub
priority: p1 type: feature request
Dominant language
Go
Stars
145
Forks
35
Avg merge
3d 22h
Merged PRs (30d)
5

Description

When polling for DNS changes, if the DNS entry fails to resolve, the connector should log an INFO message. The connector should not close all of the connections. This will make a more graceful user experience if when DNS resolution suffers an intermittent failure.

https://github.com/GoogleCloudPlatform/cloud-sql-go-connector/blob/72361f162697538697560d8c904d1fec9f75b714/monitored_cache.go#L133

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.