mirror of
https://github.com/slackhq/nebula.git
synced 2026-08-15 14:47:02 +02:00
66cb98e13a
The rewind (resume after the kernel accepts fewer entries than submitted) was the hairiest untested logic in the write path; a bug there silently duplicates or loses packets under backpressure. Give batchWriter an injectable sendFn and drive WriteBatch through scripted partial-acceptance sequences over a mixed GSO-run/plain batch, decoding what "reached the wire" straight from the prepared iovecs rather than the entryEnd bookkeeping under test. Also pins the zero-progress abort and the EIO runtime GSO-disable replay. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>