Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 7.1版本中2地3中心,如何配置Placement Rules

[Test Environment for TiDB] Testing
[TiDB Version] 7.1.1
Looking at the official documentation for a 2-region, 3-center deployment topology, there is a section with configuration for version 5.2. How can I correctly convert it to the configuration for version 7.1?
label-property: # TiDB 5.2 and above versions do not support label-property configuration by default. To set replica policies, please use Placement Rules.
reject-leader:
- key: “dc”
value: “sha”