Skip to content

Large binary writes can hang after a background upload failure #8259

Description

@carloea2

Feature Summary

When a background S3 upload fails with a full queue, write() keeps waiting for space. close() can hang while it tries to queue EOF. Both calls should report the upload error.

Reproduced on main at af58667 with a queue of one chunk. Make the upload fail before it drains the queue, then write three chunks. The writer stays blocked. With the writer fixed and the old close() restored, closing hits the test timeout.

Proposed Solution or Design

Give queue writes a timeout so write() can check for a failed upload. Stop trying to queue EOF once the upload worker completes.

Affected Area

Storage / Metadata

Activity

  1. added theissue type on Aug 31, 2026
  2. carloea2 commented on Sep 5, 2026

    @carloea2
    ContributorAuthor

    /take

  3. added a commit that references this issue on Nov 18, 2026
    4a9478c
  4. added a commit that references this issue on Nov 21, 2026
    22aa714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions