Ren Koike created HDDS-16269:
--------------------------------

             Summary: Remove ECBlockOutputStreamEntry wrapper class
                 Key: HDDS-16269
                 URL: https://issues.apache.org/jira/browse/HDDS-16269
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone Client
            Reporter: Ren Koike
            Assignee: Ren Koike


ECBlockOutputStreamEntry (424 lines) manages an array of ECBlockOutputStream 
instances with EC-specific logic: stream rotation, failed-stream validation, 
checksum aggregation. Unlike the Ratis entry, it has genuine domain logic — but 
that logic belongs in ECKeyOutputStream, which already manages the stripe 
lifecycle.

Move the EC stream array management, getFailedStreams() validation, and 
checksum aggregation into ECKeyOutputStream. Delete the wrapper.

Verification: all EC unit tests (from 
[HDDS-16267|https://issues.apache.org/jira/browse/HDDS-16267]) pass.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to