Skip to content

Commit fe15366

Browse files
authored
troubleshooting: remove outdated max-txn-time-use (pingcap#21711) (pingcap#21718)
1 parent 1afee77 commit fe15366

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tidb-troubleshooting-map.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -553,19 +553,13 @@ Check the specific cause for busy by viewing the monitor **Grafana** -> **TiKV**
553553

554554
You can increase the GC lifetime by modifying the [`tidb_gc_life_time`](/system-variables.md#tidb_gc_life_time-new-in-v50) system variable. Generally, it is not recommended to modify this parameter, because changing it might cause many old versions to pile up if this transaction has a large number of `UPDATE` and `DELETE` statements.
555555

556-
- 7.1.2 `txn takes too much time`.
557-
558-
This error is returned when you commit a transaction that has not been committed for a long time (over 590 seconds).
559-
560-
If your application needs to execute a transaction of such a long time, you can increase the `[tikv-client] max-txn-time-use = 590` parameter and the GC lifetime to avoid this issue. It is recommended to check whether your application needs such a long transaction time.
561-
562-
- 7.1.3 `coprocessor.go` reports `request outdated`.
556+
- 7.1.2 `coprocessor.go` reports `request outdated`.
563557

564558
This error is returned when the coprocessor request sent to TiKV waits in a queue at TiKV for over 60 seconds.
565559

566560
You need to investigate why the TiKV coprocessor is in a long queue.
567561

568-
- 7.1.4 `region_cache.go` reports a large number of `switch region peer to next due to send request fail`, and the error message is `context deadline exceeded`.
562+
- 7.1.3 `region_cache.go` reports a large number of `switch region peer to next due to send request fail`, and the error message is `context deadline exceeded`.
569563

570564
The request for TiKV timed out and triggers the region cache to switch the request to other nodes. You can continue to run the `grep "<addr> cancelled` command on the `addr` field in the log and take the following steps according to the `grep` results:
571565

@@ -576,7 +570,7 @@ Check the specific cause for busy by viewing the monitor **Grafana** -> **TiKV**
576570

577571
- `wait response is cancelled`: The request timed out after it is sent to TiKV. You need to check the response time of the corresponding TiKV address and the Region logs in PD and KV at that time.
578572

579-
- 7.1.5 `distsql.go` reports `inconsistent index`.
573+
- 7.1.4 `distsql.go` reports `inconsistent index`.
580574

581575
The data index seems to be inconsistent. Run the `admin check table <TableName>` command on the table where the reported index is. If the check fails, disable garbage collection by running the following command, and [report a bug](https://github.com/pingcap/tidb/issues/new?labels=type%2Fbug&template=bug-report.md):
582576

0 commit comments

Comments
 (0)