`max_execution_time` doesn't contain get tso time
Open
affects-5.4
affects-6.0
affects-6.1
affects-6.2
affects-6.3
affects-6.4
affects-6.5
affects-6.6
affects-7.0
affects-7.1
affects-7.2
affects-7.3
affects-7.4
affects-7.5
affects-7.6
affects-8.0
affects-8.1
severity/moderate
sig/transaction
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
from https://asktug.com/t/topic/1023086
1. set max_execution_time = 3000
2. execute sql get tso from pd exceed 3s

### 2. What did you expect to see? (Required)
the query should interrupted after 3s
### 3. What did you see instead (Required)
the query run longer than 3s
### 4. What is your TiDB version? (Required)
master
Contributor guide
Assessment
This issue has not been assessed yet.