Skip to content
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

Verify cluster ID when connect to TiKV #21585

Open
disksing opened this issue Dec 9, 2020 · 0 comments
Open

Verify cluster ID when connect to TiKV #21585

disksing opened this issue Dec 9, 2020 · 0 comments
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@disksing
Copy link
Contributor

disksing commented Dec 9, 2020

Feature Request

Is your feature request related to a problem? Please describe:

Some times TiDB may connects to a TiKV server belong to another cluster. And we don't compare their cluster ids.
#21584 describes an example.

Describe the feature you'd like:

When a tidb-server connects a tikv-server, it sends its cluster id (which was acquired from PD). TiKV checks if they belong to the same cluster.

Describe alternatives you've considered:

When a tidb-server connects a tikv-server, it loads the tikv's cluster id and check if they belong to the same cluster.

Teachability, Documentation, Adoption, Migration Strategy:

@disksing disksing added the type/feature-request Categorizes issue or PR as related to a new feature. label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant