You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "waitinfuture (via GitHub)" <gi...@apache.org> on 2023/08/14 04:44:12 UTC

[GitHub] [incubator-celeborn] waitinfuture commented on pull request #1807: [CELEBORN-891] Race condition when pipeline is enabled

waitinfuture commented on PR #1807:
URL: https://github.com/apache/incubator-celeborn/pull/1807#issuecomment-1676667156

   Hi @pan3793 @cfmcgrady , I thought about this and still can't get the point why previously `multiple threads invoking SortBasedPusher#triggerPush simultaneously` will happen, could you explain it in more detail?
   According to https://docs.oracle.com/javase/tutorial/essential/concurrency/atomic.html cc @FMX , `volatile` guarantees atomicity and happens before, so IMO `volatile` is capable for the pushing logic.


-- 
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: issues-unsubscribe@celeborn.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org