-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
Graceful shutdown if disk is full #20965
Comments
Is this a good first issue? |
I think this is a fairly good first issue. The feature should:
|
Let me take a look, and try to implement it! |
@holiman So does this be two stage operation? Once the free space is under stage 1 limit then geth will start to print warnings. If the free space is keeping dropping until the stage 2 limit, then geth will graceful shutdown |
I made a pull request that implements this: #21884. Would appreciate some review comments and guidance, I'm new to this repository and still learning, thx. ✌️ |
Please review a new implementation: #22103 |
Fixed via #22103 |
this is a follow up of #20845
we should periodically monitor the free space on the disk we are operating on and if we fall under a certain limit we should gracefully shutdown the node to prevent database corruption
The text was updated successfully, but these errors were encountered: