update documents

This commit is contained in:
Rongsong Shen 2026-08-10 17:51:51 +08:00
parent c705cadadc
commit d70bf6a402
51 changed files with 995 additions and 1997 deletions

View file

@ -13,8 +13,10 @@ Bridge the WAL replicator and HA connection layer so WAL entries written on the
Standby receive (cluster.c):
OPCode_walCatchupEntry → handle_wal_catchup_entry
→ ha_apply_wal_catchup_entry → apply_wal_entry
→ send WalAckReply(lsn)
→ ha_apply_wal_catchup_entry → persist_wal_write_replicated (durable
write; entity apply is now deferred to the commit-driven apply pump,
not immediate — see note below)
→ send WalAckReply(lsn) [helper: ha_send_wal_ack_reply, ha.c]
Primary receive (ha.c):
OPCode_reply + WalAckReply → repl_on_ack → signal ack_cond