StephanEwen commented on a change in pull request #10329: [FLINK-12785][StateBackend] RocksDB savepoint recovery can use a lot of unmanaged memory URL: https://github.com/apache/flink/pull/10329#discussion_r353681336
########## File path: flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackendBuilder.java ########## @@ -131,7 +135,8 @@ public RocksDBKeyedStateBackendBuilder( MetricGroup metricGroup, @Nonnull Collection<KeyedStateHandle> stateHandles, StreamCompressionDecorator keyGroupCompressionDecorator, - CloseableRegistry cancelStreamRegistry) { + CloseableRegistry cancelStreamRegistry, Review comment: The write batch size seems like an optional parameter, so should not go into the constructor of the builder, but to a setter method. That way, you also don't need to touch all the tests (which is exactly what the builder should help achieve). ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services