rickyma opened a new pull request, #1605:
URL: https://github.com/apache/incubator-uniffle/pull/1605

   ### What changes were proposed in this pull request?
   
   Add a `ChannelFutureListener` and use its callback mechanism to release 
`readMemory` only after the `writeAndFlush` method is truly completed.
   
   ### Why are the changes needed?
   
   This is actually a bug, which was introduced by PR 
https://github.com/apache/incubator-uniffle/pull/879. The issue has been 
present since the very beginning when the Netty feature was first integrated.
   Fix https://github.com/apache/incubator-uniffle/issues/1596.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   The existing UTs will do. No need to add new tests. Tested in our env.
   


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


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

Reply via email to