lidavidm opened a new pull request #12037:
URL: https://github.com/apache/arrow/pull/12037


   The Flight server spawns a background thread that reads from a pipe, then 
shuts down the server. (The pipe is written to by a signal handler). On normal 
shutdown, the server would close the pipe, then join the background thread, 
leading to a race: the background thread might read from the pipe again, 
getting a "bad fd" error. The fix is simple; just join the thread before 
closing the pipe.


-- 
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]


Reply via email to