-
Notifications
You must be signed in to change notification settings - Fork 512
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
Hour reaper fail, database size grow too large #3728
Comments
I run
|
I am also seeing this exact behavior on all of my Stellar Horizon deployments.
If you look at my logs as well as logs from the user above, you see that the reaper times out after 10 seconds. I looked around a bit, and I believe this bug was introduced in Hard-coding a timeout of 10 seconds made everyone's auto reapers timeout forever. Perhaps with the only exception of those who are running really powerful machines where the reaper can run within 10 seconds, which is still not ideal because missing a single reaper tick will make the next one less likely to succeed due to having a larger data set to reap, eventually cascading into a 100% reaper failure rate. This effectively disables Perhaps it would be better to not use a shared context for all tickers here: go/services/horizon/internal/app.go Lines 384 to 402 in dc5baa1
And instead use a separate context for the reaper ticker, which should have a timeout higher than 10 seconds, which can also be configured via CLI/env var params? |
sorry, I not find same issue. this issue need close |
horizon config
The text was updated successfully, but these errors were encountered: