[DEBUG] [11/06/2025 16:50:07.623] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 04:50:07,636 PM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/06/2025 16:50:07.636] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [11/06/2025 16:50:07.636] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [11/06/2025 16:50:07.651] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.60:17355] with UID [5691425769589399684] 04:50:07,652 PM [test-pekko.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.60:17355] with UID [5691425769589399684] [INFO] [11/06/2025 16:50:07.653] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.60:17355] - Starting up, Pekko version [1.0.3] ... 04:50:07,653 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.60:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [11/06/2025 16:50:07.656] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.60:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [11/06/2025 16:50:07.656] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.60:17355] - Started up successfully 04:50:07,656 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.60:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 04:50:07,656 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.60:17355] - Started up successfully [INFO] [11/06/2025 16:50:07.657] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.60: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 16:50:07.657] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.60:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 04:50:07,658 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.60:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 04:50:07,658 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.60:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 04:50:07,773 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:07,773 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:07,773 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:07,773 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 04:50:07,773 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:50:07,773 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 04:50:07,773 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior675#-448515253] 04:50:07,784 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate676] 04:50:07,887 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:07,888 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:07,888 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:07,888 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 04:50:07,888 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:50:07,888 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 04:50:07,888 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior677#-662814178] 04:50:07,899 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate678] 04:50:08,3 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,3 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,3 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,3 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:50:08,3 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:50:08,3 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:50:08,3 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:50:08,3 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,3 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,3 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:50:08,3 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:50:08,3 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:50:08,4 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,4 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,4 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 04:50:08,4 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:50:08,4 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:50:08,4 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 04:50:08,4 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:50:08,4 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,4 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,4 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 04:50:08,4 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:50:08,4 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:50:08,4 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior679#355661437] 04:50:08,15 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate680] 04:50:08,17 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,17 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 04:50:08,17 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 04:50:08,17 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior681#2134591110] 04:50:08,28 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate682] 04:50:08,31 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,31 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,31 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:50:08,31 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:50:08,31 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 04:50:08,32 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior683#522777224] 04:50:08,32 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate684] 04:50:08,35 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,35 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,35 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:50:08,35 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:50:08,35 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:50:08,35 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:50:08,36 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior685#-1450142557] 04:50:08,36 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate686] 04:50:08,38 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,38 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,38 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,38 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:50:08,38 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:50:08,38 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:50:08,38 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 04:50:08,38 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior687#-1774765718] 04:50:08,39 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate688] 04:50:08,39 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer689#1036750081] 04:50:08,41 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,41 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 04:50:08,41 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,41 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:50:08,41 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:50:08,41 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:50:08,41 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:50:08,41 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior690#952424926] 04:50:08,41 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate691] 04:50:08,41 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer692#1588588937] 04:50:08,43 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,43 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,43 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:50:08,43 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:50:08,43 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:50:08,43 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:50:08,43 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior693#1629495136] 04:50:08,44 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate694] 04:50:08,44 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer695#-36147748] 04:50:08,45 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,45 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,45 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,45 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:50:08,45 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:50:08,45 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:50:08,45 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:50:08,45 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:50:08,46 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior696#-1813007617] 04:50:08,46 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate697] 04:50:08,46 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer698#1744528799] 04:50:08,48 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,48 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 04:50:08,48 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:50:08,48 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,48 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:50:08,48 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:50:08,48 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:50:08,48 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:50:08,48 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 04:50:08,48 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 04:50:08,48 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:50:08,48 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:50:08,49 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:50:08,49 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 04:50:08,49 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior699#196786588] 04:50:08,49 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate700] 04:50:08,49 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer701#1807595773] 04:50:08,49 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer702#539348753] 04:50:08,51 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,51 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,51 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,51 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 04:50:08,51 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:50:08,51 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 04:50:08,51 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior703#-1772979810] 04:50:08,52 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate704] 04:50:08,52 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer705#-313198369] 04:50:08,53 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,53 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,53 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:50:08,53 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:50:08,53 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:50:08,53 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:50:08,54 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:50:08,54 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:50:08,54 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior706#303090101] 04:50:08,54 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate707] 04:50:08,56 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,56 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,56 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:50:08,56 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:50:08,56 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:50:08,56 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 04:50:08,56 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior708#-40164977] 04:50:08,56 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate709] 04:50:08,56 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer710#157602374] 04:50:08,58 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,58 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,58 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,58 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior711#201847254] 04:50:08,59 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate712] 04:50:08,61 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,62 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 04:50:08,62 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,62 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 04:50:08,62 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 04:50:08,464 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 04:50:08,464 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:50:08,464 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:50:08,464 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:50:08,464 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:50:08,464 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:50:08,464 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:50:08,464 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:50:08,464 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:50:08,464 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:50:08,464 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:50:08,465 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior713#52148986] 04:50:08,466 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate714] 04:50:08,466 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer715#502883191] 04:50:08,466 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer716#-2146995990] 04:50:08,466 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer717#1737613138] 04:50:08,467 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer718#-1322283043] 04:50:08,472 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,472 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 04:50:08,474 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:50:08,474 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 04:50:08,474 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:50:08,474 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:50:08,475 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:50:08,475 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:50:08,475 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:50:08,475 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:50:08,475 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 04:50:08,475 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior719#1359919158] 04:50:08,475 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate720] 04:50:08,475 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer721#396769827] 04:50:08,475 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer722#1284267802] 04:50:08,476 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer723#912463182] 04:50:08,476 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer724#2057642165] 04:50:08,478 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,478 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,478 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,478 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior725#-1532188021] 04:50:08,479 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate726] 04:50:08,481 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,481 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,481 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,481 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:50:08,481 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 04:50:08,481 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:50:08,481 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:50:08,481 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior727#-698910766] 04:50:08,482 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate728] 04:50:08,484 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,484 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,484 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,485 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:50:08,485 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 04:50:08,485 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior729#1809318244] 04:50:08,485 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate730] 04:50:08,485 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer731#-2120416911] 04:50:08,487 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,487 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 04:50:08,487 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:50:08,487 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,487 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:50:08,487 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:50:08,488 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:50:08,488 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:50:08,488 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 04:50:08,488 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:50:08,488 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:50:08,488 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:50:08,488 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:50:08,488 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior732#1239397904] 04:50:08,489 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate733] 04:50:08,489 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer734#-1466465155] 04:50:08,489 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer735#-151951443] 04:50:08,491 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:50:08,491 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:50:08,491 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:50:08,491 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior736#-381604265] 04:50:08,492 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate737] [INFO] [11/06/2025 16:50:08.492] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 04:50:08,492 PM [test-pekko.actor.default-dispatcher-7] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/06/2025 16:50:08.493] [test-pekko.actor.default-dispatcher-7] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.60:17355) 04:50:08,493 PM [test-pekko.actor.default-dispatcher-7] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1537228621] 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] [pekkoDeadLetter][11/06/2025 16:50:08.493] [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#1537228621] 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:50:08,494 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.60:17355] - Exiting completed 04:50:08,494 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.60:17355] - Shutting down... [INFO] [11/06/2025 16:50:08.494] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.60:17355] - Exiting completed 04:50:08,494 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.60:17355] - Successfully shut down [INFO] [11/06/2025 16:50:08.494] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.60:17355] - Shutting down... [INFO] [11/06/2025 16:50:08.494] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.60:17355] - Successfully shut down 04:50:08,495 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 04:50:08,495 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/06/2025 16:50:08.495] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.60:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [11/06/2025 16:50:08.495] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.60:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/06/2025 16:50:08.497] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.60:17355/system/remoting-terminator] Remoting shut down. 04:50:08,497 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [11/06/2025 16:50:08.497] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger