kill statement can't work and write result to conn takes a lot of time #44009
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
severity/moderate
sig/sql-infra
SIG: SQL Infra
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)
after #32809, when a conn receives a kill signal, it can skip out of the blocked read of client cmd and check the kill signal, and quit. This has a pre-condition that you have done the last cmd your received (meaning dispatch and writing result work is done)
But if we blocked at step 3-2 (writing result) in the last cmd you just received, the kill signal is impossible to be checked even if you have the read cmd timeout.
2. What did you expect to see? (Required)
kill statement should be responded quickly anyway
3. What did you see instead (Required)
block at writeResult to conn
4. What is your TiDB version? (Required)
even master
The text was updated successfully, but these errors were encountered: