[DEBUG] [03/11/2026 09:35:14.641] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 09:35:14,641 AM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/11/2026 09:35:14.642] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [03/11/2026 09:35:14.642] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [03/11/2026 09:35:14.666] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.239:17355] with UID [6590856279602198881] 09:35:14,666 AM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.239:17355] with UID [6590856279602198881] [INFO] [03/11/2026 09:35:14.666] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.239:17355] - Starting up, Pekko version [1.2.1] ... 09:35:14,667 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.239:17355] - Starting up, Pekko version [1.2.1] ... [INFO] [03/11/2026 09:35:14.669] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.239:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 09:35:14,669 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.239:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [03/11/2026 09:35:14.669] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.239:17355] - Started up successfully 09:35:14,669 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.239:17355] - Started up successfully 09:35:14,671 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.239:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:35:14,671 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.239:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [03/11/2026 09:35:14.671] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.239:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [03/11/2026 09:35:14.671] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.239:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:35:14,680 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,680 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,680 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,680 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 09:35:14,680 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 09:35:14,680 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 09:35:14,681 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior357#-549015441] 09:35:14,692 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate358] 09:35:14,695 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,696 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,696 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,696 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 09:35:14,696 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 09:35:14,696 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 09:35:14,696 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior359#261843977] 09:35:14,707 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate360] 09:35:14,709 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,709 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,709 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,709 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 09:35:14,709 AM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than Candidate's term 2 - switching to Follower 09:35:14,709 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:35:14,709 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,709 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,709 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}, my term is 2 09:35:14,709 AM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than Candidate's term 2 - switching to Follower 09:35:14,709 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:35:14,709 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,709 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,710 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 09:35:14,710 AM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than Candidate's term 2 - switching to Follower 09:35:14,710 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 09:35:14,710 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 09:35:14,710 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:35:14,710 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,710 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,710 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 09:35:14,710 AM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than Candidate's term 2 - switching to Follower 09:35:14,710 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:35:14,710 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior361#-726575032] 09:35:14,721 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate362] 09:35:14,726 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,726 AM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 09:35:14,726 AM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 09:35:14,726 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior363#-176330893] 09:35:14,737 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate364] 09:35:14,741 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,741 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,741 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:35:14,741 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=4, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 1001 09:35:14,741 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 09:35:14,741 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior365#1303608072] 09:35:14,752 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate366] 09:35:14,756 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,756 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,756 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:35:14,756 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:35:14,756 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 09:35:14,756 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 09:35:14,756 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior367#1865131837] 09:35:14,767 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate368] 09:35:14,771 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,771 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,771 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,772 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=5, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 09:35:14,772 AM [main] [INFO] Candidate - candidate (Candidate): Term 5 in "AppendEntries{term=5, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than Candidate's term 2 - switching to Follower 09:35:14,772 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 09:35:14,772 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior369#1794873828] 09:35:14,773 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate370] 09:35:14,774 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer371#321278120] 09:35:14,780 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,781 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 09:35:14,781 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,781 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:35:14,781 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 09:35:14,781 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:35:14,781 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:35:14,781 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior372#-1402253017] 09:35:14,792 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate373] 09:35:14,792 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer374#2100843667] 09:35:14,796 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,796 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,796 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:35:14,797 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:35:14,797 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 09:35:14,797 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 09:35:14,797 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior375#1589270685] 09:35:14,808 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate376] 09:35:14,808 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer377#-205207916] 09:35:14,810 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,810 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,810 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,811 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=2, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 09:35:14,811 AM [main] [DEBUG] Candidate - candidate (Candidate): handleAppendEntries: AppendEntries{term=2, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 09:35:14,811 AM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 09:35:14,811 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 09:35:14,811 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior378#-1874981755] 09:35:14,821 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate379] 09:35:14,822 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer380#1869014210] 09:35:14,826 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,826 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 09:35:14,827 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 09:35:14,827 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,827 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:35:14,827 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 09:35:14,828 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:35:14,828 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:35:14,828 AM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 09:35:14,828 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 09:35:14,828 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:35:14,828 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:35:14,828 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 09:35:14,828 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior381#694052168] 09:35:14,839 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate382] 09:35:14,839 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer383#-941466303] 09:35:14,839 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer384#686989865] 09:35:14,843 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,843 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,843 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,843 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 09:35:14,843 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0} - currentTerm: 2, votedFor: candidate, lastIndex: 1, lastTerm: 1 09:35:14,844 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 09:35:14,844 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior385#-454910170] 09:35:14,854 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate386] 09:35:14,854 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer387#-828116736] 09:35:14,857 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,857 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,857 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:35:14,857 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]}, my term is 2 09:35:14,858 AM [main] [DEBUG] Candidate - candidate (Candidate): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 09:35:14,858 AM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 09:35:14,858 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 09:35:14,858 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior388#-1929865266] 09:35:14,869 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate389] 09:35:14,873 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,873 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,873 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:35:14,874 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:35:14,874 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 09:35:14,874 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 09:35:14,874 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior390#779552094] 09:35:14,885 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate391] 09:35:14,885 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer392#2129796967] 09:35:14,889 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:14,889 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:14,889 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:14,889 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior393#1960159994] 09:35:14,900 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate394] 09:35:15,4 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:15,6 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 09:35:15,6 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:15,6 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 09:35:15,6 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 09:35:15,409 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 09:35:15,409 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 09:35:15,409 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:35:15,409 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:35:15,409 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 09:35:15,409 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:35:15,409 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:35:15,409 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:35:15,409 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:35:15,409 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:35:15,410 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior395#-1894607728] 09:35:15,421 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate396] 09:35:15,421 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer397#-944369139] 09:35:15,421 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer398#67749819] 09:35:15,421 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer399#-201055223] 09:35:15,422 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer400#-1711065820] 09:35:15,426 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:15,426 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 09:35:15,428 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 09:35:15,428 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:35:15,428 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 09:35:15,428 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 09:35:15,428 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 09:35:15,428 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 09:35:15,429 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 09:35:15,429 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 09:35:15,429 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 09:35:15,429 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:35:15,429 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 09:35:15,429 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 09:35:15,429 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 09:35:15,429 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:35:15,429 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:35:15,429 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:35:15,429 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:35:15,429 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 09:35:15,429 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior401#634878202] 09:35:15,430 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate402] 09:35:15,430 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer403#-1946071633] 09:35:15,431 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer404#1519587712] 09:35:15,431 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer405#-1913356012] 09:35:15,431 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer406#364459115] 09:35:15,433 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:15,433 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:15,433 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:15,434 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior407#686649064] 09:35:15,434 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate408] 09:35:15,436 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:15,436 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:15,436 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:15,436 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 09:35:15,436 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 09:35:15,436 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:35:15,436 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior409#-2080810682] 09:35:15,437 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate410] 09:35:15,439 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:15,439 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:15,439 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:15,439 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=1, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 09:35:15,439 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 09:35:15,439 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior411#1161242459] 09:35:15,440 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate412] 09:35:15,440 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer413#-242148102] 09:35:15,442 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:15,442 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 09:35:15,442 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 09:35:15,442 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:15,442 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:35:15,442 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 09:35:15,442 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:35:15,442 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:35:15,443 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 09:35:15,443 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:35:15,443 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:35:15,443 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:35:15,443 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior414#798467811] 09:35:15,443 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate415] 09:35:15,443 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer416#15203796] 09:35:15,443 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer417#-1368086605] 09:35:15,446 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:35:15,446 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:35:15,446 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:35:15,446 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior418#1846982098] 09:35:15,446 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate419] [INFO] [03/11/2026 09:35:15.447] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 09:35:15,447 AM [test-pekko.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/11/2026 09:35:15.448] [test-pekko.actor.default-dispatcher-11] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.239:17355) [INFO] [03/11/2026 09:35:15.448] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.239:17355] - Exiting completed [INFO] [03/11/2026 09:35:15.448] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.239:17355] - Shutting down... [INFO] [03/11/2026 09:35:15.448] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.239:17355] - Successfully shut down 09:35:15,449 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.239:17355] - Exiting completed 09:35:15,449 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.239:17355] - Shutting down... 09:35:15,449 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.239:17355] - Successfully shut down [INFO] [pekkoDeadLetter][03/11/2026 09:35:15.448] [test-pekko.actor.default-dispatcher-11] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1323923254] 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] [03/11/2026 09:35:15.449] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.239:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [03/11/2026 09:35:15.450] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.239:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 09:35:15,450 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 09:35:15,450 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 09:35:15,450 AM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1323923254] 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'.