lidavidm commented on issue #35742:
URL: https://github.com/apache/arrow/issues/35742#issuecomment-1564793354

   So if the reader and writer side of a client both encounter an error, they 
may both try to end the stream. They end up both getting into WritesDone (which 
isn't properly guarded) and send two messages (instead of one), which would 
mess up the stream state. Except this is moot, because a server error also sets 
`finished_` which causes the background driver thread to exit, meaning no 
progress gets made and the messages never get sent anyways. Hence the program 
gets stuck.
   
   


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