Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlproxyccl: Add codeUnavailable to the list of error codes #77442

Merged

Commits on Mar 14, 2022

  1. sqlproxyccl: Add codeUnavailable to the list of error codes

    Release justification: fixes for high-priority bug in existing functionality
    
    Previously, if a tenant cluster had maxPods set to 0 the error returned by
    directory.EnsureTenantAddr was not treated as a non-retryable error.
    
    The tenant directory implementation used in CockroachCloud now identifies
    this situation and returns a status error with codes.FailedPrecondition and
    a descriptive message.
    
    This patch adds a check for the FailedPrecondition error in
    connector.lookupAddr.
    
    Release note: None
    alyshanjahani-crl committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    5bd1ae2 View commit details
    Browse the repository at this point in the history