通过CP / RaftConsensus使用hazelcast分布式锁时,没有选举任何领导者

时间:2019-09-04 05:58:02

标签: hazelcast

使用CP时,在所有服务器节点中面向com.hazelcast.cp.exception.NotLeaderException。我怀疑所有可用节点中都没有选举出任何领导者。

Hazelcast管理中心显示CP子系统中所有可用的三个节点。

  

[3.12]重试调用:调用{op = com.hazelcast.cp.internal.operation.DefaultRaftReplicateOp {serviceName ='hz:core:raft',identityHash = 1380085770,partitionId = 7,replicateIndex = 0,callId = 84861 ,invocationTime = 1567512586426(2019-09-03 17:39:46.426),waitTimeout = -1,callTimeout = 60000,groupId = CPGroupId {name ='default',seed = 0,commitIndex = 13},op = com.hazelcast .cp.internal.session.operation.HeartbeatSessionOp {serviceName ='hz:core:raftSession',sessionId = 4}},tryCount = 250,tryPauseMillis = 500,invokeCount = 220,callTimeoutMillis = 60000,firstInvocationTimeMs = 1567512490707,firstInvocationTime =' 2019-09-03 17:38:10.707',lastHeartbeatMillis = 0,lastHeartbeatTime ='1970-01-01 05:30:00.000',target = [10.244.2.33]:5701,endingResponse = {VOID},backupsAcksExpected = 0 ,backupsAcksReceived = 0,connection = Connection [id = 4,/10.244.5.89:5701->/10.244.2.33:47055,qualifier = null,endpoint = [10.244.2.33]:5701,alive = true,type = MEMBER] },原因:com.hazelcast.cp.exception.NotLeaderException:CPMember {uuid = 2f73707c-dc93-4f2c-9767-ae76aab2d0a9,地址= [10.244.2.33]:5701}不是CPGroupId的LEADER {name ='default',seed = 0,commitIndex = 13}。已知的领导者是:N / A

0 个答案:

没有答案