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

   ## What changes were proposed in this pull request?
   
   `ECKeyOutputStream` extends `KeyOutputStream`, but Ozone EC does not support 
`hsync` (at least for now since it is not implemented) as there are known 
issues with that, such as HDDS-8932.
   
   This jira prevents `hsync()` and `hflush()` from being called on 
`ECKeyOutputStream` by throwing `NotImplementedException`.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-11322
   
   ## How was this patch tested?
   
   - Added test case to make sure that invocation of `hsync()` and `hflush()` 
on `ECKeyOutputStream` throws exception.


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