Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/11499#issuecomment-191996138
  
    > Does this situation arise when there aren't multiple threads accessing 
one stream? I had thought the docs were prohibiting this so that the defensive 
copy wasn't needed
    
    This is not related to multiple threads accessing one stream. The caller of 
`sendRpcSync` is usually in some user thread and `onSuccess` is called in 
netty's thread pool. They are not in the same thread.
    
    However, the doc is pretty confusing. I think it wants to say that if using 
different clients to send messages, the responses may be out-of-order.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to