flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aitozi <...@git.apache.org>
Subject [GitHub] flink pull request #6205: [FLINK-9642]Reduce the count to deal with state du...
Date Sun, 24 Jun 2018 06:00:01 GMT
Github user Aitozi commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6205#discussion_r197629218
  
    --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/sharedbuffer/SharedBuffer.java
---
    @@ -75,6 +76,9 @@
     	private MapState<Long, Integer> eventsCount;
     	private MapState<NodeId, Lockable<SharedBufferNode>> entries;
     
    +	private HashMap<EventId, Lockable<V>> eventsBufferCache = new HashMap<>();
    +	private HashMap<NodeId, Lockable<SharedBufferNode>> entryCache = new HashMap<>();
    --- End diff --
    
    agree and fixed


---

Mime
View raw message