Skip to content

RFC-7660: Move Read Range To Reader#7660

Open
Xuanwo wants to merge 3 commits into
mainfrom
xuanwo/move-read-range-to-reader
Open

RFC-7660: Move Read Range To Reader#7660
Xuanwo wants to merge 3 commits into
mainfrom
xuanwo/move-read-range-to-reader

Conversation

@Xuanwo
Copy link
Copy Markdown
Member

@Xuanwo Xuanwo commented Jun 1, 2026

Which issue does this PR close?

Refs #7659.

Rationale for this change

OpenDAL's raw Access::read currently owns the byte range, which makes every planned range create a new range stream. This creates repeated open and close overhead for handle based services.

What changes are included in this PR?

This adds an RFC that proposes moving byte ranges from Access::read into methods on the returned raw reader, including stream, read, and fetch.

Are there any user-facing changes?

No. This is an RFC only.

AI Usage Statement

AI-assisted drafting was used for the RFC text.

@Xuanwo Xuanwo marked this pull request as ready for review June 1, 2026 09:49
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. releases-note/docs The PR modifies docs related content or has a title that begins with "docs" labels Jun 1, 2026
@Xuanwo Xuanwo changed the title docs: Add RFC for moving read range to reader RFC-7660: Move Read Range To Reader Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/docs The PR modifies docs related content or has a title that begins with "docs" size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant