Closed Lloyd-Pottiger closed 1 month ago
Why querying information_schema.tiflash_tables in v7.5.x/v8.1.x are not affected?
Why querying information_schema.tiflash_tables in v7.5.x/v8.1.x are not affected?
Only affects keyspace mode. In v7.5.x/v8.1.x, keyspace is always equal to NullspaceID.
Timeline:
2024-08-27 02:27:18.821671488 +0000 UTC m=+837233.956121604
: :ballot_box_with_check: agreed by breezewish.2024-08-27 02:58:18.466310205 +0000 UTC m=+839093.600760346
: :ballot_box_with_check: agreed by JaySon-Huang.[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: breezewish, JaySon-Huang, JinheLin
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@Lloyd-Pottiger: Your PR was out of date, I have automatically updated it for you.
At the same time I will also trigger all tests for you:
/run-all-tests
trigger some heavy tests which will not run always when PR updated.
If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.
/retest
What problem does this PR solve?
Issue Number: ref #9032
Problem Summary:
A.
B:
This is because we always try to sync the schema version when querying from CLI client. Under keyspace mode, a KeyspaceID is required for it to work.
What is changed and how it works?
TiFlash's system tables don't need to sync schemas before querying. It does not belong to any keyspace as well. So we just skip sync schemas for these tables.
After this PR:
Check List
Tests
Side effects
Documentation
Release note