adoroszlai commented on a change in pull request #648: HDDS-3117. Recon throws 
InterruptedException while getting new snapshot from OM.
URL: https://github.com/apache/hadoop-ozone/pull/648#discussion_r389993400
 
 

 ##########
 File path: 
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java
 ##########
 @@ -350,8 +357,7 @@ public void syncDataFromOM() {
         // Pass on DB update events to tasks that are listening.
         reconTaskController.consumeOMEvents(new OMUpdateEventBatch(
             omdbUpdatesHandler.getEvents()), omMetadataManager);
-      } catch (IOException | InterruptedException | RocksDBException e) {
-        Thread.currentThread().interrupt();
 
 Review comment:
   Shouldn't `interrupt()` be kept for `InterruptedException` and avoided only 
for the rest?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to