Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.4, 1.7.2, 1.8.2, 1.9.1
-
Interfaces OptionsFactory and ConfigurableOptionsFactory have been deprecated in favor of RocksDBOptionsFactory and ConfigurableRocksDBOptionsFactory, respectively.
Description
When investigating FLINK-14484 to allow setting WriteBufferManager via options, we find it necessary to supply a close method in OptionsFactory to make sure resources configured in options like WriteBufferManager could/would be released.
What's more, we're having potential risk of resource leak in PredefinedOptions such as the created BloomFilter instance is never closed (regression caused by FLINK-7220 changes), and we should also fix this and add a close method in PredefinedOptions
Attachments
Issue Links
- causes
-
FLINK-15199 Benchmarks are not compiling
- Closed
- links to