ozzy-replication
Sans-I/O replication and recovery cores for
Ozzy partitions. Runtime, transport, and file
execution live outside this crate. Applications use the
ozzy SDK.
Owns
- Fixed three-broker disk-quorum groups: ordered operations, digest chains, votes, commit, and application.
- Elections: contact deadlines, durable promises, and view installation.
- Bounded retention, volatile receipts, probes, and gap repair.
- Recovery of a broker that lost its store, from two other brokers.
- Single durable authority with no quorum or election.
- Native replica message codecs.
Entry points
| Item | Use |
|---|---|
NormalReplica |
Normal-operation core of one group |
driver::ReplicaDriver |
Normal and election scheduling |
flow::{Sender, Receiver, Transmitter, ProbeScheduler} |
Retention, receipts, probes, and repair |
recovery::Recovery |
Lost-store recovery admission |
local::Driver |
Single durable authority |
wire |
Replica message codecs |
Configuration, ConfigurationRecord |
Group membership and its canonical record |
The broker adapter in ozzy-runtime (replica_actor) owns the sockets and
partition journals.
Docs
- Replication: authority, voting, elections, recovery, and limits.
- Protocol: replica messages.