Do labels need to be configured on both PD and TiKV?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: label需要在PD和TiKV上同时配置吗?

| username: alfred

【TiDB Usage Environment】Production, Testing, Research
【TiDB Version】
【Encountered Problem】
【Reproduction Path】Operations performed that led to the problem
【Problem Phenomenon and Impact】

【Attachments】

Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.

| username: forever | Original post link

Yes, marking the role position of each KV on the KV, and configuring the label strategy on the PD, is equivalent to the KV telling the PD who I am and where I am.

| username: alfred | Original post link

Found it, 通过拓扑 label 进行副本调度 | PingCAP 归档文档站
Thank you

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.