Github user kl0u commented on the issue:
https://github.com/apache/flink/pull/5751
Hi @sihuazhou ! I think that for now materializing the list of keys and
then passing it to the `process` is the best solution. But keep in mind that
this is only for the `HeapKeyedStateBackend` and not for RocksDB so the method
should create the copy only there. ---
