LiuJinghao opened a new pull request #556:
URL: https://github.com/apache/ratis/pull/556


   ## What changes were proposed in this pull request?
   RaftServer started failed when rpc timeout use different unit. 
   
   The code analysis shows that the compareTo method of the TimeDuration class 
has a bug. 
   When the unit of this is greater than that, that.compareTo(this) is called, 
but the return value is not set to a negative value.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1462
   
   
   ## 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