flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StefanRRichter <...@git.apache.org>
Subject [GitHub] flink pull request #4722: [FLINK-7683] Iterate over keys in KeyedStateBacken...
Date Mon, 25 Sep 2017 16:04:28 GMT
Github user StefanRRichter commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4722#discussion_r140821446
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/CopyOnWriteStateTable.java
---
    @@ -287,6 +289,14 @@ public S get(K key, N namespace) {
     	}
     
     	@Override
    +	public Stream<K> getKeys(N namespace) {
    +		return Arrays.stream(primaryTable)
    --- End diff --
    
    This hash table applies incremental rehashing. This method must also consider the data
stored ``incrementalRehashTable`` if it isn't ``null`` or we can miss some data.


---

Mime
View raw message