You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/02/11 07:33:41 UTC
[GitHub] [ozone] kaijchen removed a comment on pull request #2996: HDDS-6194. EC: Freon ockg support EC write
kaijchen removed a comment on pull request #2996:
URL: https://github.com/apache/ozone/pull/2996#issuecomment-1035939822
> Why can't we do something like this?
>
> ```
> if (type != EC){
> // Add a comment saying, flush is not implemented in EC
> stream.flush();
> }
> ```
>
> Handling NotImplementedException seems not correct to me. What if something else throws that exception? How would differentiate it's coming from EC only?
We cannot determine it is not a EC key by just checking `type`.
For example, writing to a EC bucket with no client side `type` configuration.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org