-
Notifications
You must be signed in to change notification settings - Fork 378
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
Raiden must quit when disk is full #675
Comments
|
I think I can do this :) |
@carllin sure go ahead. |
I managed to provoke an Does anyone have an idea how the real test might look? It seems like I need to run a complete I also think that we already handle the case correctly with the general error handler at https://github.com/raiden-network/raiden/blob/master/raiden/ui/runners.py#L186 . Or is there anything else we want to do in that case? |
I don't think it's possible to write this as a unit test, since the requirement is to exit the application.
|
Yeah I guess this should be fine -- covers not only lack of disk space but corrupt sectors or what not. |
Approach 1: spawn a new raiden process via command lineNot only do we need to set up geth, keystore and the raiden service but also the required contracts for raiden to start successfully. We'd mostly need to rebuild the whole smoke test. That's overly complicated and redudant. Approach 2: Build on existing
|
Problem Definition
To guarantee resilience all WAL write operations must succeed, if the log backend fails (e.g. sqlite) under certain circumstances (out-of-memory, disk-full, etc.) the process cannot make progress in any form, if the node tries to progress it will lose important data. To avoid further errors the node must quit immediately.
Solution
Treat SQLite exceptions as final and quit the process.
Tasklist
SYSTEM_ERROR
The text was updated successfully, but these errors were encountered: