-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
A lot of global lock test errors #32322
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
Comments
How were these errors reproduced? Is it possible that the previous test was aborted and the lock was not released, and the test was restarted before the lock expired? |
I cannot reproduce it on my local machine. macOS go1.23.2 run with |
No idea, I just caught it from github actions. https://github.com/go-gitea/gitea/actions/runs/11459790779/job/31885087438 |
It fails a lot, probability > 5% or 10% |
The root problem is that the global lock (redis) implementation is not right. But I guess I won't spend more time on it. Even if the lock goes wrong, end users won't be hurt too much at the moment. |
The text was updated successfully, but these errors were encountered: