feat(ha-wal-replication): repl_broadcast TCP send (task 1.1)

Replace no-send stub with real WAL entry transmission via
xce_wal_batch_req_raw. For each non-catch-up registered standby,
serialize the entry header+payload into a wal_catchup_entry_t
and enqueue. Keep the MAX_PENDING_ACKS eviction guard.

5 new tests: no-standbys, one-standby-send, skip-catch-up,
evict-overloaded, send-failure-continues. Controller suite green.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Rongsong Shen 2026-06-10 08:11:05 +00:00
parent cdd446fc17
commit 18e351ee1b
7 changed files with 780 additions and 91 deletions

View file

@ -1,5 +1,5 @@
{
"last_heartbeat": "2026-06-10T01:06:27.659Z",
"last_heartbeat": "2026-06-10T04:06:28.742Z",
"engine_status": "running",
"execution_log": [
{