adoroszlai commented on code in PR #9511:
URL: https://github.com/apache/ozone/pull/9511#discussion_r2626534404
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/BatchOperation.java:
##########
@@ -17,11 +17,14 @@
package org.apache.hadoop.hdds.utils.db;
+import java.io.Closeable;
+
/**
* Class represents a batch operation, collects multiple db operation.
*/
-public interface BatchOperation extends AutoCloseable {
-
+public interface BatchOperation extends Closeable {
@Override
- void close();
+ void close() throws RocksDatabaseException;
Review Comment:
Then it should simply inherit `close()` like previously.
--
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]