The metastore FSM recovers from any panics in Raft command handlers. This change adds a custom error type which when used in a panic will result in a real panic. It also downgrades a few existing error cases, when the underlying issue is a logical one (a bug) as opposed to a technical problem.
The intention is to terminate replicas when they encounter a real error, e.g., failing to persist the state to the DB.
The metastore FSM recovers from any panics in Raft command handlers. This change adds a custom error type which when used in a panic will result in a real panic. It also downgrades a few existing error cases, when the underlying issue is a logical one (a bug) as opposed to a technical problem.
The intention is to terminate replicas when they encounter a real error, e.g., failing to persist the state to the DB.