yandrey321 commented on code in PR #9904:
URL: https://github.com/apache/ozone/pull/9904#discussion_r2918248832
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RDBTable.java:
##########
@@ -224,6 +225,14 @@ KeyValueIterator<CodecBuffer, CodecBuffer> iterator(
this, prefix, type);
}
+ boolean isClosed() {
+ return db.isClosed();
+ }
+
+ UncheckedAutoCloseable acquireIterator() throws RocksDatabaseException {
+ return db.acquire();
Review Comment:
how this ref counter is released?
--
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]