[DEBUG] [08/31/2026 08:36:48.497] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 08:36:48,497 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [08/31/2026 08:36:48.498] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [08/31/2026 08:36:48.498] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [08/31/2026 08:36:48.513] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.182:17355] with UID [8973745750302660379] 08:36:48,513 AM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.182:17355] with UID [8973745750302660379] [INFO] [08/31/2026 08:36:48.514] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Starting up, Pekko version [1.7.0] ... 08:36:48,514 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Starting up, Pekko version [1.7.0] ... 08:36:48,518 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 08:36:48,518 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Started up successfully 08:36:48,520 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 08:36:48,520 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [08/31/2026 08:36:48.518] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [08/31/2026 08:36:48.518] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Started up successfully [INFO] [08/31/2026 08:36:48.520] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [08/31/2026 08:36:48.520] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 08:36:48,540 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,540 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,540 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,540 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 08:36:48,540 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 08:36:48,540 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 08:36:48,541 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior357#-289175781] 08:36:48,552 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate358] 08:36:48,556 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,556 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,556 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,556 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 08:36:48,556 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 08:36:48,556 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 08:36:48,556 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior359#1802035364] 08:36:48,567 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate360] 08:36:48,574 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,574 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,574 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,575 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 08:36:48,575 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 08:36:48,575 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 08:36:48,575 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,575 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,575 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 08:36:48,575 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 08:36:48,575 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 08:36:48,575 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,575 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,575 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 08:36:48,575 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 08:36:48,575 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 08:36:48,575 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 08:36:48,575 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 08:36:48,576 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,576 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,576 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 08:36:48,576 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 08:36:48,576 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 08:36:48,576 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior361#1221732884] 08:36:48,587 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate362] 08:36:48,593 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,593 AM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 08:36:48,593 AM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 08:36:48,593 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior363#1829532534] 08:36:48,604 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate364] 08:36:48,609 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,609 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,609 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 08:36:48,609 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 08:36:48,609 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 08:36:48,610 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior365#1079964522] 08:36:48,621 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate366] 08:36:48,627 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,627 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,627 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 08:36:48,627 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 08:36:48,627 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 08:36:48,627 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 08:36:48,627 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior367#1966789221] 08:36:48,639 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate368] 08:36:48,644 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,644 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,644 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,649 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 08:36:48,649 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 08:36:48,649 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 08:36:48,649 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior369#-132426900] 08:36:48,660 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate370] 08:36:48,661 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer371#-382153233] 08:36:48,666 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,666 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 08:36:48,666 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,666 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 08:36:48,667 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 08:36:48,667 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 08:36:48,667 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 08:36:48,667 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior372#-1363976408] 08:36:48,678 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate373] 08:36:48,678 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer374#-783073314] 08:36:48,682 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,682 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,682 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 08:36:48,683 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 08:36:48,683 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 08:36:48,683 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 08:36:48,683 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior375#-262213639] 08:36:48,694 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate376] 08:36:48,694 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer377#-784334021] 08:36:48,699 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,699 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,699 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,700 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 08:36:48,700 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==[]} 08:36:48,700 AM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 08:36:48,700 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 08:36:48,701 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior378#1976639217] 08:36:48,712 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate379] 08:36:48,712 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer380#-1450569339] 08:36:48,719 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,719 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 08:36:48,720 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 08:36:48,720 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,720 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 08:36:48,720 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 08:36:48,720 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 08:36:48,721 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 08:36:48,721 AM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 08:36:48,721 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 08:36:48,721 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:36:48,721 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:36:48,721 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 08:36:48,721 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior381#-651698649] 08:36:48,722 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate382] 08:36:48,722 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer383#30393879] 08:36:48,723 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer384#-1161060738] 08:36:48,727 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,727 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,727 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,727 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 08:36:48,727 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 08:36:48,727 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 08:36:48,728 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior385#-2083632498] 08:36:48,739 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate386] 08:36:48,739 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer387#2042164285] 08:36:48,742 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,742 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,742 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 08:36:48,742 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 08:36:48,745 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]]} 08:36:48,745 AM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 08:36:48,745 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 08:36:48,745 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior388#1961428517] 08:36:48,746 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate389] 08:36:48,749 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,749 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,749 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 08:36:48,750 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 08:36:48,750 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 08:36:48,750 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 08:36:48,750 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior390#-773628322] 08:36:48,751 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate391] 08:36:48,751 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer392#764672629] 08:36:48,755 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,755 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:48,755 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,755 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior393#723824148] 08:36:48,756 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate394] 08:36:48,759 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:48,761 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 08:36:48,761 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:48,761 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 08:36:48,761 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 08:36:49,164 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 08:36:49,164 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 08:36:49,164 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 08:36:49,164 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 08:36:49,164 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 08:36:49,164 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:36:49,165 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:36:49,165 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:36:49,165 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:36:49,165 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:36:49,165 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior395#2126919346] 08:36:49,176 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate396] 08:36:49,177 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer397#228579465] 08:36:49,177 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer398#-1098653035] 08:36:49,177 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer399#-1179635132] 08:36:49,177 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer400#-482966489] 08:36:49,182 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:49,183 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 08:36:49,184 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 08:36:49,184 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 08:36:49,184 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 08:36:49,184 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 08:36:49,185 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 08:36:49,185 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 08:36:49,185 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 08:36:49,185 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 08:36:49,185 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 08:36:49,185 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 08:36:49,185 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 08:36:49,185 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 08:36:49,185 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 08:36:49,185 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:36:49,185 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:36:49,185 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:36:49,185 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:36:49,185 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 08:36:49,186 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior401#-951285470] 08:36:49,196 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate402] 08:36:49,197 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer403#-628616512] 08:36:49,197 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer404#-2042408911] 08:36:49,197 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer405#56081920] 08:36:49,197 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer406#-1254520031] 08:36:49,201 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:49,201 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:49,201 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:49,201 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior407#1725330093] 08:36:49,212 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate408] 08:36:49,216 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:49,216 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:49,216 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:49,216 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 08:36:49,216 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 08:36:49,216 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:36:49,217 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior409#626532795] 08:36:49,227 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate410] 08:36:49,231 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:49,231 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:49,231 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:49,232 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 08:36:49,232 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 08:36:49,232 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior411#1266982486] 08:36:49,243 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate412] 08:36:49,243 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer413#-1418998226] 08:36:49,246 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:49,246 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 08:36:49,248 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 08:36:49,248 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:49,248 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 08:36:49,248 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 08:36:49,248 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 08:36:49,248 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 08:36:49,248 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 08:36:49,248 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:36:49,248 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:36:49,248 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:36:49,249 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior414#962065675] 08:36:49,259 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate415] 08:36:49,259 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer416#-518131648] 08:36:49,260 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer417#1087098901] 08:36:49,263 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 08:36:49,263 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 08:36:49,263 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 08:36:49,263 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior418#-2119641434] 08:36:49,274 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate419] [INFO] [08/31/2026 08:36:49.275] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 08:36:49,275 AM [test-pekko.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [08/31/2026 08:36:49.277] [test-pekko.actor.default-dispatcher-5] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.182:17355) [INFO] [08/31/2026 08:36:49.278] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Exiting completed [INFO] [08/31/2026 08:36:49.278] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Shutting down... [INFO] [08/31/2026 08:36:49.278] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.182:17355] - Successfully shut down 08:36:49,279 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Exiting completed 08:36:49,279 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Shutting down... 08:36:49,279 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.182:17355] - Successfully shut down [INFO] [pekkoDeadLetter][08/31/2026 08:36:49.278] [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#-1740800091] 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'. 08:36:49,280 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#-1740800091] 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] [08/31/2026 08:36:49.281] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.182:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [08/31/2026 08:36:49.281] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.182:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 08:36:49,282 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 08:36:49,282 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 08:36:49,286 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [08/31/2026 08:36:49.285] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.182:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [08/31/2026 08:36:49.286] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger