You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/09/04 03:28:00 UTC

[jira] [Comment Edited] (FLINK-9735) Potential resource leak in RocksDBStateBackend#getDbOptions

    [ https://issues.apache.org/jira/browse/FLINK-9735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16559975#comment-16559975 ] 

Ted Yu edited comment on FLINK-9735 at 9/4/18 3:27 AM:
-------------------------------------------------------

Thanks, Vino .


was (Author: yuzhihong@gmail.com):
Thanks, Vino.

> Potential resource leak in RocksDBStateBackend#getDbOptions
> -----------------------------------------------------------
>
>                 Key: FLINK-9735
>                 URL: https://issues.apache.org/jira/browse/FLINK-9735
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: vinoyang
>            Priority: Minor
>
> Here is related code:
> {code}
>     if (optionsFactory != null) {
>       opt = optionsFactory.createDBOptions(opt);
>     }
> {code}
> opt, an DBOptions instance, should be closed before being rewritten.
> getColumnOptions has similar issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)