Github user pnowojski commented on a diff in the pull request:
https://github.com/apache/flink/pull/4722#discussion_r141100065
--- 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 --
also added larger test that covers this case---
