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

ASF GitHub Bot commented on FLINK-3329:
---------------------------------------

Github user aljoscha closed the pull request at:

    https://github.com/apache/flink/pull/1586


> Unclosed BackupEngine in AbstractRocksDBState#snapshot()
> --------------------------------------------------------
>
>                 Key: FLINK-3329
>                 URL: https://issues.apache.org/jira/browse/FLINK-3329
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Aljoscha Krettek
>
> Here is related code:
> {code}
>       BackupEngine backupEngine = BackupEngine.open(Env.getDefault(),
>         new BackupableDBOptions(localBackupPath.getAbsolutePath()));
>       backupEngine.createNewBackup(db);
> {code}
> BackupEngine implements AutoCloseable.
> backupEngine should be closed upon return from the method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to