sky76093016 opened a new pull request #2413:
URL: https://github.com/apache/ozone/pull/2413


   ## What changes were proposed in this pull request?
   
   `InterruptedExceptions` should never be ignored in the code. The throwing of 
the `InterruptedException` clears the interrupted state of the Thread, so if 
the exception is not handled properly the information that the thread was 
interrupted will be lost. Instead, `InterruptedExceptions` should either be 
rethrown - immediately or after cleaning up the method’s state - or the thread 
should be re-interrupted by calling `Thread.interrupt()`.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/projects/HDDS/issues/HDDS-5434
   
   ## How was this patch tested?
   
   No test.
   


-- 
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