[ 
https://issues.apache.org/jira/browse/HDDS-16268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ren Koike updated HDDS-16268:
-----------------------------
    Description: 
*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 HDDS-16266) pass.

  was:
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 
[HDDS-16266|https://issues.apache.org/jira/browse/HDDS-16266]) pass.


> 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
>            Priority: Major
>
> *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 HDDS-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]

Reply via email to