shnapz commented on PR #36781:
URL: https://github.com/apache/beam/pull/36781#issuecomment-4164795265

   @Abacn I have addressed your comments and changed initialization to lineage 
type class comparison instead of `KV<Long, Integer>` revision tracking. 
   
   Note about thread safety: The three AtomicReference fields 
(CURRENT_LINEAGE_TYPE, SOURCES, SINKS) are not updated atomically together, but 
this is safe because Beam's execution model guarantees 
setDefaultPipelineOptions completes during worker/task initialization, always 
before any IO connector calls getSources()/getSinks()


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

Reply via email to