mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-28 05:34:02 +00:00
A physical-sequence read filtered an adopted file by the cursor of the piece each row belongs to, but bounded a file the region allocated itself by one region-level floor: the least advanced of its slices. That floor is exact only while a region's pieces carry one cursor value, and the flow model this serves keys progress per (region, piece) and evaluates it pointwise, so the assumption does not hold after a repartition. Take the same candidate selection for an own file: its region's slices, chosen by whether the piece may hold rows of the file, bounded below by the least advanced candidate and above by the least bound a candidate states. Own rows carry this region's numbers, so the scan's own upper bound applies when no candidate states one, where an adopted file stays open-ended above. With one cursor value per region the least candidate is that value, so the delivered rows are unchanged. Signed-off-by: discord9 <discord9@163.com>