Github user WangTaoTheTonic commented on the issue:

    https://github.com/apache/flink/pull/3709
  
    Ok i think i've got your point.
    
    Now using WeakHashMap, we add entries when the map doesn't contain the 
requested EG id,  remove invalid entries when GC happens.
    
    By adding `small 2-line branch` as you suggest, we add entries as same way 
as before, but check if a entry is valid when it's accessed by a handler, and 
update/remove it if it's invalid. Is it right?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to