dragonboat
dragonboat copied to clipboard
clarified docs, errors, and warnings
Thanks for the PR, but the change seems to be incorrect -
when RTTMillisecond is 100 milliseconds and the election interval is expected to be 1 second, ElectionRTT should be 10.
Is ElectionRTT a multiplier or a length of time? I can make the change, I just want to make sure I understand it.
@lni would you be able to provide clarification on my previous question?
Even though I am not @lni I think I can answer your question: ElectionRTT and HeartbeatRTT are both multipliers of RTTMillisecond.
@coufalja is correct.
@mxplusb I had a quick look at the godoc in config/config.go, there are concrete examples on the definitions of both ElectionRTT and HeartbeatRTT. Would you like to have a look and provide feedback on whether it is still a little bit difficult to understand. Thanks.