zhengchenyu opened a new pull request, #2104: URL: https://github.com/apache/incubator-uniffle/pull/2104
### What changes were proposed in this pull request? When flush block and getInMemoryShuffleData occur together, may cause data reading errors. Because there may be two threads reading data at the same time, and the readIndex of ByteBuf will be inconsistent. So we should use duplicated when read bytes from ByteBuf. ### Why are the changes needed? Fix: #2103 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? unit test. -- 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]
