asfimport opened a new issue, #346:
URL: https://github.com/apache/arrow-java/issues/346

   According to the spec for 
<https://grpc.github.io/grpc-java/javadoc/io/grpc/stub/CallStreamObserver.html#setOnReadyHandler-java.lang.Runnable->
 , we can get into a state where the ready flag on the listener has already 
switched back to false by the time we execute the on ready handler.
   
   We currently use the listener's ready flag after the ready handler to check 
if we received a spurious wake, but it's not reliable because of this. Instead 
we should use our own readiness flag that gets set within a synchronized block 
local to the CallbackBackpressureStrategy.
   
   **Reporter**: [James 
Duong](https://issues.apache.org/jira/browse/ARROW-15876) / @jduo
   
   <sub>**Note**: *This issue was originally created as 
[ARROW-15876](https://issues.apache.org/jira/browse/ARROW-15876). Please see 
the [migration documentation](https://github.com/apache/arrow/issues/14542) for 
further details.*</sub>


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to