[DEBUG] [11/06/2026 04:46:39.263] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 04:46:39,263 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/06/2026 04:46:39.263] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [11/06/2026 04:46:39.263] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [11/06/2026 04:46:39.276] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.45:17355] with UID [2392967698083298681] 04:46:39,276 AM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.45:17355] with UID [2392967698083298681] [INFO] [11/06/2026 04:46:39.276] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.45:17355] - Starting up, Pekko version [1.0.3] ... 04:46:39,276 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.45:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [11/06/2026 04:46:39.281] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.45:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [11/06/2026 04:46:39.281] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.45:17355] - Started up successfully 04:46:39,281 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.45:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 04:46:39,282 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.45:17355] - Started up successfully 04:46:39,283 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.45:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 04:46:39,283 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.45:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [11/06/2026 04:46:39.283] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.45:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [11/06/2026 04:46:39.283] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.45:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 04:46:39,398 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,398 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,398 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,398 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 04:46:39,398 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 04:46:39,398 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 04:46:39,398 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior362#1305296275] 04:46:39,410 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate363] 04:46:39,414 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,414 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,414 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,414 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 04:46:39,414 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 04:46:39,414 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 04:46:39,414 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior364#999484515] 04:46:39,425 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate365] 04:46:39,530 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,530 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,530 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,530 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 04:46:39,530 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 04:46:39,530 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:46:39,530 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:46:39,530 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,530 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,530 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 04:46:39,530 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 04:46:39,530 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:46:39,530 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,530 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,531 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 04:46:39,531 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 04:46:39,531 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 04:46:39,531 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 04:46:39,531 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:46:39,531 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,531 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,531 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 04:46:39,531 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 04:46:39,531 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:46:39,531 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior366#859926591] 04:46:39,532 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate367] 04:46:39,536 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,536 AM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 04:46:39,536 AM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 04:46:39,536 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior368#-2136479632] 04:46:39,537 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate369] 04:46:39,540 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,541 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,541 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:46:39,541 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 04:46:39,541 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 04:46:39,541 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior370#427942657] 04:46:39,542 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate371] 04:46:39,545 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,545 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,545 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:46:39,545 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:46:39,545 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 04:46:39,545 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:46:39,545 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior372#-1504876287] 04:46:39,546 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate373] 04:46:39,549 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,549 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,549 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,550 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 04:46:39,550 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 04:46:39,550 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:46:39,550 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 04:46:39,551 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior374#-196561436] 04:46:39,551 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate375] 04:46:39,552 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer376#-1121423766] 04:46:39,555 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,556 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 04:46:39,556 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,556 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:46:39,556 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:46:39,556 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:46:39,556 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:46:39,556 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior377#1576400822] 04:46:39,557 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate378] 04:46:39,557 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer379#874436899] 04:46:39,560 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,560 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,560 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:46:39,561 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:46:39,561 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 04:46:39,561 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:46:39,561 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior380#-2047209640] 04:46:39,562 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate381] 04:46:39,562 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer382#-428512375] 04:46:39,565 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,565 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,565 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,566 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 04:46:39,566 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==[]} 04:46:39,566 AM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:46:39,566 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:46:39,566 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:46:39,566 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior383#516535603] 04:46:39,567 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate384] 04:46:39,567 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer385#-470440234] 04:46:39,571 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,571 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 04:46:39,572 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:46:39,572 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,572 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:46:39,572 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:46:39,572 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:46:39,572 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:46:39,572 AM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 04:46:39,573 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 04:46:39,573 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:46:39,573 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:46:39,573 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:46:39,573 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 04:46:39,573 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior386#-994605188] 04:46:39,574 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate387] 04:46:39,574 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer388#-826142273] 04:46:39,574 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer389#-945768287] 04:46:39,577 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,577 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,577 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,578 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 04:46:39,578 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 04:46:39,578 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 04:46:39,578 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior390#-2109751861] 04:46:39,578 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate391] 04:46:39,579 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer392#-567434494] 04:46:39,581 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,581 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,581 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:46:39,581 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 04:46:39,581 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]]} 04:46:39,581 AM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:46:39,581 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:46:39,581 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:46:39,581 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior393#-848311440] 04:46:39,582 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate394] 04:46:39,584 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,584 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,584 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:46:39,584 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:46:39,584 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 04:46:39,584 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 04:46:39,585 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior395#638095785] 04:46:39,585 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate396] 04:46:39,585 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer397#420377704] 04:46:39,588 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,588 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:39,588 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,588 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior398#1637022417] 04:46:39,588 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate399] 04:46:39,590 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:39,592 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 04:46:39,592 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:39,592 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 04:46:39,592 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 04:46:39,994 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 04:46:39,994 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:46:39,994 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:46:39,994 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:46:39,994 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:46:39,994 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:46:39,994 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:46:39,994 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:46:39,994 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:46:39,995 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:46:39,995 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:46:39,995 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior400#50068039] 04:46:39,996 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate401] 04:46:39,996 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer402#-956208389] 04:46:39,997 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer403#164660262] 04:46:39,997 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer404#-734480149] 04:46:39,997 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer405#-459704856] 04:46:40,1 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:40,1 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 04:46:40,3 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 04:46:40,3 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:46:40,3 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 04:46:40,3 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 04:46:40,3 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 04:46:40,3 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 04:46:40,4 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 04:46:40,4 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:46:40,4 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:46:40,4 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:46:40,4 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:46:40,4 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 04:46:40,4 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:46:40,4 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:46:40,4 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:46:40,4 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:46:40,4 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:46:40,4 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:46:40,4 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 04:46:40,4 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior406#1634584171] 04:46:40,5 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate407] 04:46:40,5 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer408#763816524] 04:46:40,5 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer409#-1969445958] 04:46:40,6 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer410#1893454578] 04:46:40,6 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer411#1962987808] 04:46:40,10 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:40,10 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:40,10 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:40,10 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior412#-145015817] 04:46:40,11 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate413] 04:46:40,14 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:40,14 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:40,14 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:40,14 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:46:40,15 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 04:46:40,15 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:46:40,15 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:46:40,15 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior414#-152435720] 04:46:40,16 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate415] 04:46:40,20 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:40,20 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:40,20 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:40,21 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 04:46:40,21 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 04:46:40,21 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior416#1613088117] 04:46:40,22 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate417] 04:46:40,22 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer418#-896045720] 04:46:40,27 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:40,27 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 04:46:40,28 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:46:40,28 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:40,28 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:46:40,28 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:46:40,28 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:46:40,28 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:46:40,28 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 04:46:40,28 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:46:40,28 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:46:40,28 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:46:40,28 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:46:40,28 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior419#534543373] 04:46:40,29 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate420] 04:46:40,29 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer421#1087400562] 04:46:40,29 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer422#687171175] 04:46:40,33 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:46:40,33 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:46:40,33 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:46:40,33 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior423#1604217423] 04:46:40,34 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate424] 04:46:40,36 AM [test-pekko.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [11/06/2026 04:46:40.036] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 04:46:40,38 AM [test-pekko.actor.default-dispatcher-5] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1415797117] 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'. [WARN] [11/06/2026 04:46:40.038] [test-pekko.actor.default-dispatcher-11] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.45:17355) 04:46:40,39 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.45:17355] - Exiting completed 04:46:40,39 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.45:17355] - Shutting down... 04:46:40,39 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.45:17355] - Successfully shut down [INFO] [pekkoDeadLetter][11/06/2026 04:46:40.037] [test-pekko.actor.default-dispatcher-5] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1415797117] 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] [11/06/2026 04:46:40.039] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.45:17355] - Exiting completed [INFO] [11/06/2026 04:46:40.039] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.45:17355] - Shutting down... [INFO] [11/06/2026 04:46:40.039] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.45:17355] - Successfully shut down [INFO] [11/06/2026 04:46:40.041] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.45:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [11/06/2026 04:46:40.041] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.45:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 04:46:40,41 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 04:46:40,41 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/06/2026 04:46:40.044] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.45:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [11/06/2026 04:46:40.044] [test-pekko.actor.internal-dispatcher-10] [EventStream] shutting down: StandardOutLogger 04:46:40,45 AM [test-pekko.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.