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

   ## What changes were proposed in this pull request?
   HDDS-11391. Frequent Ozone DN Crashes During OM + DN Decommission with Freon
   
   Please describe your PR in detail:
   * When in piggyback mode, check if WriteChunk/PutBlock has end of block 
field toggled. If so, close the corresponding block file open descriptor.
   * Added unit test and integration test
   
   TODO:
   There is still one corner case not fixed yet: if client does write - hsync 
and then close (meaning write buffer is emptied), for some reason client 
doesn't toggle end of block field.
   Unfortunately our BlockOutputStream implementation is becoming too complex 
to understand. Refactoring would be required later.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-11391
   ## How was this patch tested?
   
   Unit tests, integration tests


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