You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/04/18 11:47:42 UTC
[jira] [Closed] (FLINK-6104) Resource leak in
ListViaRangeSpeedMiniBenchmark
[ https://issues.apache.org/jira/browse/FLINK-6104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-6104.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
1.3: 5e6ffbc19e83529bb6e3c39d4a0b5ab322aa4633
> Resource leak in ListViaRangeSpeedMiniBenchmark
> -----------------------------------------------
>
> Key: FLINK-6104
> URL: https://issues.apache.org/jira/browse/FLINK-6104
> Project: Flink
> Issue Type: Bug
> Components: State Backends, Checkpointing
> Affects Versions: 1.3.0
> Reporter: Ted Yu
> Assignee: mingleizhang
> Priority: Minor
> Fix For: 1.3.0
>
>
> {code}
> final WriteOptions write_options = new WriteOptions()
> .setSync(false)
> .setDisableWAL(true);
> {code}
> WriteOptions ultimately extends AbstractNativeReference where:
> {code}
> public abstract class AbstractNativeReference implements AutoCloseable {
> {code}
> WriteOptions instance should be closed.
> {code}
> final RocksDB rocksDB = RocksDB.open(options, rocksDir.getAbsolutePath());
> {code}
> RocksDB should be closed as well.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)