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: [email protected]
For additional commands, e-mail: [email protected]