[
https://issues.apache.org/jira/browse/RATIS-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214356#comment-17214356
]
runzhiwang commented on RATIS-1083:
-----------------------------------
[~szetszwo] Hi, sorry for disturbing. In ozone case, ozone client will call
DataStreamOutputImpl#writeAsync many times to stream a big chunk, so only ozone
client know how many times DataStreamOutputImpl#writeAsync has been called and
when all the stream data has been replicated to all server. So should ozone
client ask the leader to create a Raft transaction ?
Besides, DataStreamClientImpl can not connect to the leader, so do we need to
use RaftClientImpl to ask the leader create a Raft transaction ?
> Create a transaction once the stream data is replicated to all servers
> ----------------------------------------------------------------------
>
> Key: RATIS-1083
> URL: https://issues.apache.org/jira/browse/RATIS-1083
> Project: Ratis
> Issue Type: Sub-task
> Components: Streaming
> Reporter: Tsz-wo Sze
> Assignee: runzhiwang
> Priority: Major
>
> Once the stream data has been replicated to all server, the leader should
> create a Raft transaction. When the leader send the transaction to the other
> server by appendEntries, it only has to send the stream data ID instead of
> sending the stream data.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)