使用hazelcast分布式锁(通过CP/RAFT)时未选举领导人

使用hazelcast分布式锁(通过CP/RAFT)时未选举领导人,hazelcast,Hazelcast,在使用cp时,在所有服务器节点中面对com.hazelcast.cp.exception.NotLeaderException。我怀疑所有可用节点中都没有选出任何领导者 Hazelcast管理中心显示CP子系统中可用的所有三个节点 [3.12]重试调用:调用{op=com.hazelcast.cp.internal.operation.DefaultRaftReplicateOp{serviceName='hz:core:raft',identityHash=1380085770,partiti

在使用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,replicaIndex=0,callId=84861,调用时间=15675125864226(2019-09-03 17:39:46.426),waitTimeout=-1,callTimeout=60000,groupId=CPGroupId{name='default',seed=0,CommitteIndex=13},op=com.hazelcast.cp.internal.session.operation.HeartbeatSessionOp{serviceName='hz:core:raftSession',sessionId=4},tryCount=250,tryPauseMillis=500,invokeCount=220,callTimeoutMillis=60000,firstinvokationtimems=1567512490707,firstinvokationtime='2019-09-03 17:38:10.707',lasthartbeatmillis=0,lasthartbeattime='1970-01-01 05:30:00.000',target=[10.244.2.33]:5701,pendingressponse={VOID},backupsAcksExpected=0,backupsacks=0,backupsacks=0,connection=connection=connection=connection[id=4,/10.244.5.89:5701->/10.244.2.33:47055,限定符=null,端点=[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的领导者{name='default seed=0,committen=13}


您好。您的问题不太清楚。要了解实际情况,请更清楚地描述问题。还要添加更多日志、配置等。这似乎是Hazelcast Github repo的相关问题: