feat(ha-repl-hardening): add snapshot chunk fields to capnp schema (task 1.3)

Extend SnapshotTransfer struct from 2 to 6 fields:
- snapshotLsn (existing), chunkIndex, chunkOffset, totalSize,
  isLast, payload (existing)
No resumption fields per restart-on-reconnect policy.
This commit is contained in:
Rongsong Shen 2026-06-04 13:55:45 +00:00
parent 51907ebfbc
commit 0121bc0683
3 changed files with 18 additions and 5 deletions

View file

@ -24,7 +24,7 @@
- _Requirements: 5.1_
- _Boundary: Wire Protocol (controller.capnp)_
- [ ] 1.3 Add snapshot chunk fields to capnp schema
- [x] 1.3 Add snapshot chunk fields to capnp schema
- Add `checkpointLsn`, `chunkIndex`, `chunkOffset`, `totalSize`, `isLast` fields to the snapshot transfer message
- No resumption fields — restart-on-reconnect policy means no snapshot progress state in `stateReport`
- Regenerate capnp bindings; verify compilation