nethermind icon indicating copy to clipboard operation
nethermind copied to clipboard

Shutdown with warning when disk space is low

Open flcl42 opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. The database grows in size constantly when the client runs, it may lead to the situation when there is no more space on device The client still tries to save the data, which results in data saving errors and possible database inconsistency

Describe the solution you'd like To prevent from database issues that may appear when more space is allocated and the client continues running Let the client shutdown gracefully with a warning message, that may look like that: "Client execution is stopped because there is not enough space left on the device. Please, allocate more space for %db_path%, then start the client again"

Describe alternatives you've considered The users may try to use pruning to free some space, should we inform about such option? How the client should behave when it starts and there is still not enough space, but the pruning is enabled?

Additional context

Full pruning should not break the database and rollback correctly when the client terminates due to lack of space. // TODO: Add the current exceptions we get when out of space

flcl42 avatar Jul 28 '22 09:07 flcl42