Closed
Description
Bug Report
MPP tasks may leak threads forever
1. Minimal reproduce step (Required)
1.Do a lot of query between multiple TIFlash nodes.
2. Kill a TiFlash process at the same time.
3.use pstack to find that MppTunnel and its consumer will not be closed as expected when MppTunnel received cancel request before consumer connects it. You can also print some log to find that.
2. What did you expect to see? (Required)
MppTunnel and its consumer will be closed as expected when MppTunnel received cancel request before consumer connects it.
3. What did you see instead (Required)
MppTunnel and its consumer did not be closed as expected when MppTunnel received cancel request before consumer connects it.
4. What is your TiFlash version? (Required)
6.0.0 alpha
Activity