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 12:59:00 UTC
[jira] [Created] (HDDS-16264) Remove BlockDataStreamOutputEntry wrapper class
Ren Koike created HDDS-16264:
--------------------------------
Summary: Remove BlockDataStreamOutputEntry wrapper class
Key: HDDS-16264
URL: https://issues.apache.org/jira/browse/HDDS-16264
Project: Apache Ozone
Issue Type: Improvement
Components: Ozone Client
Reporter: Ren Koike
Assignee: Ren Koike
BlockDataStreamOutputEntry (297 lines) wraps BlockDataStreamOutput with lazy initialization and type-unsafe downcasting. Nearly every non-trivial method casts its byteBufferStreamOutput field back to BlockDataStreamOutput to access block-specific methods.
Remove this wrapper and have BlockDataStreamOutputEntryPool manage BlockDataStreamOutput instances directly. Move lazy init to a factory method. Update KeyDataStreamOutput to use the concrete type.
This is the first of three entry-wrapper removals (see sub-tasks 9 and 10 for the Ratis and EC paths).
Verification: all DataStream unit tests (Suite A and Suite B) 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