In distributed consensus, safety is the guarantee that all non-faulty processes agree on the same, correct value and that a faulty process cannot cause the system to decide on an incorrect or inconsistent state. This property ensures that once a decision is made, it is valid and will not be contradicted by other parts of the system. It is a core requirement for protocols like Paxos, Raft, and Byzantine Fault Tolerance (BFT), where maintaining a single, truthful history is paramount. Safety is often paired with liveness, which guarantees the system eventually makes progress.
