-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
See GoogleCloudPlatform/alloydb-java-connector#669 where we discovered that a terminal exception will leave the refresh operation operation state with refreshRunning set to true. This prevents future connection attempts from succeeding once the terminal state has resolved.
Key fix is here:
There needs to be this:
synchronized (connectionInfoGuard) {
refreshRunning = false;
}Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.