[DEBUG] [10/21/2025 10:00:44.116] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 10:00:44,118 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/21/2025 10:00:44.118] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [10/21/2025 10:00:44.119] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [10/21/2025 10:00:44.133] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.52:17355] with UID [-5633866837897324308] 10:00:44,134 AM [test-pekko.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.52:17355] with UID [-5633866837897324308] [INFO] [10/21/2025 10:00:44.134] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.52:17355] - Starting up, Pekko version [1.2.1] ... 10:00:44,134 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.52:17355] - Starting up, Pekko version [1.2.1] ... [INFO] [10/21/2025 10:00:44.137] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.52:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 10:00:44,137 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.52:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [10/21/2025 10:00:44.137] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.52:17355] - Started up successfully 10:00:44,137 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.52:17355] - Started up successfully [INFO] [10/21/2025 10:00:44.138] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.52:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [10/21/2025 10:00:44.138] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.52:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 10:00:44,138 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.52:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 10:00:44,138 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.52:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 10:00:44,153 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,153 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,153 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,153 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 10:00:44,153 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 10:00:44,154 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 10:00:44,154 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior670#1180353387] 10:00:44,165 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate671] 10:00:44,168 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,168 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,168 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,169 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 10:00:44,169 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 10:00:44,169 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 10:00:44,169 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior672#-1162916964] 10:00:44,180 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate673] 10:00:44,183 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,183 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,183 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,183 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 10:00:44,183 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 10:00:44,184 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 10:00:44,184 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,184 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,184 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 10:00:44,184 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 10:00:44,184 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 10:00:44,184 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,184 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,184 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 10:00:44,184 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 10:00:44,184 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 10:00:44,184 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 10:00:44,184 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 10:00:44,184 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,184 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,184 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 10:00:44,184 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 10:00:44,184 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 10:00:44,184 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior674#1986084968] 10:00:44,195 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate675] 10:00:44,198 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,198 AM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 10:00:44,198 AM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 10:00:44,199 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior676#1866698940] 10:00:44,209 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate677] 10:00:44,213 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,213 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,213 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 10:00:44,213 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 10:00:44,213 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 10:00:44,214 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior678#-112980478] 10:00:44,224 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate679] 10:00:44,227 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,227 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,227 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 10:00:44,228 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 10:00:44,228 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 10:00:44,228 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 10:00:44,228 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior680#54306259] 10:00:44,238 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate681] 10:00:44,243 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,243 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,243 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,244 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 10:00:44,244 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 10:00:44,244 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 10:00:44,244 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior682#1559389203] 10:00:44,255 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate683] 10:00:44,255 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer684#-1529090933] 10:00:44,259 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,259 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 10:00:44,259 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,260 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 10:00:44,260 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 10:00:44,260 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 10:00:44,260 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 10:00:44,260 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior685#120405220] 10:00:44,271 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate686] 10:00:44,271 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer687#286876069] 10:00:44,274 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,274 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,274 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 10:00:44,274 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 10:00:44,274 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 10:00:44,274 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 10:00:44,275 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior688#-1078472979] 10:00:44,285 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate689] 10:00:44,286 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer690#1227353150] 10:00:44,289 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,289 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,289 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,290 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 10:00:44,290 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==[]} 10:00:44,290 AM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 10:00:44,290 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 10:00:44,291 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior691#-563537491] 10:00:44,301 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate692] 10:00:44,302 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer693#-1863908062] 10:00:44,305 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,305 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 10:00:44,307 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 10:00:44,307 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,307 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 10:00:44,307 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 10:00:44,307 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 10:00:44,307 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 10:00:44,307 AM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 10:00:44,307 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 10:00:44,307 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:00:44,307 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:00:44,307 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 10:00:44,307 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior694#-1768220730] 10:00:44,318 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate695] 10:00:44,318 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer696#1227116701] 10:00:44,318 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer697#-1558978915] 10:00:44,322 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,322 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,322 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,323 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 10:00:44,323 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 10:00:44,323 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 10:00:44,323 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior698#-37398746] 10:00:44,334 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate699] 10:00:44,334 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer700#-408640218] 10:00:44,337 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,337 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,338 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 10:00:44,338 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 10:00:44,338 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]]} 10:00:44,338 AM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 10:00:44,338 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 10:00:44,338 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior701#-613351669] 10:00:44,349 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate702] 10:00:44,352 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,352 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,352 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 10:00:44,352 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 10:00:44,352 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 10:00:44,352 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 10:00:44,352 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior703#85154443] 10:00:44,363 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate704] 10:00:44,364 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer705#-1275410521] 10:00:44,368 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,368 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,368 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,369 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior706#-327781031] 10:00:44,379 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate707] 10:00:44,383 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,385 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 10:00:44,385 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,385 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 10:00:44,385 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 10:00:44,787 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 10:00:44,787 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 10:00:44,787 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 10:00:44,787 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 10:00:44,788 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 10:00:44,788 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:00:44,788 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:00:44,788 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:00:44,788 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:00:44,788 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:00:44,788 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior708#789632534] 10:00:44,799 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate709] 10:00:44,800 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer710#-872338435] 10:00:44,800 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer711#-109498081] 10:00:44,800 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer712#-1795323222] 10:00:44,800 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer713#1291961189] 10:00:44,804 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,804 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 10:00:44,806 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 10:00:44,806 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 10:00:44,806 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 10:00:44,806 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 10:00:44,806 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 10:00:44,806 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 10:00:44,807 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 10:00:44,807 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 10:00:44,807 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 10:00:44,807 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 10:00:44,807 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 10:00:44,807 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 10:00:44,807 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 10:00:44,807 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:00:44,807 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:00:44,807 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:00:44,807 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:00:44,807 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 10:00:44,807 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior714#-1680901747] 10:00:44,818 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate715] 10:00:44,819 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer716#-1892060099] 10:00:44,819 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer717#-543378815] 10:00:44,819 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer718#-1237831384] 10:00:44,819 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer719#1987701398] 10:00:44,822 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,822 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,822 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,823 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior720#1421208689] 10:00:44,833 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate721] 10:00:44,837 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,837 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,837 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,837 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 10:00:44,837 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 10:00:44,837 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:00:44,838 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior722#-1046287022] 10:00:44,848 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate723] 10:00:44,855 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,855 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,855 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,855 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 10:00:44,855 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 10:00:44,856 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior724#-1741902536] 10:00:44,866 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate725] 10:00:44,867 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer726#101474570] 10:00:44,870 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,870 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 10:00:44,870 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 10:00:44,870 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,870 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 10:00:44,871 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 10:00:44,871 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 10:00:44,871 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 10:00:44,871 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 10:00:44,871 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:00:44,871 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:00:44,871 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:00:44,871 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior727#-1967472218] 10:00:44,882 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate728] 10:00:44,882 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer729#-300869315] 10:00:44,882 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer730#-1860747293] 10:00:44,886 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 10:00:44,886 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 10:00:44,886 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 10:00:44,887 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior731#530925325] 10:00:44,897 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate732] [INFO] [10/21/2025 10:00:44.899] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 10:00:44,900 AM [test-pekko.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/21/2025 10:00:44.901] [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.52:17355) [INFO] [10/21/2025 10:00:44.901] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.52:17355] - Exiting completed [INFO] [10/21/2025 10:00:44.901] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.52:17355] - Shutting down... 10:00:44,901 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.52:17355] - Exiting completed 10:00:44,902 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.52:17355] - Shutting down... [INFO] [10/21/2025 10:00:44.902] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.52:17355] - Successfully shut down 10:00:44,902 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.52:17355] - Successfully shut down [INFO] [pekkoDeadLetter][10/21/2025 10:00:44.901] [test-pekko.actor.default-dispatcher-7] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1460708147] 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'. 10:00:44,903 AM [test-pekko.actor.default-dispatcher-7] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#1460708147] 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] [10/21/2025 10:00:44.904] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.52:17355/system/remoting-terminator] Shutting down remote daemon. 10:00:44,904 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [10/21/2025 10:00:44.904] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.52:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 10:00:44,904 AM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [10/21/2025 10:00:44.906] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.52:17355/system/remoting-terminator] Remoting shut down. 10:00:44,906 AM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [10/21/2025 10:00:44.906] [test-pekko.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger