fat-catTW opened a new pull request, #12186:
URL: https://github.com/apache/ozone/pull/12186

   ## What changes were proposed in this pull request?
   
   When a Ratis key write, hsync, or close is interrupted while waiting for a
   commit, block failure handling can clear the thread's interrupt status. The
   client may then retry the data on a new block instead of reporting the
   interruption.
   
   This change restores the interrupt status in three `BlockOutputStream`
   exception handlers so the existing retry logic can stop retrying. It also 
adds
   regression tests for the affected handlers and operations.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-17669
   
   ## How was this patch tested?
   
   - Ran `TestBlockOutputStreamCorrectness` and `TestKeyOutputStream`: 19 tests
     passed.
   - Confirmed that the interruption tests fail without the fix and pass with 
it.
   - Ran the repository checkstyle script before the final test cleanup changes.
   


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