forked from lei.chen/myxce
Found a clean, reusable fault-injection technique: vote/PreVote endpoints are TLS, and endpoint_connect() succeeds at the TCP level independent of the handshake, so an accept-then-close impostor listener on a peer's port deterministically causes an async SSL_do_handshake failure post-connect -- landing in vote_ep_err_handler/pre_vote_ep_err_handler (task 3.1's fix target), never the already-fixed bug-1423 connect-refused path. Independently reproduced by the reviewer from scratch: both a RequestVote round and a PreVote round resolved via the fast all-replied-no-quorum path in single-digit milliseconds, vs the 5000ms configured election timeout (confirmed firing later as a no-op). Requirements 4.2, 4.3, 4.5 proven live, both vote kinds. All 15 raft-adapter-conformance sub-tasks now complete. 1067 tests, 0 failures, 8 commits' worth of production fixes (config-push reply integrity, vote/PreVote failure routing, dormant-sender documentation), plus 6 regression-lock/confirmation/live-soak tasks. Two residual gaps logged as new bugs during the sweep (bug-1483, bug-1484), both pre-existing and out of this spec's scope. |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||