omnipaxos icon indicating copy to clipboard operation
omnipaxos copied to clipboard

Rework error handling

Open kevin-harrison opened this issue 1 year ago • 0 comments

Right now Omnipaxo's functions panic on errors instead of returning results. This makes it awkward for users to recover their crashed Omnipaxos instances. It's standard for library crates to generate thiserror errors and allow users to handle them. Furthermore, Omnipaxos can be made to recover from errors in the back-end storage without restarting the entire instance. We need to be careful to only update in-memory state if a call to the back-end storage was successful.

kevin-harrison avatar Nov 13 '23 14:11 kevin-harrison