[ 
https://issues.apache.org/jira/browse/HDDS-6784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siyao Meng updated HDDS-6784:
-----------------------------
    Description: 
There are two places where the RocksDB table iterator is not properly closed. 
(So there could be mem leak if RDB iterator does not auto close on hasNext() 
returning false, which might be the case.)

Inspired by [~erose]'s comment while I was working on 
[HDDS-6371|https://github.com/apache/ozone/pull/3131#discussion_r878296430].

  was:
There are two places where the RocksDB table iterator is not properly closed. 
(This might be a problem if RDB iterator does not auto close on hasNext(), 
which seems to be the case.)

Inspired by [~erose]'s comment while I was working on 
[HDDS-6371|https://github.com/apache/ozone/pull/3131#discussion_r878296430].


> Missing close() for two RocksDB table iterators
> -----------------------------------------------
>
>                 Key: HDDS-6784
>                 URL: https://issues.apache.org/jira/browse/HDDS-6784
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>              Labels: pull-request-available
>
> There are two places where the RocksDB table iterator is not properly closed. 
> (So there could be mem leak if RDB iterator does not auto close on hasNext() 
> returning false, which might be the case.)
> Inspired by [~erose]'s comment while I was working on 
> [HDDS-6371|https://github.com/apache/ozone/pull/3131#discussion_r878296430].



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to