Upstream's gather_batch compared its prefetch list with the batch by position and re-read reordered or duplicated rows. Our reader
has no such matching (tickets own their output slots, the row cache and the KAR GPU cache are keyed by row id); the tests pin it with
the upstream cases and with chunks that are permuted, shifted, repeated or partly new.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Issue the rows before the embedding read, collect before layer 1, decode
exactly as ple_row does. Reader opens lazily with the original defaults
(1M-row cache, 64 in flight, SSD keep-alive), an O_DIRECT handle on Linux
accepted only after an inode check and aligned probe read, and falls back
to the synchronous path when unavailable. Invalid LELEKA_PLE_* values are
refused.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>