Skip to content

[core] Bound queued BLOB split batches by a shared byte budget - #1508

Open
XiaoHongbo-Hope wants to merge 6 commits into
apache:mainfrom
XiaoHongbo-Hope:codex/blob-output-byte-budget-20261123
Open

XiaoHongbo-Hope wants to merge 6 commits into
apache:mainfrom
XiaoHongbo-Hope:codex/blob-output-byte-budget-20261123

Conversation

@XiaoHongbo-Hope

@XiaoHongbo-Hope XiaoHongbo-Hope commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add a per-read BLOB output budget (read.blob.output.max-buffered-bytes, default 256 MiB). Split groups reserve whole MiB permits before decoding and hold them while batches wait for the consumer. Unknown payload sizes reserve the full budget; descriptor reads do not use it.

Parallel payload reads disable Parquet row-group prefetch to avoid a cycle between the two budgets. Split parallelism remains enabled. This budget covers batches in the split executor, not decoder memory or batches retained by callers; it is not a process RSS limit. Default split parallelism is unchanged. Performance benchmarking is pending.

Validation

The parallel read integration suite (7/7, including the multi-batch deadlock regression), targeted REST View and executor tests, Clippy, formatting, and diff checks passed locally.

@XiaoHongbo-Hope
XiaoHongbo-Hope marked this pull request as ready for review November 23, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant