myxce/src/lib/raft
Rongsong Shen e5b9b83955 feat(raft-log-replication): raft_log_append leader client-entry append (tasks 3.1, 3.2)
Leader-only (-EPERM for follower/candidate, no mutation/callback); index=
log_len+1, term=currentTerm (raft.tla ClientRequest:246, Req 2.1-2.4);
persist-before-act: on_persist_entry called once BEFORE log_len advances,
non-zero return propagated with no phantom entry (Req 2.5); no commit-index
advance, no transport I/O. Spy-based tests for all four branches. ASAN green.
2026-06-21 15:50:33 +00:00
..
raft.c feat(raft-log-replication): raft_log_append leader client-entry append (tasks 3.1, 3.2) 2026-06-21 15:50:33 +00:00
raft.h feat(raft-log-replication): require 4 log callbacks in raft_init + sim log backing (tasks 2.1, 8.1) 2026-06-21 15:30:09 +00:00
raft_sim.c feat(raft-log-replication): require 4 log callbacks in raft_init + sim log backing (tasks 2.1, 8.1) 2026-06-21 15:30:09 +00:00