Repository navigation
Conversation
karenc-bq
commented
Oct 16, 2026
karenc-bq
force-pushed
the
fix/gdb-switchover-and-perf-tests
branch
from
October 16, 2026 02:09
731155d to
741be9a
Compare
sophia-bq
previously approved these changes
Oct 19, 2026
sophia-bq
reviewed
Oct 19, 2026
| raise 'No global cluster identifier configured' if global_cluster_id.nil? | ||
|
|
||
| target_arn = cluster_arn(target_cluster_id) | ||
| # RDS rejects a switchover while either member is still settling from a previous transition, |
Contributor
There was a problem hiding this comment.
Approved, given the failure in the gdb run on this branch is that unrelated and to be investigated separately? https://github.com/aws/aws-advanced-ruby-driver-wrapper/actions/runs/38956612852
aaron-congo
reviewed
Oct 19, 2026
karenc-bq
force-pushed
the
fix/gdb-switchover-and-perf-tests
branch
from
November 17, 2026 03:35
741be9a to
458e0b7
Compare
sophia-bq
approved these changes
Nov 19, 2026
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.
Summary
Fix three defects that prevent the performance and Global Database integration suites from passing.
Description
wrapper_propsreferencedAwsRubyDatabaseDriverWrapper::PropertyDefinition, but the module isAwsAdvancedRubyDriverWrapper@unhandled_exceptions, which fails the example. A 30 secondread_timeoutagainst a 30 second outage delay lands the socket timeout and the outage together, so the MySQL leg failed ontimeout=30s outage=30000mswhile PostgreSQL passed. Such an iteration has no detection time to measure, so it is now discarded; a failure to open the connection still fails the example.switchover_global_clustersent the request without checking member state, and RDS rejects a switchover while a member is still settling from an earlier transition, withInvalidDBClusterStateFault. A failback issued straight after a switchover never landed, which left the global cluster with the secondary region as primary for every later example. The call now waits for both member clusters to reportavailable.IamAuthUtils.region_forresolves a global writer endpoint throughdescribe_global_clusters, reading the region from the writer member's ARN, but it constructsAws::RDS::Clientwithout a region and the test container ran with noAWS_REGION, so the lookup raisedAws::Errors::MissingRegionErrorinstead.base_iam_propsworked around that by pinningiam_regionto the configured primary region, which short-circuitsregion_forand signs a token for the wrong region once a switchover has moved the writer, givingPAM authentication failed. The container now receivesAWS_REGION, andbase_iam_propsno longer setsiam_region.Removed
raises IamAuthError when iam_region is missing for global endpoint. It connected a standard global endpoint with no region and asserted theunable to determine connection regionfailure, which happened only because the container had no default region. Theiam_regionoverride is still covered byconnects to secondary cluster endpoint with IAM.Impacted integration tests are running:
Global Database, Aurora PostgreSQL Performance, Aurora MySQL Performance.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.