Files
greptimedb/tests-integration/src
discord9 f8bf938b70 fix(recordbatch,datanode,client,flow): state a watermark's own slice and its creators
An incremental read proves a region's watermark, but the proof travels without the
two facts that make it usable: which partition expression the region was opened
under, and which regions' files the region could see at that moment. Both are
known when the scan opens the version that yields the watermark, and both are lost
afterwards: the entry carried `partition_expr: None` unconditionally, the client
projected the entries onto `region -> sequence`, and the flow sample kept only that
projection.

Carry the expression identity and the visible foreign creators alongside the
watermark from the same version snapshot. `None` means unknown, never "none": a
caller that has to decide whether a round may advance cannot read an absent answer
as a negative one.

Keep the region-wide entry and its slices apart, and keep "read without a proved
watermark" apart from "never read".
2026-11-24 17:11:19 +08:00
..