leventov commented on issue #43762: URL: https://github.com/apache/arrow/issues/43762#issuecomment-2298214455
> Sender assumes that the buffers can be freed (or RDMA unpin, etc.) after Receiver sends any subsequent signal to Sender: either ERROR, CANCEL, **REQUEST_N (which implies that the Receiver completed processing of this payload and ready to receive the next)**, or COMPLETE. Upon reflection, this creates a race condition if REQUEST_N is in flight while Sender sends another PAYLOAD. So, Receiver should explicitly mention Sender's memory regions that it already consumed in its REQUEST_N messages. -- 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]
