You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ren Koike (Jira)" <ji...@apache.org> on 2026/08/24 13:07:00 UTC

[jira] [Created] (HDDS-16268) Remove BlockOutputStreamEntry wrapper class

Ren Koike created HDDS-16268:
--------------------------------

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


BlockOutputStreamEntry (494 lines) follows the same pattern as the DataStream entry wrapper removed in sub-task 5: lazy initialization and ~15 downcasts to the concrete type. It also manages inflightCalls tracking and isHandlingRetry coordination, which can move to
KeyOutputStream.

Remove the wrapper and have BlockOutputStreamEntryPool manage RatisBlockOutputStream instances directly. Move lazy init to a factory method, and relocate inflightCalls / isHandlingRetry tracking to KeyOutputStream.

Verification: all Ratis unit tests (from [#16266]) pass.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org