[DEBUG] [11/06/2025 21:24:15.194] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 09:24:15,195 PM [test-pekko.actor.default-dispatcher-4] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/06/2025 21:24:15.195] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [11/06/2025 21:24:15.195] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [11/06/2025 21:24:15.216] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.147:17355] with UID [-2665658193504625049] 09:24:15,216 PM [test-pekko.actor.default-dispatcher-4] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.147:17355] with UID [-2665658193504625049] [INFO] [11/06/2025 21:24:15.217] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.147:17355] - Starting up, Pekko version [1.0.3] ... 09:24:15,218 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.147:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [11/06/2025 21:24:15.220] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.147:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [11/06/2025 21:24:15.220] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.147:17355] - Started up successfully 09:24:15,220 PM [test-pekko.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.147:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 09:24:15,220 PM [test-pekko.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.147:17355] - Started up successfully [INFO] [11/06/2025 21:24:15.221] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.147:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [11/06/2025 21:24:15.221] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.147:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:24:15,221 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.147:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:24:15,221 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.147:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:24:15,239 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,239 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,239 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,239 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 09:24:15,239 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 09:24:15,239 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 09:24:15,239 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior675#-1400552928] 09:24:15,250 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate676] 09:24:15,354 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,354 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,354 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,354 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 09:24:15,354 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 09:24:15,354 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 09:24:15,354 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior677#1689333896] 09:24:15,365 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate678] 09:24:15,469 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,469 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,469 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,469 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 09:24:15,469 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 09:24:15,469 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:24:15,469 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:24:15,469 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,469 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,469 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 09:24:15,469 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 09:24:15,469 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:24:15,469 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,469 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,469 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 09:24:15,470 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 09:24:15,470 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 09:24:15,470 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 09:24:15,470 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:24:15,470 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,470 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,470 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 09:24:15,470 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 09:24:15,470 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:24:15,470 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior679#-1319353746] 09:24:15,481 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate680] 09:24:15,585 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,585 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 09:24:15,585 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 09:24:15,585 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior681#204258327] 09:24:15,596 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate682] 09:24:15,700 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,700 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,700 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:24:15,700 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 09:24:15,700 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 09:24:15,700 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior683#48999819] 09:24:15,711 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate684] 09:24:15,715 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,715 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,716 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:24:15,716 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:24:15,716 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 09:24:15,716 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 09:24:15,716 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior685#1276333683] 09:24:15,727 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate686] 09:24:15,730 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,730 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,730 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,731 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 09:24:15,731 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 09:24:15,731 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:24:15,731 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 09:24:15,731 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior687#1674565079] 09:24:15,742 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate688] 09:24:15,742 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer689#-1125216034] 09:24:15,744 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,744 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 09:24:15,744 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,744 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:24:15,745 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 09:24:15,745 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:24:15,745 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:24:15,745 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior690#-818049494] 09:24:15,755 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate691] 09:24:15,755 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer692#-1257747850] 09:24:15,758 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,758 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,758 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:24:15,759 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:24:15,759 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 09:24:15,759 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 09:24:15,759 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior693#-1658738073] 09:24:15,770 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate694] 09:24:15,770 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer695#1480764089] 09:24:15,772 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,772 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,772 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,772 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 09:24:15,772 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==[]} 09:24:15,772 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 09:24:15,772 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:24:15,772 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 09:24:15,773 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior696#-931561524] 09:24:15,783 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate697] 09:24:15,783 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer698#-1574733283] 09:24:15,786 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,786 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 09:24:15,787 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 09:24:15,787 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,787 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:24:15,787 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 09:24:15,788 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:24:15,788 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:24:15,788 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 09:24:15,788 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 09:24:15,788 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:24:15,788 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:24:15,788 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:24:15,788 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 09:24:15,788 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior699#2097019724] 09:24:15,789 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate700] 09:24:15,789 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer701#1001561019] 09:24:15,789 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer702#-1740321422] 09:24:15,792 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,793 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,793 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,793 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 09:24:15,793 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 09:24:15,793 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 09:24:15,793 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior703#-255454584] 09:24:15,794 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate704] 09:24:15,794 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer705#-1143863851] 09:24:15,901 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,901 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,901 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:24:15,901 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 09:24:15,901 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]]} 09:24:15,901 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 09:24:15,901 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:24:15,901 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 09:24:15,902 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior706#1798798170] 09:24:15,906 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate707] 09:24:15,910 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,910 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,910 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:24:15,910 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:24:15,910 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 09:24:15,910 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 09:24:15,911 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior708#1741197771] 09:24:15,911 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate709] 09:24:15,912 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer710#-252374570] 09:24:15,916 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,916 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:15,916 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,916 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior711#1524085596] 09:24:15,927 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate712] 09:24:15,929 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:15,930 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 09:24:15,930 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:15,930 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 09:24:15,930 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 09:24:16,332 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 09:24:16,332 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 09:24:16,332 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:24:16,332 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:24:16,332 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 09:24:16,332 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:24:16,332 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:24:16,332 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:24:16,332 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:24:16,332 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:24:16,332 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:24:16,333 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior713#53843658] 09:24:16,344 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate714] 09:24:16,344 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer715#-2062364568] 09:24:16,344 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer716#-442426540] 09:24:16,344 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer717#1044988673] 09:24:16,348 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer718#320188948] 09:24:16,352 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:16,352 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 09:24:16,353 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 09:24:16,353 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:24:16,353 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 09:24:16,354 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 09:24:16,354 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 09:24:16,354 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 09:24:16,354 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 09:24:16,354 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 09:24:16,354 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 09:24:16,354 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:24:16,354 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 09:24:16,354 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 09:24:16,354 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 09:24:16,354 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:24:16,354 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:24:16,354 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:24:16,354 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:24:16,354 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:24:16,354 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 09:24:16,354 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior719#-481206938] 09:24:16,365 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate720] 09:24:16,365 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer721#1210467347] 09:24:16,365 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer722#-1466650432] 09:24:16,365 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer723#-1731213995] 09:24:16,365 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer724#-1328683662] 09:24:16,368 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:16,368 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:16,368 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:16,368 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior725#910149911] 09:24:16,378 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate726] 09:24:16,382 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:16,382 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:16,382 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:16,382 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 09:24:16,382 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 09:24:16,382 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:24:16,382 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:24:16,383 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior727#-1609384145] 09:24:16,393 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate728] 09:24:16,397 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:16,397 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:16,397 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:16,397 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 09:24:16,397 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 09:24:16,397 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior729#1382819812] 09:24:16,408 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate730] 09:24:16,409 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer731#-1077413516] 09:24:16,414 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:16,414 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 09:24:16,415 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 09:24:16,415 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:16,415 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:24:16,415 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 09:24:16,415 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:24:16,415 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:24:16,415 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 09:24:16,415 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:24:16,415 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:24:16,415 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:24:16,415 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:24:16,416 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior732#-1181133578] 09:24:16,426 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate733] 09:24:16,426 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer734#1471855845] 09:24:16,427 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer735#725471977] 09:24:16,429 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:24:16,429 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:24:16,429 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:24:16,430 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior736#562679632] 09:24:16,440 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate737] [INFO] [11/06/2025 21:24:16.441] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 09:24:16,441 PM [test-pekko.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/06/2025 21:24:16.442] [test-pekko.actor.default-dispatcher-5] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.147:17355) [INFO] [11/06/2025 21:24:16.442] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.147:17355] - Exiting completed [INFO] [11/06/2025 21:24:16.442] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.147:17355] - Shutting down... [INFO] [11/06/2025 21:24:16.443] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.147:17355] - Successfully shut down 09:24:16,443 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.147:17355] - Exiting completed 09:24:16,443 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.147:17355] - Shutting down... 09:24:16,443 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.147:17355] - Successfully shut down 09:24:16,444 PM [test-pekko.actor.default-dispatcher-4] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-2103269981] was unhandled. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:24:16,444 PM [test-pekko.actor.default-dispatcher-4] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 09:24:16,444 PM [test-pekko.actor.default-dispatcher-4] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [pekkoDeadLetter][11/06/2025 21:24:16.442] [test-pekko.actor.default-dispatcher-4] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-2103269981] was unhandled. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [11/06/2025 21:24:16.444] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.147:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [11/06/2025 21:24:16.444] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.147:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/06/2025 21:24:16.446] [test-pekko.remote.default-remote-dispatcher-6] [pekko://test@10.30.170.147:17355/system/remoting-terminator] Remoting shut down. 09:24:16,446 PM [test-pekko.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [11/06/2025 21:24:16.446] [test-pekko.actor.internal-dispatcher-9] [EventStream] shutting down: StandardOutLogger