OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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)