We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type: bug report
public void sendBeat() throws IOException, InterruptedException { RaftPeer local = peers.local(); if (local.state != RaftPeer.State.LEADER && !STANDALONE_MODE) { return; } if (Loggers.RAFT.isDebugEnabled()) { Loggers.RAFT.debug("[RAFT] send beat with {} keys.", datums.size()); } .................... }
if STANDALONE_MODE is true,it shoule return directly.
The text was updated successfully, but these errors were encountered:
fix-alibaba#2810.modify the judge logic when send beat in raftcore
d72d059
Merge branch 'develop' into fix-alibaba#2810
01f6f38
[ISSUE #2810] don't send beat when standalone model (#3047)
aea7dd6
* don't send beat when standalone model * format the code.
Successfully merging a pull request may close this issue.
Issue Description
Type: bug report
Describe what happened (or what feature you want)
if STANDALONE_MODE is true,it shoule return directly.
The text was updated successfully, but these errors were encountered: