Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tidb集群版本为v6.1.5,命令行修改tidb_mem_quota_query参数后,reload整个集群就报错
[TiDB Usage Environment] Production Environment
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
The TiDB cluster version is v6.1.5. After modifying the tidb_mem_quota_query parameter via the command line and reloading the entire cluster, an error occurs:
{ssh_stderr: , ssh_stdout: [2023/09/11 09:41:13.539 +08:00] [FATAL] [terror.go:292] ["unexpected error"] [error="config file /acdata/tidb-cluster/tidb-deploy/tidb-4000/conf/tidb.toml contained invalid configuration options: tidb_mem_quota_query; check TiDB manual to make sure this option has not been deprecated and removed from your TiDB version if the option does not appear to be a typo"]
Checking the configuration file on the tidb-server node shows two parameters:
mem-quota-query = 64424509440
tidb_mem_quota_query = 64424509440
Using the command tiup cluster edit-config tidb-cluster-name to re-edit the cluster configuration file, saving and exiting, and then reloading still results in an error:
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]