TisonKun commented on issue #10207: [FLINK-14766] Remove volatile variable in 
ExecutionVertex
URL: https://github.com/apache/flink/pull/10207#issuecomment-554866884
 
 
   @buptljy if these variable are guarded by locks so that we don't need to 
marking them as `volatile`, I think it is necessary to add `@GuardedBy` 
annotation to point out which lock protects it; otherwise we risk in losing 
synchronization strategy here. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to