-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*(cdc): accept access denied error when query tidb_version #11129
*(cdc): accept access denied error when query tidb_version #11129
Conversation
/retest |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #11129 +/- ##
================================================
+ Coverage 57.5456% 57.6075% +0.0619%
================================================
Files 854 854
Lines 126053 126124 +71
================================================
+ Hits 72538 72657 +119
+ Misses 48123 48077 -46
+ Partials 5392 5390 -2 |
/test dm-integration-test |
/test dm-integration-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: asddongmen, hongyunyan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
/test dm-integration-test |
1 similar comment
/test dm-integration-test |
In response to a cherrypick label: new pull request created to branch |
In response to a cherrypick label: new pull request created to branch |
In response to a cherrypick label: new pull request created to branch |
In response to a cherrypick label: new pull request created to branch |
What problem does this PR solve?
Issue Number: close #11128
What is changed and how it works?
When the downstream is a mysql cluster behind a workload balancer on the cloud, the workload balancer may provide an access point using domain name;

When cdc access the downstream using the domain name, the connection will use database
information_schema
automatically. In this case, when queryselect tidb_version()
, the downstream will report error for non-root user like: Access denied for user xxx to database 'information_schema'.Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note