TheodoreLx opened a new pull request, #3480: URL: https://github.com/apache/celeborn/pull/3480
### What changes were proposed in this pull request? Avoid NPE problems by adding non-null checks ### Why are the changes needed? When multiple threads call pushOrMergeData, the first thread may remove the merged DataBatches from pushState and send it out. The subsequent thread will get null through the takeDataBatches method, which may cause NPE problems. ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? Manual testing -- 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]
