[DEBUG] [09/11/2025 14:41:40.328] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 02:41:40,329 PM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [09/11/2025 14:41:40.329] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [09/11/2025 14:41:40.329] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [09/11/2025 14:41:40.343] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.104:17355] with UID [-2161044677850376591] 02:41:40,343 PM [test-pekko.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.104:17355] with UID [-2161044677850376591] [INFO] [09/11/2025 14:41:40.344] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.104:17355] - Starting up, Pekko version [1.1.5] ... 02:41:40,344 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.104:17355] - Starting up, Pekko version [1.1.5] ... [INFO] [09/11/2025 14:41:40.346] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.104:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 02:41:40,346 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.104:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [09/11/2025 14:41:40.346] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.104:17355] - Started up successfully 02:41:40,346 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.104:17355] - Started up successfully [INFO] [09/11/2025 14:41:40.347] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.104:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [09/11/2025 14:41:40.347] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.104:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:41:40,348 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.104:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 02:41:40,348 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.104:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:41:40,459 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,459 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,459 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,459 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 02:41:40,459 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 02:41:40,459 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 02:41:40,459 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior357#1178903577] 02:41:40,472 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate358] 02:41:40,477 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,477 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,477 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,477 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 02:41:40,477 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 02:41:40,477 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 02:41:40,477 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior359#941786415] 02:41:40,488 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate360] 02:41:40,490 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,490 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,490 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,490 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 02:41:40,490 PM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than Candidate's term 2 - switching to Follower 02:41:40,491 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:41:40,491 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 02:41:40,491 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,491 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,491 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}, my term is 2 02:41:40,491 PM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than Candidate's term 2 - switching to Follower 02:41:40,491 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 02:41:40,491 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,491 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,491 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 02:41:40,491 PM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than Candidate's term 2 - switching to Follower 02:41:40,491 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 02:41:40,491 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 02:41:40,491 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 02:41:40,491 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,491 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,491 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 02:41:40,491 PM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than Candidate's term 2 - switching to Follower 02:41:40,492 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 02:41:40,492 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior361#-1902022787] 02:41:40,502 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate362] 02:41:40,506 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,506 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 02:41:40,506 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 02:41:40,506 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior363#290405706] 02:41:40,507 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate364] 02:41:40,512 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,512 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,512 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 02:41:40,512 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=4, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 1001 02:41:40,512 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 02:41:40,512 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior365#154980566] 02:41:40,524 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate366] 02:41:40,528 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,528 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,528 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 02:41:40,528 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 02:41:40,528 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 02:41:40,528 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 02:41:40,529 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior367#-401367654] 02:41:40,539 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate368] 02:41:40,543 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,543 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,543 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,544 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=5, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 02:41:40,544 PM [main] [INFO] Candidate - candidate (Candidate): Term 5 in "AppendEntries{term=5, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than Candidate's term 2 - switching to Follower 02:41:40,544 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:41:40,544 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 02:41:40,544 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior369#-459088653] 02:41:40,555 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate370] 02:41:40,555 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer371#1514297251] 02:41:40,560 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,560 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 02:41:40,560 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,560 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 02:41:40,561 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 02:41:40,561 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 02:41:40,561 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 02:41:40,561 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior372#1507298311] 02:41:40,572 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate373] 02:41:40,572 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer374#-590454375] 02:41:40,580 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,580 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,580 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 02:41:40,581 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 02:41:40,581 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 02:41:40,581 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 02:41:40,581 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior375#-964562332] 02:41:40,592 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate376] 02:41:40,593 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer377#-1371776592] 02:41:40,596 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,596 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,596 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,597 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=2, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 02:41:40,597 PM [main] [DEBUG] Candidate - candidate (Candidate): handleAppendEntries: AppendEntries{term=2, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 02:41:40,597 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 02:41:40,597 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:41:40,597 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 02:41:40,598 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior378#1093393654] 02:41:40,608 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate379] 02:41:40,608 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer380#279275177] 02:41:40,612 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,612 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 02:41:40,613 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 02:41:40,613 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,613 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 02:41:40,613 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 02:41:40,613 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 02:41:40,613 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 02:41:40,613 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 02:41:40,613 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 02:41:40,613 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:41:40,613 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:41:40,613 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:41:40,613 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 02:41:40,614 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior381#-1133538456] 02:41:40,624 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate382] 02:41:40,624 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer383#2008281045] 02:41:40,624 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer384#-1980013428] 02:41:40,630 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,630 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,630 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,632 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 02:41:40,632 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0} - currentTerm: 2, votedFor: candidate, lastIndex: 1, lastTerm: 1 02:41:40,632 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 02:41:40,632 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior385#1282821448] 02:41:40,643 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate386] 02:41:40,643 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer387#-288977598] 02:41:40,647 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,647 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,647 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 02:41:40,647 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]}, my term is 2 02:41:40,649 PM [main] [DEBUG] Candidate - candidate (Candidate): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 02:41:40,649 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 02:41:40,649 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:41:40,649 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 02:41:40,650 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior388#-844766613] 02:41:40,660 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate389] 02:41:40,663 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,663 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,663 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 02:41:40,664 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 02:41:40,664 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 02:41:40,664 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 02:41:40,664 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior390#1224693004] 02:41:40,675 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate391] 02:41:40,675 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer392#482892628] 02:41:40,678 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,678 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:40,678 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,678 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior393#-561095840] 02:41:40,688 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate394] 02:41:40,691 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:40,693 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 02:41:40,693 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:40,693 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 02:41:40,693 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 02:41:41,95 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 02:41:41,95 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 02:41:41,95 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 02:41:41,95 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 02:41:41,95 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 02:41:41,95 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:41:41,95 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:41:41,95 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:41:41,95 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 02:41:41,95 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:41:41,95 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 02:41:41,96 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior395#1170381890] 02:41:41,107 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate396] 02:41:41,107 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer397#1796373771] 02:41:41,107 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer398#2079191841] 02:41:41,107 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer399#1191533939] 02:41:41,107 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer400#1678495112] 02:41:41,112 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:41,112 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 02:41:41,113 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 02:41:41,113 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 02:41:41,113 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 02:41:41,113 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 02:41:41,113 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 02:41:41,113 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 02:41:41,114 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 02:41:41,114 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 02:41:41,114 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 02:41:41,114 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 02:41:41,114 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 02:41:41,114 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 02:41:41,114 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 02:41:41,114 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 02:41:41,114 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 02:41:41,114 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 02:41:41,114 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 02:41:41,114 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:41:41,114 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 02:41:41,114 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior401#-1526640016] 02:41:41,125 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate402] 02:41:41,125 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer403#-1122636505] 02:41:41,125 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer404#1345745083] 02:41:41,126 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer405#-1898466406] 02:41:41,126 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer406#453312462] 02:41:41,130 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:41,130 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:41,130 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:41,130 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior407#1734174767] 02:41:41,141 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate408] 02:41:41,144 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:41,144 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:41,144 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:41,144 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 02:41:41,144 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 02:41:41,145 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:41:41,145 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 02:41:41,145 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior409#783527133] 02:41:41,155 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate410] 02:41:41,158 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:41,158 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:41,158 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:41,159 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received AppendEntries{term=1, leaderId=test, prevLogIndex=0, prevLogTerm=0, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}, my term is 2 02:41:41,159 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 02:41:41,159 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior411#-186531466] 02:41:41,170 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate412] 02:41:41,170 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer413#2006154738] 02:41:41,174 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:41,174 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 02:41:41,174 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 02:41:41,174 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:41,175 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 02:41:41,175 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 02:41:41,175 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 02:41:41,175 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 02:41:41,175 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 02:41:41,175 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:41:41,175 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 02:41:41,175 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 02:41:41,175 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 02:41:41,175 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior414#-836926004] 02:41:41,186 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate415] 02:41:41,186 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer416#2001360617] 02:41:41,186 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer417#1915045837] 02:41:41,189 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:41:41,189 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 02:41:41,189 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 02:41:41,190 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior418#1012446] 02:41:41,200 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate419] [INFO] [09/11/2025 14:41:41.201] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 02:41:41,201 PM [test-pekko.actor.default-dispatcher-7] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [09/11/2025 14:41:41.202] [test-pekko.actor.default-dispatcher-7] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.104:17355) [INFO] [pekkoDeadLetter][09/11/2025 14:41:41.202] [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#-1493817871] was unhandled. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 02:41:41,203 PM [test-pekko.actor.default-dispatcher-5] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1493817871] was unhandled. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 02:41:41,204 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.104:17355] - Exiting completed 02:41:41,204 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.104:17355] - Shutting down... [INFO] [09/11/2025 14:41:41.204] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.104:17355] - Exiting completed [INFO] [09/11/2025 14:41:41.204] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.104:17355] - Shutting down... [INFO] [09/11/2025 14:41:41.204] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.104:17355] - Successfully shut down 02:41:41,205 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.104:17355] - Successfully shut down [INFO] [09/11/2025 14:41:41.206] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.104:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [09/11/2025 14:41:41.207] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.104:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 02:41:41,207 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 02:41:41,207 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [09/11/2025 14:41:41.209] [test-pekko.remote.default-remote-dispatcher-11] [pekko://test@10.30.171.104:17355/system/remoting-terminator] Remoting shut down. 02:41:41,209 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [09/11/2025 14:41:41.209] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger