Check label strictly by adding more store info
Open
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
Assessment
This issue has not been assessed yet.