timmylicheng commented on pull request #1340:
URL: https://github.com/apache/hadoop-ozone/pull/1340#issuecomment-690835337


   > The client failover logic is based on the suggested leader sent by SCM. 
The `String` value of suggested leader sent by SCM Server is 
`RaftPeer#getAddress`, but at client side this value is compare with 
`SCM_DUMMY_NODEID_PREFIX + <id>` which will never match. So suggested leader is 
never valued and we are always failing over to the next proxy in round robin.
   
   I have removed suggestedLeader related parts in this PR until we think it 
thru. Thanks for the head out.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to