SAFETY.md
This document applies STPA-style hazard analysis to the sled embedded database for the purpose of guiding design and testing efforts to prevent unacceptable losses.
Outline
We wish to prevent the following undesirable situations:
We draw the line between system and environment where we can reasonably invest our efforts to prevent losses.
Inside the boundary:
Outside the boundary:
These hazards can result in the above losses:
Db::flush fails to make previous writes durablefor each control action we have, consider:
durability model
lock-free linearizability model
transactional linearizability (strict serializability) model
panic model
memory usage model
storage usage model