wait_ts in slow log is inaccurately #22223
Labels
duplicate
Issues or pull requests already exists.
severity/minor
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
mock a delay in TiDB code:
then:
Check the related slow-log of last SQL:
As you can see, the
Query_time
is0.032630017
second, but theWait_TS
is0.050233804
, it's wired, sinceWait_TS
should be 0 for the queryselect ...
, and theWait_TS
should only emerging in the slow log of the SQLbegin
.2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: