-
Notifications
You must be signed in to change notification settings - Fork 20k
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
Signal --prune
complete
#24344
Comments
Do you mean |
Any issue or tracker I can follow for this? What would you suggest as best solution short term while that's in development? |
We don't have |
Also, once it's done, the process will exit. Why is that not sufficient? I mean, you could always do |
That's sufficient yes, sorry I wasn't aware of this fact. |
Rationale
For automated managers of Geth nodes (i.e. DAppNode dappnode/DNP_DAPPMANAGER#915) it would be necessary to know reliably that
--prune
has completed (either successfully or not), in order to restart Geth without--prune
flag. To my knowledge the only signal that pruning is done is a log to stdout.Implementation
Touch a flag file when prune is complete if some flag is set, i.e.
--prune-flag-file
. Otherwise if the team can assure that the printed log to stdout is reliable enough and won't ever change without a breaking change notice that should work too but it's a bit more ugly.Let me know if that makes sense or what you think is a better strategy
The text was updated successfully, but these errors were encountered: