Repository navigation
docs(ruby): document the warning and immediate failover failure when cluster_instance_host_pattern is missing - #64
Open
aaron-congo wants to merge 1 commit into
Conversation
…g and immediate failover failure When the connection host isn't a recognized RDS endpoint and cluster_instance_host_pattern isn't set, the wrapper logs a warning at connect on Aurora and RDS Multi-AZ DB clusters, and failover raises FailoverFailedError immediately. Document that behavior, the '?' opt-out for environments where bare instance identifiers resolve, and which host pattern applies for gdb_failover on Global Databases vs regional dialects.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents a behavior change in the AWS Advanced Ruby Driver Wrapper (aws/aws-advanced-ruby-driver-wrapper#235), coming in the next release.
When the connection host isn't a recognized RDS endpoint (an IP address or a custom domain/CNAME) and
cluster_instance_host_patternisn't set, the wrapper can't build resolvable DB instance hosts from the cluster topology. Previously, failover retried those hosts untilfailover_timeout_sec(300 s by default) and then failed. With this change, on Aurora and RDS Multi-AZ DB clusters:FailoverFailedErrorimmediately, with the same explanation;cluster_instance_host_pattern: "?"turns off both, for environments where bare instance identifiers resolve (for example through a DNS search domain).For
gdb_failover, the GDB Failover page now spells out which host pattern applies:global_cluster_instance_host_patterns;wrapper_dialect: aurora-pg, or a single-region Global Database withwrapper_dialectunset), that setting is ignored andcluster_instance_host_patternapplies, so the same warning and failure occur.Which docs are affected?
Ruby only:
cluster_instance_host_patternparameter row;FailoverFailedErrordescription.global_cluster_instance_host_patternsparameter row.Source changes are in
content/failover.yaml,content/plugins.yaml,content/compatibility.yamlandcontent/templates/enhanced-failover.md.j2. The pages undersite/docs-ruby/are regenerated withgenerate.py.Checklist