Github user StefanRRichter commented on a diff in the pull request:
https://github.com/apache/flink/pull/5465#discussion_r169100675
--- Diff:
flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java
---
@@ -400,7 +410,7 @@ public UV setValue(UV value) {
/** An auxiliary utility to scan all entries under the given key. */
private abstract class RocksDBMapIterator<T> implements Iterator<T> {
- static final int CACHE_SIZE_BASE = 1;
+ static final int CACHE_SIZE_BASE = 32;
--- End diff --
Why is 32 the magic value and not 16 or 64? Just asking :)
---