smengcl opened a new pull request, #6207:
URL: https://github.com/apache/ozone/pull/6207

   Basing this on master branch since it is not confined to hsync change.
   
   ## What changes were proposed in this pull request?
   
   `synchronized` keyword has been added to write/hsync methods in HDDS-7907 to 
ensure correctness. But it is deemed to reduce write/hsync throughput at this 
point.
   
   This PR aims to reduce blocking by immediately returning the future rather 
than waiting on it to return to allow write/hsync to interleave while ensuring 
correctness. (Submit the request and return immediately.) This inevitably 
involves some refactoring.
   
   - [ ] Finish error handling migration.
   - [ ] Refactoring.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9844
   
   ## How was this patch tested?
   
   - [ ] All existing tests involving key stream write/hsync/close shall pass.


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