[DEBUG] [11/07/2025 16:29:18.662] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 04:29:18,666 PM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/07/2025 16:29:18.666] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [11/07/2025 16:29:18.666] [main] [EventStream(pekko://test)] Default Loggers started 04:29:18,684 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.50:17355] with UID [7049560980466115938] 04:29:18,684 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.50:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [11/07/2025 16:29:18.683] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.50:17355] with UID [7049560980466115938] [INFO] [11/07/2025 16:29:18.683] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.50:17355] - Starting up, Pekko version [1.0.3] ... 04:29:18,686 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.50:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 04:29:18,686 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.50:17355] - Started up successfully [INFO] [11/07/2025 16:29:18.685] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.50:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [11/07/2025 16:29:18.685] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.50:17355] - Started up successfully 04:29:18,686 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.50:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 04:29:18,686 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.50:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [11/07/2025 16:29:18.686] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.50:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [11/07/2025 16:29:18.686] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.50:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 04:29:18,701 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,701 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,701 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,702 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 04:29:18,702 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:29:18,702 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 04:29:18,702 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior675#-598805461] 04:29:18,713 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate676] 04:29:18,715 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,715 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,715 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,715 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 04:29:18,715 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:29:18,715 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 04:29:18,716 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior677#-1686711487] 04:29:18,726 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate678] 04:29:18,729 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,729 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,729 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,729 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:29:18,729 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:29:18,729 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:29:18,729 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:29:18,730 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,730 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,730 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:29:18,730 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:29:18,730 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:29:18,730 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,730 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,730 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 04:29:18,730 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:29:18,730 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:29:18,730 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 04:29:18,730 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:29:18,730 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,730 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,730 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 04:29:18,730 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:29:18,730 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:29:18,730 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior679#1123151591] 04:29:18,741 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate680] 04:29:18,743 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,743 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 04:29:18,743 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 04:29:18,743 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior681#299771795] 04:29:18,754 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate682] 04:29:18,756 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,756 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,756 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:29:18,756 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:29:18,756 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 04:29:18,757 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior683#1632228296] 04:29:18,767 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate684] 04:29:18,769 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,769 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,769 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:29:18,769 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:29:18,769 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:29:18,769 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:29:18,769 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior685#1600977626] 04:29:18,780 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate686] 04:29:18,782 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,782 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,783 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,783 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:29:18,783 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:29:18,784 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:29:18,784 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 04:29:18,784 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior687#-982258523] 04:29:18,794 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate688] 04:29:18,795 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer689#532129988] 04:29:18,796 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,797 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 04:29:18,797 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,797 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:29:18,797 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:29:18,797 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:29:18,797 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:29:18,797 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior690#894696101] 04:29:18,808 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate691] 04:29:18,808 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer692#473830162] 04:29:18,811 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,811 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,811 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:29:18,811 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:29:18,811 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:29:18,811 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:29:18,811 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior693#1755532425] 04:29:18,822 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate694] 04:29:18,822 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer695#-304184632] 04:29:18,824 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,824 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,824 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,824 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:29:18,824 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:29:18,824 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:29:18,825 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:29:18,825 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:29:18,825 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior696#-503425495] 04:29:18,835 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate697] 04:29:18,836 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer698#-579541433] 04:29:18,838 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,839 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 04:29:18,839 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:29:18,840 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,840 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:29:18,840 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:29:18,840 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:29:18,840 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:29:18,840 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 04:29:18,840 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 04:29:18,840 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:29:18,840 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:29:18,840 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:29:18,840 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 04:29:18,840 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior699#176510032] 04:29:18,851 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate700] 04:29:18,851 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer701#-243546074] 04:29:18,851 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer702#-1093358325] 04:29:18,853 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,853 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,853 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,853 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 04:29:18,853 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:29:18,853 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 04:29:18,854 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior703#-2014878626] 04:29:18,864 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate704] 04:29:18,864 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer705#1063233872] 04:29:18,867 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,867 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,867 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:29:18,867 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:29:18,867 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:29:18,867 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:29:18,868 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:29:18,868 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:29:18,868 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior706#-896281625] 04:29:18,869 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate707] 04:29:18,873 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,873 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,873 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:29:18,874 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:29:18,874 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:29:18,874 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 04:29:18,874 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior708#1791191320] 04:29:18,875 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate709] 04:29:18,875 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer710#-380603079] 04:29:18,876 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,876 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:18,876 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,877 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior711#314281816] 04:29:18,877 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate712] 04:29:18,879 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:18,880 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 04:29:18,880 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:18,880 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 04:29:18,880 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 04:29:19,281 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 04:29:19,281 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:29:19,282 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:29:19,282 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:29:19,282 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:29:19,282 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:29:19,282 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:29:19,282 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:29:19,282 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:29:19,282 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:29:19,282 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:29:19,282 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior713#1121956386] 04:29:19,284 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate714] 04:29:19,284 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer715#-741228097] 04:29:19,284 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer716#1278817248] 04:29:19,284 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer717#1735442430] 04:29:19,285 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer718#2127296348] 04:29:19,289 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:19,289 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 04:29:19,290 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:29:19,290 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 04:29:19,290 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:29:19,290 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:29:19,291 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:29:19,291 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:29:19,291 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:29:19,291 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:29:19,291 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 04:29:19,291 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior719#-642674542] 04:29:19,291 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate720] 04:29:19,292 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer721#996159129] 04:29:19,292 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer722#-1803770938] 04:29:19,292 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer723#-375266300] 04:29:19,292 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer724#-493351004] 04:29:19,294 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:19,294 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:19,294 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:19,295 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior725#2126673326] 04:29:19,296 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate726] 04:29:19,298 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:19,298 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:19,298 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:19,298 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:29:19,298 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 04:29:19,299 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:29:19,299 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:29:19,299 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior727#-1249714762] 04:29:19,299 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate728] 04:29:19,301 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:19,301 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:19,302 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:19,302 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:29:19,302 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 04:29:19,302 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior729#1913446110] 04:29:19,303 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate730] 04:29:19,303 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer731#104587716] 04:29:19,305 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:19,305 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 04:29:19,305 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:29:19,305 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:19,305 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:29:19,306 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:29:19,306 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:29:19,306 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:29:19,306 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 04:29:19,306 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:29:19,306 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:29:19,306 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:29:19,306 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:29:19,306 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior732#-983022595] 04:29:19,307 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate733] 04:29:19,307 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer734#-191650095] 04:29:19,307 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer735#-1754455158] 04:29:19,309 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:29:19,309 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:29:19,309 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:29:19,309 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior736#876910709] 04:29:19,309 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate737] [INFO] [11/07/2025 16:29:19.310] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 04:29:19,310 PM [test-pekko.actor.default-dispatcher-7] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/07/2025 16:29:19.311] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.50:17355) [INFO] [pekkoDeadLetter][11/07/2025 16:29:19.311] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-547049047] 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'. 04:29:19,311 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#-547049047] 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/07/2025 16:29:19.311] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.50:17355] - Exiting completed [INFO] [11/07/2025 16:29:19.311] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.50:17355] - Shutting down... 04:29:19,311 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.50:17355] - Exiting completed 04:29:19,311 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.50:17355] - Shutting down... [INFO] [11/07/2025 16:29:19.312] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.50:17355] - Successfully shut down 04:29:19,312 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.50:17355] - Successfully shut down [INFO] [11/07/2025 16:29:19.312] [test-pekko.remote.default-remote-dispatcher-11] [pekko://test@10.30.171.50:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [11/07/2025 16:29:19.313] [test-pekko.remote.default-remote-dispatcher-11] [pekko://test@10.30.171.50:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 04:29:19,313 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 04:29:19,313 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/07/2025 16:29:19.315] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.50:17355/system/remoting-terminator] Remoting shut down. 04:29:19,315 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [11/07/2025 16:29:19.315] [test-pekko.actor.internal-dispatcher-9] [EventStream] shutting down: StandardOutLogger