Feature Request: Rails startup (information_schema) queries to work with @replica
usage when some keyspaces have no replicas
#17882
Labels
Component: Query Serving
Component: VReplication
Needs Triage
This issue needs to be correctly labelled and triaged
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
Feature Description
The following scenario fails during a
MoveTables
workflow:MoveTables SwitchTraffic --tablet-types=replica
has been donetarget_keyspace_name@replica
When Rails starts up, it issues queries like:
This query is documented in test cases here.
But those queries fail with:
Desired behavior
If we know:
target_keyspace_name@replica
We could make sure that information_schema queries are routed to only the target keyspace replica. Or, something else to just "make it work", since user has specified
target_keyspace_name
specifically. They can reasonably expect only target keyspace replicas to be targeted.Actual behavior
information_schema
queries are still being routed to the source keyspace.Use Case(s)
See above scenario.
Potentially relevant PRs
#6932
The text was updated successfully, but these errors were encountered: