-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
Right now if a laptop goes to sleep with an active connection to a Cloud SQL instance, the socket factory won't recover on its own once the laptop has been restored.
There are limitations in Java to handling this:
Nonetheless, we should throw out a bad connection and force a refresh, such that the socket factory recovers gracefully from sleep.
See https://github.com/luryus/cloud-sql-jdbc-hang for a reproduction of this issue.
Related to GoogleCloudPlatform/cloud-sql-proxy#1788.
Whatever we do here, we should port to the AlloyDB Java Connector as well.
luryus and xormik
Metadata
Metadata
Assignees
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.