ivandika3 opened a new pull request, #945:
URL: https://github.com/apache/ratis/pull/945

   ## What changes were proposed in this pull request?
   
   While implementing 
[HDDS-9392](https://issues.apache.org/jira/browse/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`.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1913
   
   ## How was this patch tested?
   
   Unit tests.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to