You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An application might implement a pure in-memory state machine, which will be discarded when server is shutdown, and will be rebuilt from the last snapshot the next time server starting up.
In such a scenario, the state of the state machine falls back to a previous state after restart. And openraft should help the app to rebuild the state machine to the latest state.
Consider informing the storage to persist the last_applied_log_id, even when applying log entry to a pure in-memory state machine; And reload the persisted last_applied_log_id when starting up;