tillrohrmann commented on a change in pull request #10921: [FLINK-15692][state
backend] Enable limiting RocksDB memory consumption by default
URL: https://github.com/apache/flink/pull/10921#discussion_r369582314
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/query/TaskKvStateRegistry.java
##########
@@ -74,6 +75,11 @@ public void unregisterAll() {
}
}
+ @VisibleForTesting
+ public KvStateRegistry getRegistry() {
+ return registry;
+ }
Review comment:
I actually think that we should not introduce this method. Instead
`MockEnvironment` could keep a reference to the created `KvStateRegistry`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services