zentol commented on PR #22997:
URL: https://github.com/apache/flink/pull/22997#issuecomment-1641827665

   > I'm curious about the fallback behavior in case you don't have thread 
local context. 
   
   An atomic reference or volatile field would be better than what exists right 
now. I don't know why the field wasn't removed when the thread local was 
introduced; maybe for backwards-compatibility where 1 thread sets the context 
but another runs the job? :shrug: 
   
   My initial feeling was that this field should just be removed.


-- 
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-unsubscr...@flink.apache.org

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

Reply via email to