[DEBUG] [07/29/2025 13:38:03.482] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 01:38:03,483 PM [test-pekko.actor.default-dispatcher-4] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/29/2025 13:38:03.483] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [07/29/2025 13:38:03.483] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [07/29/2025 13:38:03.496] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.227:17355] with UID [6721251730335664798] 01:38:03,496 PM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.227:17355] with UID [6721251730335664798] [INFO] [07/29/2025 13:38:03.496] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Starting up, Pekko version [1.1.4] ... 01:38:03,496 PM [test-pekko.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Starting up, Pekko version [1.1.4] ... [INFO] [07/29/2025 13:38:03.498] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [07/29/2025 13:38:03.498] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Started up successfully [INFO] [07/29/2025 13:38:03.499] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [07/29/2025 13:38:03.499] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 01:38:03,500 PM [test-pekko.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 01:38:03,500 PM [test-pekko.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Started up successfully 01:38:03,500 PM [test-pekko.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 01:38:03,500 PM [test-pekko.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 01:38:03,516 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,526 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:03,526 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:03,528 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 01:38:03,528 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 01:38:03,528 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior344#1920818074] 01:38:03,529 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate345] 01:38:03,529 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer346#-1415813126] 01:38:03,531 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,532 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 01:38:03,532 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:03,532 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 01:38:03,532 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 01:38:03,532 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 01:38:03,532 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 01:38:03,532 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior347#1033279539] 01:38:03,543 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate348] 01:38:03,543 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer349#2106799168] 01:38:03,545 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,545 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:03,545 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 01:38:03,545 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 01:38:03,546 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 01:38:03,546 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 01:38:03,548 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior350#-701065418] 01:38:03,558 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate351] 01:38:03,558 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer352#-22016781] 01:38:03,563 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,563 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:03,563 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:03,563 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 01:38:03,564 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==[]} 01:38:03,564 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 01:38:03,564 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior353#-1215680356] 01:38:03,574 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate354] 01:38:03,575 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer355#2067654788] 01:38:03,577 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,577 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 01:38:03,578 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 01:38:03,578 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:03,578 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 01:38:03,578 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 01:38:03,578 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 01:38:03,578 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 01:38:03,578 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 01:38:03,579 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 01:38:03,579 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:38:03,579 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:38:03,579 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:38:03,579 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 01:38:03,579 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior356#1980497972] 01:38:03,589 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate357] 01:38:03,589 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer358#-1016652295] 01:38:03,590 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer359#1240530290] 01:38:03,594 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,594 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:03,594 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:03,594 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 01:38:03,594 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 01:38:03,594 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 01:38:03,594 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior360#325549452] 01:38:03,605 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate361] 01:38:03,605 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer362#1946089962] 01:38:03,607 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,607 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:03,607 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 01:38:03,607 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 01:38:03,607 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]]} 01:38:03,607 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 01:38:03,608 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior363#-270721885] 01:38:03,618 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate364] 01:38:03,621 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,621 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:03,621 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 01:38:03,621 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 01:38:03,622 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 01:38:03,622 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 01:38:03,622 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior365#-148754911] 01:38:03,632 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate366] 01:38:03,633 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer367#1447757442] 01:38:03,735 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,735 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:03,735 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:03,736 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior368#-2080363966] 01:38:03,746 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate369] 01:38:03,850 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:03,852 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 01:38:03,852 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:03,852 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 01:38:03,852 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 01:38:04,255 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 01:38:04,255 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 01:38:04,255 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 01:38:04,255 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 01:38:04,255 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 01:38:04,255 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:38:04,255 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:38:04,255 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:38:04,255 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:38:04,255 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:38:04,255 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:38:04,256 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior370#-1781467956] 01:38:04,256 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate371] 01:38:04,257 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer372#-1790746933] 01:38:04,257 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer373#-1441857491] 01:38:04,261 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer374#1040428372] 01:38:04,261 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer375#1777508684] 01:38:04,263 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,263 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 01:38:04,264 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 01:38:04,264 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 01:38:04,265 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 01:38:04,265 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:38:04,265 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:38:04,265 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:38:04,265 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:38:04,265 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:38:04,265 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:38:04,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior376#739597103] 01:38:04,265 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate377] 01:38:04,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer378#-81335472] 01:38:04,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer379#210160542] 01:38:04,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer380#1275670722] 01:38:04,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer381#-1634306971] 01:38:04,267 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,267 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:04,267 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:04,267 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior382#1227063941] 01:38:04,267 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate383] 01:38:04,268 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,268 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:04,268 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:04,268 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 01:38:04,268 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 01:38:04,268 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:38:04,268 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:38:04,269 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior384#891905581] 01:38:04,269 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate385] 01:38:04,270 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,270 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:04,270 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:04,270 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 01:38:04,270 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 01:38:04,270 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior386#260881314] 01:38:04,271 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate387] 01:38:04,271 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer388#972380983] 01:38:04,272 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,272 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 01:38:04,272 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 01:38:04,272 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:04,272 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 01:38:04,272 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 01:38:04,272 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 01:38:04,272 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 01:38:04,272 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 01:38:04,272 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:38:04,272 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:38:04,272 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:38:04,272 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:38:04,272 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior389#-999239639] 01:38:04,273 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate390] 01:38:04,273 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer391#1279803050] 01:38:04,273 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer392#-750222227] 01:38:04,274 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,274 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:04,274 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:04,274 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior393#569536843] 01:38:04,274 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate394] 01:38:04,275 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,275 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:04,275 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:04,275 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 01:38:04,275 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 01:38:04,275 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 01:38:04,275 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior395#-1465944176] 01:38:04,275 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate396] 01:38:04,276 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,276 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:04,276 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:04,276 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 01:38:04,276 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 01:38:04,276 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 01:38:04,276 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior397#2050501706] 01:38:04,276 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate398] 01:38:04,277 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,277 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:04,277 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 01:38:04,277 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 01:38:04,277 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 01:38:04,277 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior399#686812560] 01:38:04,277 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate400] 01:38:04,278 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,278 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 01:38:04,278 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 01:38:04,278 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior401#2106919855] 01:38:04,279 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate402] 01:38:04,280 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,280 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:04,280 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 01:38:04,280 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 01:38:04,280 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 01:38:04,280 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior403#1279508415] 01:38:04,280 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate404] 01:38:04,281 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:38:04,281 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 01:38:04,281 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 01:38:04,281 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 01:38:04,281 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 01:38:04,281 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 01:38:04,281 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior405#969046085] 01:38:04,281 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate406] [INFO] [07/29/2025 13:38:04.282] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:38:04,282 PM [test-pekko.actor.default-dispatcher-10] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [07/29/2025 13:38:04.283] [test-pekko.actor.default-dispatcher-4] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.227:17355) [INFO] [07/29/2025 13:38:04.282] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Exiting completed [INFO] [07/29/2025 13:38:04.282] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Shutting down... [INFO] [07/29/2025 13:38:04.282] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.227:17355] - Successfully shut down 01:38:04,284 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Exiting completed 01:38:04,284 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Shutting down... 01:38:04,284 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.227:17355] - Successfully shut down 01:38:04,284 PM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 01:38:04,284 PM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [WARN] [07/29/2025 13:38:04.284] [test-pekko.actor.default-dispatcher-5] [pekko://test/system/deadLetterListener] received dead letter: UnhandledMessage(Leave(pekko://test@10.30.171.227:17355),Actor[pekko://test/deadLetters],Actor[pekko://test/system/cluster/core/daemon#-1983595876]) [INFO] [07/29/2025 13:38:04.284] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.227:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [07/29/2025 13:38:04.284] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.227:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:38:04,286 PM [test-pekko.actor.default-dispatcher-4] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [07/29/2025 13:38:04.286] [test-pekko.remote.default-remote-dispatcher-6] [pekko://test@10.30.171.227:17355/system/remoting-terminator] Remoting shut down.