You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "fallintoplace (via GitHub)" <gi...@apache.org> on 2026/08/08 14:23:39 UTC

[PR] fix(arrow/ipc): avoid deadlock on compression errors [arrow-go]

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(arrow/ipc): avoid deadlock on compression errors [arrow-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade merged PR #1142:
URL: https://github.com/apache/arrow-go/pull/1142


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org