Open nclack opened 1 year ago
There's a bit of a problem with state management when the storage sub-system fails.
A typical caller acquisition loop probably looks something like:
while( cpx_get_state(runtime)==DeviceState_Running && ... )
When a write fails, the storage thread will exit, but the runtime fails to monitor that failure and stays in a "Running" state.
_Originally posted by @nclack in https://github.com/calliphlox/cpx/pull/75#discussion_r1029930401_
There's a bit of a problem with state management when the storage sub-system fails.
A typical caller acquisition loop probably looks something like:
When a write fails, the storage thread will exit, but the runtime fails to monitor that failure and stays in a "Running" state.
_Originally posted by @nclack in https://github.com/calliphlox/cpx/pull/75#discussion_r1029930401_