You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Sophie Blee-Goldman (JIRA)" <ji...@apache.org> on 2019/08/10 02:33:00 UTC
[jira] [Created] (KAFKA-8784) Remove default implementation of
RocksDBConfigSetter#close
Sophie Blee-Goldman created KAFKA-8784:
------------------------------------------
Summary: Remove default implementation of RocksDBConfigSetter#close
Key: KAFKA-8784
URL: https://issues.apache.org/jira/browse/KAFKA-8784
Project: Kafka
Issue Type: Bug
Components: streams
Affects Versions: 3.0.0
Reporter: Sophie Blee-Goldman
In 2.3 we added a new method to RocksDBConfigSetter that will be called when a store is closed to clean up any resources that may have been created in #setConfig. Many large objects such as the block cache might be instantiated in that method, which will leak memory if not closed since they are backed by C++ objects.
We should consider removing the default implementation to force users to pay attention to whether they may be leaking memory, even if it may be a no-op for many.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)