You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/03/09 22:25:18 UTC

[GitHub] [hadoop-ozone] adoroszlai commented on a change in pull request #648: HDDS-3117. Recon throws InterruptedException while getting new snapshot from OM.

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org