【 TiDB 使用环境】测试/ Poc
【 TiDB 版本】7.5
想修改pd的日志保留时间
mysql> set config pd log.file.max-days
= 7;
Query OK, 0 rows affected, 3 warnings (0.01 sec)
mysql> show warnings;
±--------±-----±------------------------------------------------------------------------------------------+
| Level | Code | Message |
±--------±-----±------------------------------------------------------------------------------------------+
| Warning | 1105 | bad request to http://xx.x.xx:2379/pd/api/v1/config: “only support changing log level”
|
| Warning | 1105 | bad request to http://x.x.x.xx:2379/pd/api/v1/config: “only support changing log level”
|
| Warning | 1105 | bad request to http://x.x.x.xx:2379/pd/api/v1/config: “only support changing log level”
|
±--------±-----±------------------------------------------------------------------------------------------+
3 rows in set (0.01 sec)
提示这个错误