Skip to content

fix(storage): fix append writer hang - #12201

Merged
tritone merged 1 commit into
googleapis:mainfrom
tritone:fix-err-hang
May 6, 2025
Merged

fix(storage): fix append writer hang#12201
tritone merged 1 commit into
googleapis:mainfrom
tritone:fix-err-hang

Conversation

@tritone

@tritone tritone commented May 5, 2025

Copy link
Copy Markdown
Contributor

After a Flush call, we weren't correctly tracking the pipe reader to close to signal to Write that an error had happened. Fixes that issue and adds another flush to the test, which triggers the hang without this fix.

After a Flush call, we weren't correctly tracking the pipe
reader to close to signal to Write that an error had happened.
Fixes that issue and adds another flush to the test, which
triggers the hang without this fix.
@tritone
tritone requested review from a team May 5, 2025 23:18
@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label May 5, 2025
Comment thread storage/grpc_writer.go
@tritone
tritone merged commit 7ce2a2a into googleapis:main May 6, 2025
@tritone
tritone deleted the fix-err-hang branch May 6, 2025 03:33
2FaceS-bit pushed a commit to 2FaceS-bit/google-cloud-go that referenced this pull request May 12, 2025
After a Flush call, we weren't correctly tracking the pipe
reader to close to signal to Write that an error had happened.
Fixes that issue and adds another flush to the test, which
triggers the hang without this fix.
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.

2 participants