Skip to content
New issue

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

集群重启时,follower启动失败 #1096

Open
jiangguiqiang199 opened this issue Mar 31, 2024 · 0 comments
Open

集群重启时,follower启动失败 #1096

jiangguiqiang199 opened this issue Mar 31, 2024 · 0 comments

Comments

@jiangguiqiang199
Copy link

集群重启时,follower启动失败,

follower节点报错信息:
Node xxxxxx:9002 reject term_unmatched AppendEntriesRequest from xxxxxxx.cluster.local:9002, term=40, prevLogIndex=89436606188, prevLogTerm=40, localPrevLogTerm=0, lastLogIndex=0, entriesSize=0.

后采用CliService.removePeer(String groupId, Configuration conf, PeerId peer);将该异常follower节点移除

再采用 CliService.addPeer(String groupId, Configuration conf, PeerId peer);将该节点加入jraft group

addPeer异常信息: {"code":-1,"errorMsg":"com.alipay.remoting.rpc.exception.InvokeTimeoutException: Invoke timeout when invoke with callback.The address is 10.3.31.43:9002","ok":false,"raftError":"UNKNOWN"}

主节点报错:
com.alipay.sofa.jraft.core.Replicator : Fail to issue RPC to xxxxxx:9002, consecutiveErrorTimes=31, error=Status[EINTERNAL<1004>: RPC exception:null]

Your scenes

Describe your use scenes (why need this feature)

Your advice

Describe the advice or solution you'd like

Environment

  • SOFAJRaft version: 1.3.13
  • JVM version (e.g. jdk 11):
  • OS version (e.g. aws eks):
  • Maven version:
  • IDE version:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant