mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
Models the ClickHouse/Datastore Keeper swap: a Keeper-shaped KV state machine with commit(log_idx, op) (mirroring IKeeperStateMachine::commit) driven to finality by libluxconsensus instead of NuRaft. Keeper write requests ride consensus as ordered log payloads; Quasar's decision callback is the commit signal — the slot KeeperServer's nuraft::raft_server occupies today. Asserts exactly-once, in-order commit and final KV state. 'make test-keeper' passes: 7 ordered commits, zero Raft.