tikv / tikv/pd

Check label strictly by adding more store info

Open
#1,571 3 comments 0 reactions 0 assignees View on GitHub
status/discussion-wanted
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

User may have misconfigured labels, such as two different labels on one machine. This may misguide PD to schedule the majority peers on the machine. When it is down, TiDB cluster may not make progress.

To prevent this error, we can add additional info in the PutStoreRequest, such as hostname or IP. PD can check label strictly using this info.

Cc @nolouch

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.