flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-9735) Potential resource leak in RocksDBStateBackend#getDbOptions
Date Wed, 04 Jul 2018 06:54:00 GMT
Ted Yu created FLINK-9735:
-----------------------------

             Summary: 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


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)

Mime
View raw message