[DEBUG] [10/16/2025 19:51:30.706] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 07:51:30,716 PM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/16/2025 19:51:30.716] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [10/16/2025 19:51:30.716] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [10/16/2025 19:51:30.732] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.167:17355] with UID [-8810992788797766288] 07:51:30,732 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.167:17355] with UID [-8810992788797766288] [INFO] [10/16/2025 19:51:30.733] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.167:17355] - Starting up, Pekko version [1.0.3] ... 07:51:30,733 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.167:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [10/16/2025 19:51:30.735] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.167:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 07:51:30,735 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.167:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [10/16/2025 19:51:30.735] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.167:17355] - Started up successfully 07:51:30,735 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.167:17355] - Started up successfully [INFO] [10/16/2025 19:51:30.735] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.167:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [10/16/2025 19:51:30.736] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.167:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 07:51:30,736 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.167:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 07:51:30,736 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.167:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 07:51:30,751 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,751 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,751 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,751 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 07:51:30,752 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 07:51:30,752 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 07:51:30,752 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior675#2001899825] 07:51:30,763 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate676] 07:51:30,766 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,766 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,766 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,766 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 07:51:30,766 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 07:51:30,766 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 07:51:30,766 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior677#922327570] 07:51:30,777 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate678] 07:51:30,780 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,780 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,780 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,780 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 07:51:30,780 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 07:51:30,780 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:51:30,780 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 07:51:30,780 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,780 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,780 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 07:51:30,780 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 07:51:30,780 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 07:51:30,781 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,781 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,781 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 07:51:30,781 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 07:51:30,781 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 07:51:30,781 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 07:51:30,781 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 07:51:30,781 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,781 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,781 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 07:51:30,781 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 07:51:30,781 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 07:51:30,781 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior679#-735886182] 07:51:30,792 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate680] 07:51:30,794 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,794 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 07:51:30,794 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 07:51:30,794 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior681#-1056407691] 07:51:30,805 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate682] 07:51:30,808 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,808 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,808 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 07:51:30,808 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 07:51:30,808 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 07:51:30,808 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior683#-1690379308] 07:51:30,819 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate684] 07:51:30,821 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,821 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,821 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 07:51:30,821 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 07:51:30,821 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 07:51:30,821 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 07:51:30,821 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior685#-205594444] 07:51:30,832 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate686] 07:51:30,835 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,835 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,835 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,836 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 07:51:30,836 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 07:51:30,836 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:51:30,836 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 07:51:30,836 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior687#620108996] 07:51:30,847 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate688] 07:51:30,847 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer689#1211645622] 07:51:30,850 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,851 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 07:51:30,851 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,851 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 07:51:30,851 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 07:51:30,851 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 07:51:30,851 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 07:51:30,851 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior690#154972596] 07:51:30,861 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate691] 07:51:30,862 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer692#828917823] 07:51:30,865 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,865 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,865 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 07:51:30,865 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 07:51:30,865 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 07:51:30,865 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 07:51:30,866 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior693#1654556977] 07:51:30,876 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate694] 07:51:30,876 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer695#-2010703372] 07:51:30,879 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,879 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,879 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,879 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 07:51:30,879 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==[]} 07:51:30,879 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 07:51:30,880 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:51:30,880 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 07:51:30,880 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior696#1223600508] 07:51:30,891 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate697] 07:51:30,891 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer698#1763702251] 07:51:30,893 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,893 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 07:51:30,894 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 07:51:30,894 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,894 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 07:51:30,894 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 07:51:30,894 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 07:51:30,894 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 07:51:30,894 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 07:51:30,894 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 07:51:30,894 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:51:30,894 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:51:30,894 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:51:30,894 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 07:51:30,894 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior699#172631816] 07:51:30,905 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate700] 07:51:30,905 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer701#-1939603949] 07:51:30,905 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer702#1372554765] 07:51:30,908 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,908 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,908 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,908 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 07:51:30,908 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 07:51:30,908 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 07:51:30,908 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior703#-1845810670] 07:51:30,919 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate704] 07:51:30,919 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer705#-626343427] 07:51:30,925 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,925 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,925 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 07:51:30,925 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 07:51:30,926 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]]} 07:51:30,926 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 07:51:30,926 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:51:30,926 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 07:51:30,926 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior706#483031097] 07:51:30,936 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate707] 07:51:30,938 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,938 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,938 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 07:51:30,939 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 07:51:30,939 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 07:51:30,939 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 07:51:30,939 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior708#2058802038] 07:51:30,949 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate709] 07:51:30,949 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer710#731280248] 07:51:30,952 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:30,952 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:30,952 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:30,952 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior711#154268775] 07:51:30,963 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate712] 07:51:31,66 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:31,67 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 07:51:31,67 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:31,67 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 07:51:31,67 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 07:51:31,470 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 07:51:31,470 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 07:51:31,470 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 07:51:31,470 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 07:51:31,470 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 07:51:31,471 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:51:31,471 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:51:31,471 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:51:31,471 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:51:31,471 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:51:31,471 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:51:31,471 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior713#-296788583] 07:51:31,482 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate714] 07:51:31,482 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer715#324109504] 07:51:31,483 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer716#-1698730599] 07:51:31,483 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer717#-2033144984] 07:51:31,483 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer718#1449878790] 07:51:31,487 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:31,487 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 07:51:31,488 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 07:51:31,488 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 07:51:31,488 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 07:51:31,488 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 07:51:31,488 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 07:51:31,489 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 07:51:31,491 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 07:51:31,491 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 07:51:31,491 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 07:51:31,491 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 07:51:31,491 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 07:51:31,491 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 07:51:31,491 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 07:51:31,491 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:51:31,491 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:51:31,491 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:51:31,491 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:51:31,491 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:51:31,491 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 07:51:31,491 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior719#-1278751208] 07:51:31,502 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate720] 07:51:31,502 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer721#-1230137684] 07:51:31,503 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer722#-250007638] 07:51:31,503 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer723#-66635387] 07:51:31,503 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer724#178025584] 07:51:31,508 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:31,508 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:31,508 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:31,508 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior725#1895938210] 07:51:31,519 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate726] 07:51:31,523 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:31,523 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:31,523 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:31,523 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 07:51:31,523 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 07:51:31,523 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:51:31,523 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:51:31,523 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior727#-845528417] 07:51:31,534 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate728] 07:51:31,537 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:31,537 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:31,537 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:31,537 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 07:51:31,537 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 07:51:31,537 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior729#578546437] 07:51:31,548 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate730] 07:51:31,548 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer731#1507693384] 07:51:31,552 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:31,552 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 07:51:31,553 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 07:51:31,553 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:31,553 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 07:51:31,553 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 07:51:31,553 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 07:51:31,553 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 07:51:31,553 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 07:51:31,553 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:51:31,554 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:51:31,554 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:51:31,554 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:51:31,554 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior732#1577390114] 07:51:31,565 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate733] 07:51:31,565 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer734#1047024947] 07:51:31,565 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer735#1051466551] 07:51:31,569 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:51:31,569 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 07:51:31,569 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 07:51:31,569 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior736#-1965341759] 07:51:31,580 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate737] [INFO] [10/16/2025 19:51:31.581] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 07:51:31,581 PM [test-pekko.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/16/2025 19:51:31.582] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.167:17355) [INFO] [pekkoDeadLetter][10/16/2025 19:51:31.582] [test-pekko.actor.default-dispatcher-7] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1222006428] 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'. 07:51:31,582 PM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1222006428] 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] [10/16/2025 19:51:31.583] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.167:17355] - Exiting completed [INFO] [10/16/2025 19:51:31.583] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.167:17355] - Shutting down... 07:51:31,583 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.167:17355] - Exiting completed 07:51:31,583 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.167:17355] - Shutting down... [INFO] [10/16/2025 19:51:31.583] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.167:17355] - Successfully shut down 07:51:31,584 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.167:17355] - Successfully shut down [INFO] [10/16/2025 19:51:31.585] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.167:17355/system/remoting-terminator] Shutting down remote daemon. 07:51:31,585 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [10/16/2025 19:51:31.585] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.167:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 07:51:31,585 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [10/16/2025 19:51:31.587] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.167:17355/system/remoting-terminator] Remoting shut down. 07:51:31,587 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.