[DEBUG] [07/05/2025 09:22:58.445] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 09:22:58,446 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/05/2025 09:22:58.446] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [07/05/2025 09:22:58.446] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [07/05/2025 09:22:58.457] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.247:17355] with UID [4869633931590754030] 09:22:58,457 AM [test-pekko.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.247:17355] with UID [4869633931590754030] [INFO] [07/05/2025 09:22:58.458] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.247:17355] - Starting up, Pekko version [1.0.3] ... 09:22:58,458 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.247:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [07/05/2025 09:22:58.460] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.247:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 09:22:58,460 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.247:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [07/05/2025 09:22:58.460] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.247:17355] - Started up successfully 09:22:58,460 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.247:17355] - Started up successfully [INFO] [07/05/2025 09:22:58.461] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.247:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:22:58,461 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.247:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [07/05/2025 09:22:58.461] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.247:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:22:58,465 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.247:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:22:58,473 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,473 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:22:58,473 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:22:58,473 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=5, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 09:22:58,473 AM [main] [INFO] Candidate - candidate (Candidate): Term 5 in "AppendEntries{term=5, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than Candidate's term 2 - switching to Follower 09:22:58,473 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:22:58,473 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 09:22:58,474 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior347#209477791] 09:22:58,484 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate348] 09:22:58,485 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer349#-1132402396] 09:22:58,487 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,494 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 09:22:58,494 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:22:58,494 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 09:22:58,494 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:22:58,494 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior350#-68300892] 09:22:58,504 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate351] 09:22:58,505 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer352#1491954850] 09:22:58,509 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,509 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:22:58,509 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:22:58,509 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:22:58,509 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 09:22:58,509 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 09:22:58,510 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior353#1919923228] 09:22:58,520 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate354] 09:22:58,520 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer355#-41783464] 09:22:58,525 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,525 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:22:58,525 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:22:58,525 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=2, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 09:22:58,525 AM [main] [DEBUG] Candidate - candidate (Candidate): handleAppendEntries: AppendEntries{term=2, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 09:22:58,525 AM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 09:22:58,526 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:22:58,526 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 09:22:58,526 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior356#1675317226] 09:22:58,537 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate357] 09:22:58,537 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer358#135337607] 09:22:58,539 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,539 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 09:22:58,539 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 09:22:58,539 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:22:58,539 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:22:58,539 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:22:58,539 AM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 09:22:58,540 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 09:22:58,540 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:22:58,540 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 09:22:58,540 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior359#-1131671223] 09:22:58,550 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate360] 09:22:58,551 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer361#-1359803152] 09:22:58,551 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer362#1433564869] 09:22:58,553 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,553 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:22:58,553 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:22:58,554 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 09:22:58,554 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0} - currentTerm: 2, votedFor: candidate, lastIndex: 1, lastTerm: 1 09:22:58,554 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 09:22:58,554 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior363#602740258] 09:22:58,565 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate364] 09:22:58,565 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer365#-1304677771] 09:22:58,569 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,569 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:22:58,569 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:22:58,569 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]}, my term is 2 09:22:58,569 AM [main] [DEBUG] Candidate - candidate (Candidate): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 09:22:58,569 AM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 09:22:58,569 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:22:58,569 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 09:22:58,569 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior366#-1328064278] 09:22:58,580 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate367] 09:22:58,582 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,583 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:22:58,583 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:22:58,583 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:22:58,583 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 09:22:58,583 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 09:22:58,583 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior368#-1681700398] 09:22:58,595 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate369] 09:22:58,595 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer370#-1418126737] 09:22:58,599 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,599 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:22:58,599 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:22:58,599 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior371#-325886986] 09:22:58,600 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate372] 09:22:58,602 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:22:58,609 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 09:22:58,609 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:03,630 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior373#-2047234052] 09:23:03,632 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate374] 09:23:03,632 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer375#-843825921] 09:23:03,632 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer376#-72451361] 09:23:03,632 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer377#-1343240058] 09:23:03,632 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer378#144016379] 09:23:03,635 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:03,635 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 09:23:03,637 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 09:23:03,637 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:23:08,665 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior379#-575114409] 09:23:08,676 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate380] 09:23:08,677 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer381#-502228978] 09:23:08,677 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer382#-2061034459] 09:23:08,677 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer383#493170912] 09:23:08,678 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer384#189398557] 09:23:08,683 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,683 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,684 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,684 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior385#1746821690] 09:23:08,685 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate386] 09:23:08,689 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,689 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,690 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,690 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 09:23:08,690 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 09:23:08,690 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:23:08,690 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:23:08,690 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior387#1765388651] 09:23:08,700 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate388] 09:23:08,702 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,702 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,702 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,703 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=1, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 09:23:08,703 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 09:23:08,703 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior389#1393545713] 09:23:08,714 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate390] 09:23:08,714 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer391#1151212030] 09:23:08,716 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,716 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 09:23:08,717 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 09:23:08,717 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,717 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:23:08,717 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:23:08,717 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 09:23:08,717 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:23:08,717 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:23:08,717 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior392#-1880916969] 09:23:08,728 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate393] 09:23:08,728 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer394#-765667948] 09:23:08,728 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer395#-854324418] 09:23:08,731 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,731 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,731 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,731 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior396#-1197336981] 09:23:08,741 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate397] 09:23:08,743 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,743 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,743 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,743 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 09:23:08,743 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 09:23:08,743 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 09:23:08,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior398#-1010467097] 09:23:08,754 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate399] 09:23:08,756 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,756 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,756 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,756 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 09:23:08,756 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 09:23:08,756 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 09:23:08,756 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior400#-1165723155] 09:23:08,767 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate401] 09:23:08,768 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,768 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,768 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,768 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 09:23:08,768 AM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than Candidate's term 2 - switching to Follower 09:23:08,768 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:23:08,768 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:23:08,769 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,769 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,769 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}, my term is 2 09:23:08,769 AM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than Candidate's term 2 - switching to Follower 09:23:08,769 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:23:08,769 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,769 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,769 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 09:23:08,769 AM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than Candidate's term 2 - switching to Follower 09:23:08,769 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 09:23:08,769 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 09:23:08,769 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:23:08,769 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,769 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:23:08,769 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 09:23:08,769 AM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than Candidate's term 2 - switching to Follower 09:23:08,769 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:23:08,769 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior402#2046153864] 09:23:08,780 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate403] 09:23:08,782 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,782 AM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 09:23:08,782 AM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 09:23:08,782 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior404#1184791390] 09:23:08,792 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate405] 09:23:08,795 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,795 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,795 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:23:08,795 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=4, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 1001 09:23:08,795 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 09:23:08,795 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior406#289710337] 09:23:08,806 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate407] 09:23:08,808 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:23:08,808 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:23:08,808 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:23:08,809 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:23:08,809 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 09:23:08,809 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 09:23:08,809 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior408#1881601362] 09:23:08,819 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate409] 09:23:08,820 AM [test-pekko.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [07/05/2025 09:23:08.820] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [07/05/2025 09:23:08.821] [test-pekko.actor.default-dispatcher-12] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.247:17355) [INFO] [pekkoDeadLetter][07/05/2025 09:23:08.821] [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#506120564] 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'. 09:23:08,822 AM [test-pekko.actor.default-dispatcher-12] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#506120564] 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] [07/05/2025 09:23:08.822] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.247:17355] - Exiting completed 09:23:08,822 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.247:17355] - Exiting completed 09:23:08,822 AM [test-pekko.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.247:17355] - Shutting down... [INFO] [07/05/2025 09:23:08.822] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.247:17355] - Shutting down... 09:23:08,823 AM [test-pekko.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.247:17355] - Successfully shut down [INFO] [07/05/2025 09:23:08.822] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.247:17355] - Successfully shut down [INFO] [07/05/2025 09:23:08.824] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.247:17355/system/remoting-terminator] Shutting down remote daemon. 09:23:08,825 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [07/05/2025 09:23:08.824] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.247:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 09:23:08,825 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [07/05/2025 09:23:08.826] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.247:17355/system/remoting-terminator] Remoting shut down. 09:23:08,827 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [07/05/2025 09:23:08.827] [test-pekko.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger