Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The goroutine count surge when region miss or TiKV server is busy #15995

Closed
tiancaiamao opened this issue Apr 2, 2020 · 0 comments · Fixed by #16849
Closed

The goroutine count surge when region miss or TiKV server is busy #15995

tiancaiamao opened this issue Apr 2, 2020 · 0 comments · Fixed by #16849
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@tiancaiamao
Copy link
Contributor

Development Task

When I am testing the large transaction, I find a suspicious issue.

image

The goroutine count surge when region miss or TiKV server is busy

image

image

So many goroutines would make the system slow, for example, it has a bad impact on runtime scheduler and we can see the TSO is affected.

tikv/pd#1847

image

The proof of the goroutines:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
2 participants