sliortega295-ops opened a new pull request, #2785: URL: https://github.com/apache/uniffle/pull/2785
### What changes were proposed in this pull request? Allow the local-order segment splitter to keep small filtered gaps inside one contiguous shuffle-data read. Buffer-segment offsets now describe the expected blocks' positions inside that complete span, while storage boundaries and the configured read-buffer limit still split requests. The fixed-size splitter keeps its existing contiguous-block behavior. Tests cover grouped gaps, exact and over-limit boundaries, trailing filtered blocks, storage changes, and the neighboring fixed-size path. ### Why are the changes needed? The previous implementation ended a segment at every filtered block. Workloads that select interleaved task attempts therefore issued many small local-data RPCs even when one bounded contiguous read could cover the same expected blocks. Grouping nearby blocks reduces request count while preserving the block metadata needed to ignore gap bytes. Fixes #2510. ### Does this PR introduce _any_ user-facing change? No public API or configuration change. Local-order shuffle reads may issue fewer, larger bounded requests. ### How was this patch tested? - `LocalOrderSegmentSplitterTest`: 14 passed - `LocalOrderSegmentSplitterTest` and `FixedSizeSegmentSplitterTest`: 19 passed - Maven JaCoCo analysis completed for 230 classes - `spotless:check` and `checkstyle:check`: passed with zero violations - clean Java 8 compilation produced class-file major version 52 - `git diff --check`: passed The focused CPU tests demonstrate that expected blocks separated by small filtered gaps are served by one bounded read instead of separate requests. No GPU was used or required. ### AI disclosure The implementation, tests, and this description were generated with OpenAI Codex at the account owner's request. Codex re-checked the final diff against repository code and ran the validations listed above. No separate human line-by-line code review was performed before submission. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
