szetszwo commented on PR #6013: URL: https://github.com/apache/ozone/pull/6013#issuecomment-1896467885
I suspect the case is in `close()`; see https://github.com/apache/ozone/blob/737598c37432bfb79ba6377945ce2744f0cec90a/hadoop-hdds/managed-rocksdb/src/main/java/org/apache/hadoop/hdds/utils/db/managed/ManagedReadOptions.java#L33-L36 If `super.close()` throws an exception, `leakTracker` won't be closed. If it is the case, `try-finally` will fix it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
