mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-29 22:24:02 +00:00
CREATE FLOW ... WITH (max_memory = '512MB') is validated (ReadableSize, positive, batching flows only), persisted with the flow options and resolved on the flownode into the task config. Every flow-owned query that executes on a frontend now carries flow.max_memory_bytes together with flow.flow_id, including recovery window capture and flow-owned SQL statements, so no flow query path escapes the budget. Without the option no new extension is emitted. Signed-off-by: discord9 <discord9@163.com>