Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/4472
  
    I do see the benefit of a more fine-grained synchronization. What I dislike 
about using plain ConcurrentHashMaps everywhere is that accesses to the metrics 
99% of the time are done in batches, and I don't really want to pay the 
synchronization cost every time.
    
    That said, the whole "you have to synchronize manually" is a rather big 
source of bugs so we may just have to bite the bullet.


---

Reply via email to