feat(ha-repl-hardening): add batch entries list to WalCatchupEntry schema (task 1.2)

Add self-referential entries @3 :List(WalCatchupEntry) field with
$C.maplistcount("n_entries"). Single-entry path unaffected — n_entries
defaults to 0, entries to NULL when not using batch mode.
This commit is contained in:
Rongsong Shen 2026-06-04 13:46:04 +00:00
parent 9a977b3a43
commit 51907ebfbc
3 changed files with 8 additions and 5 deletions

View file

@ -17,7 +17,7 @@
- _Requirements: 1.1, 1.3_
- _Boundary: Wire Protocol (controller.capnp)_
- [ ] 1.2 Extend `WalCatchupEntry` for batch support in controller.capnp
- [x] 1.2 Extend `WalCatchupEntry` for batch support in controller.capnp
- Add `entries :List(WalCatchupEntry)` field for multiple entries per message
- Regenerate capnp bindings; verify compilation
- Compilation succeeds; single-entry decode path still works