Skip to content

fix(storage): remove object length limit for unfinalized reads#12489

Merged
gcf-merge-on-green[bot] merged 3 commits into
googleapis:mainfrom
BrennaEpp:fix-objsize
Jul 17, 2025
Merged

fix(storage): remove object length limit for unfinalized reads#12489
gcf-merge-on-green[bot] merged 3 commits into
googleapis:mainfrom
BrennaEpp:fix-objsize

Conversation

@BrennaEpp

@BrennaEpp BrennaEpp commented Jun 24, 2025

Copy link
Copy Markdown
Contributor

With this change, reads to unfinalized files can continue reading even if the file is extended beyond the size in the original value returned for size when the BidiReadObject stream was opened.

However, if the Reader hits EOF, it will close the stream and not re-open for subsequent read calls (so this is not a full tailing-read implementation).

Reader.Remain() was updated to return -1 for unfinalized objects.

@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label Jun 24, 2025
Comment thread storage/grpc_client.go
Comment thread storage/grpc_client.go
Comment thread storage/client_test.go
@tritone tritone marked this pull request as ready for review July 17, 2025 16:50
@tritone tritone requested review from a team July 17, 2025 16:50
@tritone tritone changed the title wip(storage): remove object length limit for unfinalized reads fix(storage): remove object length limit for unfinalized reads Jul 17, 2025
@tritone tritone added the automerge Merge the pull request once unit tests and other checks pass. label Jul 17, 2025
@gcf-merge-on-green gcf-merge-on-green Bot merged commit 5566d7d into googleapis:main Jul 17, 2025
9 checks passed
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants