-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
concurrency lock error #10756
Comments
I am not familiar with the usage of concurrency package. If you create the 1000 mutexes before starting the go routines, will it work? |
Do you mean this? I tried it, and it doesn't work.I got the same error.
|
I meant:
|
I am very happy that it works.However,when the number of goroutine is large, such as 1000, there will be an error at the lock. The error is "etcdserver: request timed out". |
It literally means the request is timed out. Maybe the QPS is too high and the server cannot keep up. What is the QPS? Are you using SSD or HDD? Reference on performance: https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/performance.md |
The etcd write performance is as flows. But I don't know it's SSD or HDD.They are virtual machines.
A warning appears once when I test. Summary: Response time histogram: Latency distribution: Error distribution: Thanks a lot. |
Can you also post the disk metrics? They are accessible via http endpoint
Ref: https://github.com/etcd-io/etcd/blob/master/Documentation/metrics.md#disk |
Couple thoughts:
|
I got this error.Thank you for your help
The text was updated successfully, but these errors were encountered: