carloea2 opened a new issue, #8259:
URL: https://github.com/apache/texera/issues/8259
### What happened?
When the background S3 upload fails while `LargeBinaryOutputStream.write` is
filling its bounded queue, the upload worker exits but the producer keeps
waiting for queue capacity. The write call can hang forever. Closing the stream
can hang for the same reason while enqueueing its EOF marker.
Before: an upload failure with a full queue leaves write and close blocked.
Expected: write and close stop waiting and report the recorded upload
failure.
### How to reproduce?
1. Create a `LargeBinaryOutputStream` with a one-item queue.
2. Make the S3 client's `upload_fileobj` fail while writing multiple chunks.
3. Observe that the upload worker exits while `write` remains blocked on the
full queue.
### Version or branch
1.3.0-incubating-SNAPSHOT on main
### Commit hash
50321e403c82df299a13deb50a7f9849dd93bdba
### Relevant log output
write_still_blocked=True upload_failed=RuntimeError('live upload failure')
queue_full=True
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]