[ 
https://issues.apache.org/jira/browse/RATIS-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481026#comment-17481026
 ] 

Tsz-wo Sze commented on RATIS-1506:
-----------------------------------

bq. ...  Although the RoutingTable is initialized only once when the Ozone 
client is setup. 

This may not be true -- a RoutingTable is built in 
BlockDataStreamOutput.setupStream(..) for each Ozone pipeline.  The 
RoutingTable is not built in Ozone client setup.

bq. In the actual pipline, the order of the nodes has changed.  

This probably is because the node ordering in the Ozone pipelines are 
different.  We s

bq. So I wonder if in ratis, whether the stream transmission is processed when 
change leader.

In Ratis, the stream transmission won't change when there is a leader change.  
Ratis Streaming does not care about leader during transmission.


> Discussion on improving the stability of streaming
> --------------------------------------------------
>
>                 Key: RATIS-1506
>                 URL: https://issues.apache.org/jira/browse/RATIS-1506
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: mingchao zhao
>            Priority: Major
>
> We found that if the cluster was written only by streaming, it was stable. If 
> async write and Streaming Write are mixed, the streaming will become 
> unstable.  We found  that some pipline leaders would often change during 
> mixed writes.  
> It seems that leader switch has a great influence on the stability of 
> streaming. Although the RoutingTable is initialized only once when the Ozone 
> client is setup. In the actual pipline, the order of the nodes has changed.  
> So I wonder if in ratis, whether the stream transmission is processed when 
> change leader.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to