hemantk-12 commented on code in PR #5145:
URL: https://github.com/apache/ozone/pull/5145#discussion_r1283776611


##########
hadoop-hdds/rocksdb-checkpoint-differ/src/main/java/org/apache/ozone/rocksdiff/RocksDBCheckpointDiffer.java:
##########
@@ -326,13 +329,17 @@ public void setCurrentCompactionLog(long 
latestSequenceNum) {
     appendToCurrentCompactionLog("");
   }
 
+
   @Override
-  public void close() {
-    synchronized (this) {
-      if (!closed) {
-        closed = true;
-        if (executor != null) {
-          executor.shutdown();
+  public void close() throws Exception {
+    if (!closed) {
+      synchronized (this) {
+        if (!closed) {
+          closed = true;

Review Comment:
   
[scheduler.close()](https://github.com/apache/ozone/blob/3964ece6561b0402165c4158d51b65e9d82c8860/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/utils/Scheduler.java#L92)
 doesn't throw any exception. It swallows any exception and log 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]

Reply via email to