[
https://issues.apache.org/jira/browse/HDDS-14217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046783#comment-18046783
]
Huang Guan Hao commented on HDDS-14217:
---------------------------------------
I think the resolution is to disable stream read during reconciliation and
force using BlockInputStream, since reconciliation needs chunk-level access
which StreamBlockInputStream doesn't support.
If this is correct, could I try this issue?
> 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]