cartesi / rollups-node

Reference implementation of the Cartesi Rollups Node
Apache License 2.0
23 stars 64 forks source link

Add server-manager session management #547

Open marcelstanley opened 3 months ago

marcelstanley commented 3 months ago

📚 Context

Currently, the node cannot recover form server-manager failures on the fly. When such failures happen, the node has to be restarted and all existing input must be processed again in order to restore the state and resume operation.

✔️ Solution

As a further step to #541, we shall add support for session management on the node, based on snapshots saved by leveraging an existing server-manager feature which saves state between epochs.

This would allow the node to implement proper error handling, and the node would:

📈 Subtasks