Skip to content

Raiden must quit when disk is full #675

@hackaugusto

Description

@hackaugusto

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

  • Write a test for a full disk scenario.
  • Add SQLite exceptions into the gevent hub SYSTEM_ERROR

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions