[DEBUG] [08/11/2025 16:02:29.045] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 04:02:29,45 PM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [08/11/2025 16:02:29.046] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [08/11/2025 16:02:29.046] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [08/11/2025 16:02:29.060] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.182:17355] with UID [9061148516699707487] 04:02:29,60 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.182:17355] with UID [9061148516699707487] [INFO] [08/11/2025 16:02:29.061] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Starting up, Pekko version [1.0.3] ... 04:02:29,61 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [08/11/2025 16:02:29.064] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [08/11/2025 16:02:29.064] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Started up successfully 04:02:29,64 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 04:02:29,64 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Started up successfully [INFO] [08/11/2025 16:02:29.066] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [08/11/2025 16:02:29.066] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 04:02:29,66 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 04:02:29,66 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 04:02:29,80 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,80 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,80 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,81 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=5, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 04:02:29,81 PM [main] [INFO] Candidate - candidate (Candidate): Term 5 in "AppendEntries{term=5, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than Candidate's term 2 - switching to Follower 04:02:29,81 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:02:29,81 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 04:02:29,81 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior327#1259232607] 04:02:29,92 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate328] 04:02:29,93 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer329#-1607671902] 04:02:29,94 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,95 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 04:02:29,95 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,95 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:02:29,95 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:02:29,95 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:02:29,95 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:02:29,95 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior330#268458199] 04:02:29,106 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate331] 04:02:29,106 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer332#952218822] 04:02:29,108 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,108 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,108 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:02:29,109 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:02:29,109 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 04:02:29,109 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:02:29,109 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior333#2017174053] 04:02:29,110 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate334] 04:02:29,110 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer335#548930875] 04:02:29,112 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,112 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,112 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,113 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=2, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 04:02:29,113 PM [main] [DEBUG] Candidate - candidate (Candidate): handleAppendEntries: AppendEntries{term=2, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 04:02:29,113 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:02:29,113 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:02:29,113 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:02:29,113 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior336#652960659] 04:02:29,114 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate337] 04:02:29,115 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer338#238475353] 04:02:29,117 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,117 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 04:02:29,117 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:02:29,117 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,117 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:02:29,117 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:02:29,117 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:02:29,117 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:02:29,117 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 04:02:29,117 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 04:02:29,117 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:02:29,117 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:02:29,117 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:02:29,117 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 04:02:29,117 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior339#-1663005366] 04:02:29,118 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate340] 04:02:29,118 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer341#-1525533237] 04:02:29,118 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer342#1079740996] 04:02:29,120 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,120 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,120 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,120 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 04:02:29,120 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0} - currentTerm: 2, votedFor: candidate, lastIndex: 1, lastTerm: 1 04:02:29,120 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 04:02:29,120 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior343#1156662130] 04:02:29,121 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate344] 04:02:29,121 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer345#1620028098] 04:02:29,122 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,122 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,122 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:02:29,122 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]}, my term is 2 04:02:29,122 PM [main] [DEBUG] Candidate - candidate (Candidate): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 04:02:29,122 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:02:29,122 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:02:29,122 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:02:29,122 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior346#579787535] 04:02:29,123 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate347] 04:02:29,124 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,124 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,124 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:02:29,124 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:02:29,124 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 04:02:29,124 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 04:02:29,124 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior348#1525831185] 04:02:29,125 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate349] 04:02:29,125 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer350#-1105759523] 04:02:29,126 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,126 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,126 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,126 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior351#1125072176] 04:02:29,126 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate352] 04:02:29,127 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,128 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 04:02:29,128 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,128 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 04:02:29,128 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 04:02:29,530 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 04:02:29,530 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:02:29,530 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:02:29,530 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:02:29,531 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:02:29,531 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:02:29,531 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:02:29,531 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:02:29,531 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:02:29,531 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:02:29,531 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:02:29,531 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior353#-1158750359] 04:02:29,532 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate354] 04:02:29,532 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer355#-1139484638] 04:02:29,533 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer356#-1994101198] 04:02:29,533 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer357#2065143369] 04:02:29,533 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer358#44021103] 04:02:29,536 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,536 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 04:02:29,538 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 04:02:29,538 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:02:29,538 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 04:02:29,538 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 04:02:29,538 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 04:02:29,538 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 04:02:29,539 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 04:02:29,539 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:02:29,539 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:02:29,539 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:02:29,539 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:02:29,539 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 04:02:29,539 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:02:29,539 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:02:29,539 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:02:29,539 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:02:29,539 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:02:29,539 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:02:29,539 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 04:02:29,539 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior359#1713297563] 04:02:29,540 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate360] 04:02:29,540 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer361#-870350432] 04:02:29,540 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer362#1509512346] 04:02:29,540 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer363#-1288191998] 04:02:29,540 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer364#940374967] 04:02:29,542 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,542 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,542 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,542 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior365#256169812] 04:02:29,542 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate366] 04:02:29,543 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,543 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,543 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,543 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:02:29,543 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 04:02:29,543 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:02:29,543 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:02:29,543 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior367#-331128136] 04:02:29,544 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate368] 04:02:29,545 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,545 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,545 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,545 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=1, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 04:02:29,545 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 04:02:29,545 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior369#-1658702434] 04:02:29,546 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate370] 04:02:29,546 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer371#36416708] 04:02:29,547 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,547 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 04:02:29,547 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:02:29,547 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,547 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:02:29,547 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:02:29,547 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:02:29,547 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:02:29,547 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 04:02:29,547 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:02:29,547 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:02:29,548 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:02:29,548 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:02:29,548 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior372#331434417] 04:02:29,548 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate373] 04:02:29,548 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer374#-442465528] 04:02:29,548 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer375#-1196233205] 04:02:29,549 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,549 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,549 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,549 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior376#712915962] 04:02:29,550 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate377] 04:02:29,551 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,551 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,551 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,551 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 04:02:29,551 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 04:02:29,551 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 04:02:29,551 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior378#-929117408] 04:02:29,551 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate379] 04:02:29,553 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,553 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,554 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,554 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 04:02:29,554 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 04:02:29,554 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 04:02:29,554 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior380#-2009456141] 04:02:29,554 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate381] 04:02:29,556 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,556 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,556 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,556 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 04:02:29,557 PM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than Candidate's term 2 - switching to Follower 04:02:29,557 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:02:29,557 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:02:29,557 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,557 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,557 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}, my term is 2 04:02:29,557 PM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than Candidate's term 2 - switching to Follower 04:02:29,557 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:02:29,557 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,557 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,557 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 04:02:29,557 PM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than Candidate's term 2 - switching to Follower 04:02:29,557 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 04:02:29,557 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 04:02:29,557 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:02:29,557 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,557 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:02:29,557 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 04:02:29,557 PM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than Candidate's term 2 - switching to Follower 04:02:29,557 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:02:29,557 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior382#-606001238] 04:02:29,558 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate383] 04:02:29,560 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,560 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 04:02:29,560 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 04:02:29,560 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior384#-1771201024] 04:02:29,561 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate385] 04:02:29,563 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,563 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,563 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:02:29,563 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=4, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 1001 04:02:29,563 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 04:02:29,563 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior386#-131319784] 04:02:29,564 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate387] 04:02:29,565 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:02:29,565 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:02:29,565 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:02:29,565 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:02:29,565 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 04:02:29,565 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:02:29,565 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior388#18617636] 04:02:29,565 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate389] 04:02:29,566 PM [test-pekko.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [08/11/2025 16:02:29.566] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 04:02:29,568 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Exiting completed 04:02:29,568 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Shutting down... 04:02:29,568 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Successfully shut down [WARN] [08/11/2025 16:02:29.568] [test-pekko.actor.default-dispatcher-5] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.182:17355) 04:02:29,568 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [08/11/2025 16:02:29.566] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Exiting completed [INFO] [08/11/2025 16:02:29.566] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Shutting down... [INFO] [08/11/2025 16:02:29.567] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Successfully shut down [INFO] [08/11/2025 16:02:29.568] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.182:17355/system/remoting-terminator] Shutting down remote daemon. 04:02:29,568 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [08/11/2025 16:02:29.568] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.182:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [WARN] [08/11/2025 16:02:29.568] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/deadLetterListener] received dead letter: UnhandledMessage(Leave(pekko://test@10.30.171.182:17355),Actor[pekko://test/deadLetters],Actor[pekko://test/system/cluster/core/daemon#-898169741]) 04:02:29,570 PM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [08/11/2025 16:02:29.570] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.182:17355/system/remoting-terminator] Remoting shut down.