[
https://issues.apache.org/jira/browse/HDDS-14217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046918#comment-18046918
]
Tsz-wo Sze commented on HDDS-14217:
-----------------------------------
> ... disable stream read during reconciliation ...
It is better to add a new createBlockInputStream(..) method to the factory.
Then, it can return BlockInputStream directly without guessing.
> ... could I try this issue?
[~aswinshakil], not sure if you have already started working on this?
> Reconciler should not cast BlockExtendedInputStream to BlockInputStream
> ------------------------------------------------------------------------
>
> Key: HDDS-14217
> URL: https://issues.apache.org/jira/browse/HDDS-14217
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Datanode
> Reporter: Tsz-wo Sze
> Priority: Major
>
> In KeyValueHandler.reconcileChunksPerBlock(..), it creates a
> BlockExtendedInputStream using a factory and then cast it to BlockInputStream
> for accessing block data. The casting won't work if we enable the new
> StreamBlockInputStream (HDDS-10338).
> - See [https://github.com/apache/ozone/pull/7474#discussion_r2590245883]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]