New Parameter in 7.5: copr-req-timeout

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 7.5新增参数copr-req-timeout

| username: ShawnYan

New Documentation Request, please provide feedback according to the template below:

  • Request Type: New Documentation
  • Background: For example, which part of the documentation is missing and how it affects usage
  • Expected Addition: Which components or features’ documentation should be added and where in the existing documentation

The documentation lacks an explanation of the new parameter,

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)
| username: ShawnYan | Original post link

	// 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"`
| username: dba远航 | Original post link

Thumbs up for your spirit.

| username: h5n1 | Original post link

Did you check each parameter in the code one by one?

| username: ShawnYan | Original post link

I did a diff, I’ll organize it and share it later.

| username: Billmay表妹 | Original post link

Feedback provided~

| username: ShawnYan | Original post link

| username: Billmay表妹 | Original post link

The related PRs can be seen.

| username: ShawnYan | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.