-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix deadlock in syncer #100
Comments
Here's what I have so far: The Syncer uses a WaitGroup to ensure that all its goroutines exit before Looking at the stack trace, we can see that there is indeed one outstanding goroutine: I think the next step is to add some debug logic to the |
Actually, first things first: |
I believe that this particular test run already uses |
I think not lol
|
Just for the sake of collecting more datapoints https://github.com/SiaFoundation/renterd/actions/runs/11127300472/job/30919534124?pr=1596 |
ok, so it's reproduced on v.1.3.0. Good to know. |
Looks like it's happening once in a blue moon though, encountered another: https://github.com/SiaFoundation/renterd/actions/runs/11612827367/job/32338279894?pr=1643 |
A random deadlock that prevents our syncer from shutting down.
https://github.com/SiaFoundation/renterd/actions/runs/11030847304/job/30636343643?pr=1574
stacktrace.txt
Originally posted by @peterjan in #92 (comment)
The text was updated successfully, but these errors were encountered: