myxce/.kiro
Rongsong Shen 575f928bbc plan(job-array-single-wal-record): reopen spec for residual gap closure
User directed (2026-07-16) that this feature's own open residual gaps
be fixed: bug-1443 (restore_job_array()'s bulk-insert partial-visibility
gap), task 4.2's boot-replay fence gap, and task 5.3b's bounded leak.
Unrelated pre-existing bugs 1437/1438 explicitly excluded from this
reopening per user's scope decision.

Adds Phase 7 (tasks 7.1-7.3) to tasks.md:
- 7.1: add a purely-additive kvmgr_reserve() capacity-reservation
  primitive (mirroring the existing kvmgr_capture_keys() template) so
  restore_job_array()'s bulk-insert pass can pre-grow its backing store
  before mutating, closing the dominant N-scaling failure trigger; plus
  make a genuinely-inserted partial prefix always get notified even in
  the now-much-narrower residual failure case
- 7.2: extend the Live Apply Resource Fence's halt-and-fence protection
  to replay_wal() (boot/restart replay), reusing the same primitives
  task 4.1/4.2 already built for the live path
- 7.3: free dataset->rows in sched_handle_dataset()'s jobArray case

spec.json phase reverted to tasks-generated to reflect the reopening.
2026-07-16 13:14:03 +00:00
..
settings finalize configuration replication 2026-06-09 16:40:13 +08:00
specs plan(job-array-single-wal-record): reopen spec for residual gap closure 2026-07-16 13:14:03 +00:00
steering fix(controller): bug-1433 async-thread fdatasync block + bug-1434 committed_lsn CAS race 2026-07-11 12:16:28 +00:00