[
https://issues.apache.org/jira/browse/FLINK-9735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609119#comment-16609119
]
ASF GitHub Bot commented on FLINK-9735:
---------------------------------------
yanghua commented on issue #6660: [FLINK-9735] Potential resource leak in
RocksDBStateBackend#getDbOptions
URL: https://github.com/apache/flink/pull/6660#issuecomment-419897753
@StefanRRichter thank you. The title does not indicate its intent, because
it was created by someone else, so I didn't modify it. But your statement is
correct, and it is most important to respect the facts.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> Labels: pull-request-available
>
> 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)