Skip to content

HDDS-16325. Reuse chunk range readers for positioned reads - #27

Open
peterxcli wants to merge 11 commits into
HDDS-16396-positioned-read-apifrom
HDDS-16325-chunk-range-readers
Open

peterxcli wants to merge 11 commits into
HDDS-16396-positioned-read-apifrom
HDDS-16325-chunk-range-readers

Conversation

@peterxcli

@peterxcli peterxcli commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

What changes were proposed in this pull request?

Reuse a chunk range reader instead of creating a temporary ChunkInputStream for each positioned read. It handles checksum alignment and range copying, while each request owns its client reference. Local reads use the existing FileChannel path.

Part 2 of 3, based on #23 and replacing #24: #23 → this PR → #25. Concurrent EC and encrypted multipart reads are inherited from #23; streaming positioned reads come from apache#11314.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-16325

How was this patch tested?

The complete stack passed 158 focused unit tests and nine integration cases, including checksum-verified local reads, EC reads, encrypted multipart reads, and vectored reads. Checkstyle and RAT passed. KMS integration required the JDK 21 JAXB access flag documented in #23.

Generated-by: Codex (GPT-6)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T13:22:08.741955Z 3e542f7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@peterxcli
peterxcli force-pushed the HDDS-16325-chunk-range-readers branch from a8b2d03 to 1bd38ac Compare October 1, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant