bug-1421 added two term-discovery fallback vectors so a stale-term primary steps down instead of retrying AppendEntries forever: heartbeat-reply state-report term adoption and WAL-NACK reply_term adoption, both inside repl_ack_decode_and_dispatch. Neither had a test driving the real production dispatch path and asserting raft_on_higher_term_observed actually fires. Adds two tests mirroring test_config_repl.c's existing config-push term test, driving peer_ctrl_msg_handler -> repl_ack_decode_and_dispatch via wire-shape capnp packets. Both pass immediately -- the underlying bug-1421 code was already correct, just unverified end-to-end -- closing raft-adapter-conformance's Requirement 7.5 unverified claim. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LXkenK8rqE8mdS1YKjsq78 |
||
|---|---|---|
| .. | ||
| autoscaler | ||
| configs | ||
| controller | ||
| docs | ||
| frontend | ||
| include | ||
| lib | ||
| nixSupport | ||
| scheduler | ||
| schema | ||
| tools | ||
| worker | ||
| xceadmin | ||
| flake.lock | ||
| flake.nix | ||
| meson.build | ||
| meson.options | ||