Skip to content

server: hold up incoming SQL connections until tenant service is ready #111637

@knz

Description

@knz

Is your feature request related to a problem? Please describe.

Requested by @smcvey : when automating cluster creation, currently crdb nodes report readiness before the SQL service for the application virtual cluster is ready to serve traffic.

This results in spurious SQL connection errors until some undeterminate time after server startup.

Describe the solution you'd like

Incoming SQL connections should be accepted and wait until the service is ready.

Epic: CRDB-26691

Jira issue: CRDB-32001

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-multitenancyRelated to multi-tenancyC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-multitenantIssues owned by the multi-tenant virtual team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions