Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: v5.3.1版本tidb_replica_read作用域是否包括global
To improve efficiency, please provide the following information. Clear problem descriptions can be resolved faster:
[TiDB Usage Environment] TiDB v5.3.1
[Summary] Setting the tidb-replica_read variable to enable follower read
[Background] After installing TiDB v5.3.1 using TiUP, setting the global tidb-replica_read variable to follower or leader-and-follower is ineffective
[Phenomenon] Setting the global variable tidb_replica_read from the default value leader to leader-and-follower or follower did not take effect
[Problem] According to the documentation, the tidb_replica_read variable supports the global scope starting from v5.3, but the setting is invalid. Is there an error in the documentation?
[Business Impact]
[TiDB Version] v5.3.1
[Application Software and Version]
[Attachments] Relevant logs and configuration information
- TiUP Cluster Display information
- TiUP Cluster Edit config information
Monitoring (https://metricstool.pingcap.com/)
- TiDB-Overview Grafana monitoring
- TiDB Grafana monitoring
- TiKV Grafana monitoring
- PD Grafana monitoring
- Corresponding module logs (including logs one hour before and after the issue)
If the question is related to performance optimization or troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results for upload.