[
https://issues.apache.org/jira/browse/HDDS-15499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18087109#comment-18087109
]
Tsz-wo Sze commented on HDDS-15499:
-----------------------------------
Some details in he current code:
# get the BlockID from WriteChunkRequestProto
# pass the BlockID via getStreamDataChannel(..) methods in the related class in
order to get the block file (a local file)
# use the file to create KeyValueStreamDataChannel.
Suggested changes:
# Pass WriteChunkRequestProto down to KeyValueStreamDataChannel
# Execute WriteChunkRequestProto when closing KeyValueStreamDataChannel
> Execute WriteChunk when closing KeyValueStreamDataChannel
> ---------------------------------------------------------
>
> Key: HDDS-15499
> URL: https://issues.apache.org/jira/browse/HDDS-15499
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Datanode
> Reporter: Tsz-wo Sze
> Priority: Major
>
> A WriteChunk request is included in the stream header when creating the
> stream.
> - Existing: In Write Pipeline V2, the WriteChunk request is submitted by the
> client as a Raft request.
> - This JIRA: In Write Pipeline V3, when the KeyValueStreamDataChannel is
> closed, execute the WriteChunk request.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]