[ 
https://issues.apache.org/jira/browse/RATIS-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze resolved RATIS-1913.
-------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

The pull request is now merged.  Thanks, [~ivanandika]!

> Assert that the primary peers in DataStreamClient and RoutingTable are equal
> ----------------------------------------------------------------------------
>
>                 Key: RATIS-1913
>                 URL: https://issues.apache.org/jira/browse/RATIS-1913
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: Streaming
>            Reporter: Ivan Andika
>            Assignee: Ivan Andika
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: 945_review.patch
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> While implementing HDDS-9392, I incorrectly updated the first node in 
> `RoutingTable` so that it does not point to the same node in 
> `DataStreamClientImpl#dataStreamServer`. This causes some issues that took a 
> while to debug due to the lack of assertion.
> To prevent this in the future, let's setup an assertion in 
> `DataStreamClientImpl#stream` to throw exception if the first node in 
> `RoutingTable` is not equal to `DataStreamClientImpl#dataStreamServer`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to