Skip to content

MPP tasks may leak threads forever #4238

Closed
@bestwoody

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions