raft_sim_deliver_append_entries drains the AE queue, routes each buffered AE to the (non-partitioned) destination via raft_on_append_entries_request, and routes the result back to the source via raft_on_append_entries_reply — mirroring the vote-RPC routing; partitioned endpoints are skipped. Review-applied (HIGH): raft_sim_ae_t now captures the leader's SEND-time term (leader_term) at buffer time and delivery uses it instead of the live source state.term — without this, reorder/churn delivery (9.3/9.4) would inject the wrong term and defeat UpdateTerm/stale-drop (G5). Smoke test asserts replication to a connected follower + isolation of a partitioned one. ASAN green. |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||