You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2c91982
Browse filesBrowse the repository at this point in the historyBrowse files
fix: Address code review comments on PSC DNS error handling
- Implement transient vs non-transient error detection in MonitoredCache.
- Detect immutable instance DNS names using the corrected regex.
- Avoid checking error message strings by using custom exception type (DnsLoopError).
Address review comments:
- kgala2: 'Should we have a try catch block of this sort to have a graceful shut in case of transient failures?'
- hessjcg: 'Use an error code. Don'\''t check error message strings.'
- hessjcg: 'The correct logic for detecting an immutable instance dns name: IF name matches /\.sql(-\w+)?\.goog$/ AND name does not match /\.global\.sql(-\w+)?\.goog$/'
0 commit comments