fallintoplace opened a new pull request, #1142: URL: https://github.com/apache/arrow-go/pull/1142
### Rationale for this change Parallel body compression sent worker errors through an unbuffered channel before the parent waited for the workers. A compressor failure could therefore leave the writer blocked forever, and the producer could continue sending work after the workers had stopped. ### What changes are included in this PR? Buffer the first worker error, make producer sends cancellation-aware, and add a regression test that uses a failing compressor with parallel compression. ### Are these changes tested? - `go test ./arrow/ipc` - `go test -race ./arrow/ipc -run TestRecordEncoderCompressionErrorDoesNotDeadlock` ### Are there any user-facing changes? Parallel IPC compression now returns compressor failures instead of hanging. -- 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]
