[DEBUG] [05/30/2026 02:39:07.273] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 02:39:07,274 AM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [05/30/2026 02:39:07.274] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [05/30/2026 02:39:07.274] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [05/30/2026 02:39:07.289] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.107:17355] with UID [7337806543024480097] 02:39:07,289 AM [test-pekko.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.107:17355] with UID [7337806543024480097] [INFO] [05/30/2026 02:39:07.290] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.107:17355] - Starting up, Pekko version [1.4.0] ... 02:39:07,290 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.107:17355] - Starting up, Pekko version [1.4.0] ... [INFO] [05/30/2026 02:39:07.292] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.107:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [05/30/2026 02:39:07.292] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.107:17355] - Started up successfully 02:39:07,292 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.107:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 02:39:07,292 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.107:17355] - Started up successfully 02:39:07,295 AM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.107:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 02:39:07,295 AM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.107:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [05/30/2026 02:39:07.295] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.107:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [05/30/2026 02:39:07.295] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.107:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:39:07,404 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,404 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,404 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,404 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 02:39:07,404 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 02:39:07,404 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 02:39:07,405 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior357#-177735089] 02:39:07,417 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate358] 02:39:07,421 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,421 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,421 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,422 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 02:39:07,422 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 02:39:07,422 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 02:39:07,422 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior359#-1457339530] 02:39:07,433 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate360] 02:39:07,437 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,437 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,437 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,437 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 02:39:07,437 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 02:39:07,438 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 02:39:07,438 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,438 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,438 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 02:39:07,438 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 02:39:07,438 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 02:39:07,438 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,438 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,438 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 02:39:07,438 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 02:39:07,438 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 02:39:07,438 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 02:39:07,438 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 02:39:07,438 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,438 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,438 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 02:39:07,438 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 02:39:07,438 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 02:39:07,438 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior361#-1681131605] 02:39:07,449 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate362] 02:39:07,453 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,453 AM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 02:39:07,453 AM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 02:39:07,453 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior363#1550782580] 02:39:07,464 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate364] 02:39:07,473 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,473 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,473 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 02:39:07,473 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 02:39:07,473 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 02:39:07,473 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior365#-565316739] 02:39:07,474 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate366] 02:39:07,479 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,479 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,479 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 02:39:07,479 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 02:39:07,479 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 02:39:07,479 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 02:39:07,480 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior367#844493694] 02:39:07,490 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate368] 02:39:07,494 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,494 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,494 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,495 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 02:39:07,495 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 02:39:07,495 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 02:39:07,495 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior369#1835141923] 02:39:07,506 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate370] 02:39:07,506 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer371#-210094054] 02:39:07,509 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,510 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 02:39:07,510 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,510 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 02:39:07,510 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 02:39:07,510 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 02:39:07,510 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 02:39:07,510 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior372#770804273] 02:39:07,521 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate373] 02:39:07,521 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer374#-939235479] 02:39:07,524 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,524 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,524 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 02:39:07,524 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 02:39:07,524 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 02:39:07,524 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 02:39:07,525 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior375#1171519184] 02:39:07,536 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate376] 02:39:07,536 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer377#606781482] 02:39:07,641 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,641 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,641 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,641 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 02:39:07,641 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==[]} 02:39:07,641 AM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 02:39:07,641 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 02:39:07,642 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior378#1530836359] 02:39:07,653 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate379] 02:39:07,653 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer380#-2010590270] 02:39:07,657 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,657 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 02:39:07,659 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 02:39:07,659 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,659 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 02:39:07,659 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 02:39:07,659 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 02:39:07,659 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 02:39:07,659 AM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 02:39:07,659 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 02:39:07,659 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:39:07,659 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:39:07,659 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 02:39:07,660 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior381#1723875441] 02:39:07,670 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate382] 02:39:07,670 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer383#-451949877] 02:39:07,671 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer384#-221583938] 02:39:07,674 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,674 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,674 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,675 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 02:39:07,675 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 02:39:07,675 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 02:39:07,675 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior385#-554717490] 02:39:07,686 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate386] 02:39:07,686 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer387#1703221861] 02:39:07,689 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,689 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,689 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 02:39:07,690 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 02:39:07,691 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]]} 02:39:07,691 AM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 02:39:07,691 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 02:39:07,691 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior388#-1829749367] 02:39:07,702 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate389] 02:39:07,806 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,806 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,806 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 02:39:07,807 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 02:39:07,807 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 02:39:07,807 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 02:39:07,807 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior390#181027087] 02:39:07,818 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate391] 02:39:07,819 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer392#-429206006] 02:39:07,822 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,822 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:07,822 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,822 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior393#-240363875] 02:39:07,833 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate394] 02:39:07,938 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:07,939 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 02:39:07,939 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:07,940 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 02:39:07,940 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 02:39:08,342 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 02:39:08,342 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 02:39:08,342 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 02:39:08,342 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 02:39:08,342 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 02:39:08,342 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:39:08,342 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:39:08,342 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:39:08,342 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:39:08,342 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 02:39:08,343 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior395#-1151970978] 02:39:08,354 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate396] 02:39:08,354 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer397#-430919161] 02:39:08,354 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer398#1085688447] 02:39:08,354 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer399#1244944191] 02:39:08,355 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer400#-573042821] 02:39:08,359 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:08,359 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 02:39:08,361 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 02:39:08,361 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 02:39:08,361 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 02:39:08,361 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 02:39:08,362 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 02:39:08,362 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 02:39:08,362 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 02:39:08,362 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 02:39:08,362 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior401#-1780370102] 02:39:08,373 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate402] 02:39:08,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer403#-234894075] 02:39:08,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer404#1827697393] 02:39:08,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer405#2014320338] 02:39:08,373 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer406#998051845] 02:39:08,377 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:08,377 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:08,377 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:08,378 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior407#990662970] 02:39:08,388 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate408] 02:39:08,392 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:08,392 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:08,392 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:08,392 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 02:39:08,392 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 02:39:08,392 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 02:39:08,392 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior409#-786410346] 02:39:08,403 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate410] 02:39:08,405 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:08,405 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:08,405 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:08,406 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 02:39:08,406 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 02:39:08,406 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior411#615052095] 02:39:08,417 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate412] 02:39:08,417 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer413#-353160560] 02:39:08,420 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:08,420 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 02:39:08,421 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 02:39:08,421 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:08,421 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 02:39:08,421 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 02:39:08,421 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 02:39:08,421 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 02:39:08,421 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 02:39:08,421 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:39:08,422 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:39:08,422 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 02:39:08,422 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior414#1157153082] 02:39:08,433 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate415] 02:39:08,433 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer416#-346655728] 02:39:08,433 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer417#1171924819] 02:39:08,436 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:39:08,436 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:39:08,436 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:39:08,437 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior418#738649049] 02:39:08,447 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate419] [INFO] [05/30/2026 02:39:08.448] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 02:39:08,448 AM [test-pekko.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [05/30/2026 02:39:08.449] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.107:17355) [INFO] [pekkoDeadLetter][05/30/2026 02:39:08.449] [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#-1666926212] 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'. 02:39:08,450 AM [test-pekko.actor.default-dispatcher-11] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1666926212] 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] [05/30/2026 02:39:08.450] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.107:17355] - Exiting completed [INFO] [05/30/2026 02:39:08.450] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.107:17355] - Shutting down... [INFO] [05/30/2026 02:39:08.450] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.107:17355] - Successfully shut down 02:39:08,450 AM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.107:17355] - Exiting completed 02:39:08,450 AM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.107:17355] - Shutting down... 02:39:08,450 AM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.107:17355] - Successfully shut down [INFO] [05/30/2026 02:39:08.452] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.107:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [05/30/2026 02:39:08.452] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.107:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 02:39:08,452 AM [test-pekko.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 02:39:08,452 AM [test-pekko.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [05/30/2026 02:39:08.454] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.107:17355/system/remoting-terminator] Remoting shut down. 02:39:08,454 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [05/30/2026 02:39:08.454] [test-pekko.actor.internal-dispatcher-5] [EventStream] shutting down: StandardOutLogger