Skip to content

Add support for --failover-period flag #2386

Open

Description

@jackwotherspoon

We need to add a flag for configuring the underlying failover period for
disaster recovery when Proxy is configured with a DNS domain name.

The flag will just set the WithFailoverPeriod() Option for the Cloud SQL Go Connector under the hood.

The connector will poll for changes to the DNS name every 30 seconds by default.
You may configure the frequency of the connections using the option
WithFailoverPeriod(d time.Duration). When this is set to 0, the connector will
disable polling and only check if the DNS record changed when it is
creating a new connection.

Activity

  1. added
    priority: p1Important 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.
    on Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p1Important 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.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions