7.5新增参数copr-req-timeout

文档新增需求,请按照下方模板反馈:

  • 需求类型:新增文档
  • 需求背景:比如缺少哪部分文档,对使用有什么影响
  • 期望增加哪些组件或者功能的文档,加到现有文档的哪个位置

文档中缺少对新参数的解释,

mysql> select version();
+--------------------+
| version()          |
+--------------------+
| 8.0.11-TiDB-v7.5.0 |
+--------------------+
1 row in set (0.00 sec)

mysql> select * from information_schema.cluster_config where `key` like '%copr-req-timeout%';
+------+-------------------+------------------------------+-------------+
| TYPE | INSTANCE          | KEY                          | VALUE       |
+------+-------------------+------------------------------+-------------+
| tidb | 192.168.8.92:4000 | tikv-client.copr-req-timeout | 60000000000 |
+------+-------------------+------------------------------+-------------+
1 row in set (0.04 sec)

https://github.com/tikv/client-go/blob/master/config/client.go#L84-L86

	// CoprReqTimeout is the timeout for a single coprocessor request
	// Note: this is a transitional modification, and it will be removed if it's dynamic configurable version is ready.
	CoprReqTimeout time.Duration `toml:"copr-req-timeout" json:"copr-req-timeout"`

为你的精神点赞

你是把代码里的参数挨个对了一遍吗

做了diff, 我再整理下,稍后分享出来。

已反馈~

https://github.com/pingcap/docs-cn/pull/15669
https://github.com/pingcap/docs/pull/15666

相关的 pr 可见

此话题已在最后回复的 60 天后被自动关闭。不再允许新回复。