Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
DBIterator used in CblockManager/FilteredKeys/SQLCLI/OzoneMetadataManager should be closed after done with the iteration to avoid resource leaking.
try-with-resource should fix that easily for most of the cases. FIlteredKeys may be a special case that I have not fully checked yet.