[DEBUG] [08/11/2025 15:13:03.885] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 03:13:03,885 PM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [08/11/2025 15:13:03.886] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [08/11/2025 15:13:03.886] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [08/11/2025 15:13:03.908] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.188:17355] with UID [4589578273785724689] 03:13:03,908 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.188:17355] with UID [4589578273785724689] [INFO] [08/11/2025 15:13:03.908] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.188:17355] - Starting up, Pekko version [1.0.3] ... 03:13:03,908 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.188:17355] - Starting up, Pekko version [1.0.3] ... 03:13:03,913 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.188:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 03:13:03,913 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.188:17355] - Started up successfully 03:13:03,918 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.188:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 03:13:03,918 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.188:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [08/11/2025 15:13:03.912] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.188:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [08/11/2025 15:13:03.912] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.188:17355] - Started up successfully [INFO] [08/11/2025 15:13:03.918] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.188:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [08/11/2025 15:13:03.918] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.188:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 03:13:04,26 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,26 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,26 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,28 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 03:13:04,28 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 03:13:04,28 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:13:04,28 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 03:13:04,28 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior327#-1176309737] 03:13:04,39 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate328] 03:13:04,40 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer329#-230203301] 03:13:04,45 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,45 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 03:13:04,45 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,45 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 03:13:04,45 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 03:13:04,45 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 03:13:04,46 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 03:13:04,46 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior330#483042691] 03:13:04,56 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate331] 03:13:04,56 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer332#-859156242] 03:13:04,158 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,159 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,159 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 03:13:04,160 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 03:13:04,160 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 03:13:04,160 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 03:13:04,160 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior333#287074423] 03:13:04,161 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate334] 03:13:04,161 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer335#-1316701307] 03:13:04,164 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,164 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,164 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,164 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 03:13:04,164 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==[]} 03:13:04,164 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 03:13:04,164 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:13:04,164 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 03:13:04,165 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior336#-1066883634] 03:13:04,166 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate337] 03:13:04,166 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer338#1749183297] 03:13:04,168 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,168 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 03:13:04,169 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 03:13:04,169 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,169 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 03:13:04,169 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 03:13:04,169 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 03:13:04,169 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 03:13:04,169 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 03:13:04,169 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 03:13:04,169 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:13:04,169 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:13:04,169 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:13:04,169 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 03:13:04,169 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior339#1725291351] 03:13:04,170 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate340] 03:13:04,170 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer341#1586474281] 03:13:04,170 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer342#1395623052] 03:13:04,171 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,171 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,171 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,172 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 03:13:04,172 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 03:13:04,172 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 03:13:04,172 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior343#1551135762] 03:13:04,172 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate344] 03:13:04,172 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer345#139575033] 03:13:04,174 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,174 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,174 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 03:13:04,174 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 03:13:04,174 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]]} 03:13:04,174 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 03:13:04,174 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:13:04,174 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 03:13:04,174 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior346#2098080256] 03:13:04,174 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate347] 03:13:04,176 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,176 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,176 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 03:13:04,176 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 03:13:04,176 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 03:13:04,176 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 03:13:04,176 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior348#1671451503] 03:13:04,177 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate349] 03:13:04,177 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer350#-1105502927] 03:13:04,179 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,179 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,179 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,179 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior351#-718761572] 03:13:04,179 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate352] 03:13:04,181 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,182 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 03:13:04,182 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,182 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 03:13:04,182 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 03:13:04,583 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 03:13:04,583 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 03:13:04,583 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 03:13:04,583 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 03:13:04,584 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 03:13:04,584 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:13:04,584 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:13:04,584 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:13:04,584 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:13:04,584 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:13:04,584 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 03:13:04,584 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior353#1900501165] 03:13:04,585 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate354] 03:13:04,586 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer355#-1475294746] 03:13:04,586 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer356#-2053151745] 03:13:04,586 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer357#704878680] 03:13:04,586 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer358#151144521] 03:13:04,589 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,589 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 03:13:04,592 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 03:13:04,592 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 03:13:04,592 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 03:13:04,592 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:13:04,593 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:13:04,593 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:13:04,593 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:13:04,593 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:13:04,593 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 03:13:04,593 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior359#-1868344286] 03:13:04,594 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate360] 03:13:04,594 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer361#-1339759743] 03:13:04,594 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer362#1911385877] 03:13:04,595 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer363#72397796] 03:13:04,595 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer364#-2117962123] 03:13:04,597 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,597 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,597 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,597 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior365#-512349693] 03:13:04,597 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate366] 03:13:04,599 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,599 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,599 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,599 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 03:13:04,599 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 03:13:04,599 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:13:04,599 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 03:13:04,599 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior367#1935973002] 03:13:04,599 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate368] 03:13:04,600 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,601 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,601 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,601 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 03:13:04,601 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 03:13:04,601 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior369#-1350942528] 03:13:04,601 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate370] 03:13:04,601 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer371#1958534199] 03:13:04,603 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,603 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 03:13:04,603 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 03:13:04,603 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,603 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 03:13:04,603 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 03:13:04,603 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 03:13:04,603 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 03:13:04,603 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 03:13:04,603 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:13:04,604 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:13:04,604 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:13:04,604 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 03:13:04,604 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior372#1078410957] 03:13:04,604 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate373] 03:13:04,604 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer374#-1844902001] 03:13:04,604 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer375#192399809] 03:13:04,606 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,606 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,606 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,606 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior376#-172822018] 03:13:04,606 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate377] 03:13:04,607 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,607 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,607 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,607 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 03:13:04,607 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 03:13:04,607 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 03:13:04,608 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior378#1580327192] 03:13:04,608 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate379] 03:13:04,609 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,609 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,609 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,609 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 03:13:04,609 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 03:13:04,609 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 03:13:04,609 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior380#1615168123] 03:13:04,610 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate381] 03:13:04,611 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,611 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,611 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,611 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 03:13:04,611 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 03:13:04,611 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:13:04,611 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 03:13:04,611 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,611 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,611 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 03:13:04,611 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 03:13:04,611 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 03:13:04,611 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,611 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,611 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 03:13:04,611 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 03:13:04,611 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 03:13:04,611 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 03:13:04,611 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 03:13:04,611 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,611 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 03:13:04,611 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 03:13:04,611 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 03:13:04,611 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 03:13:04,612 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior382#1498826967] 03:13:04,612 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate383] 03:13:04,613 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,613 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 03:13:04,613 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 03:13:04,613 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior384#1527019804] 03:13:04,613 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate385] 03:13:04,615 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,615 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,615 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 03:13:04,615 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 03:13:04,615 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 03:13:04,615 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior386#-524963984] 03:13:04,615 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate387] 03:13:04,617 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 03:13:04,617 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 03:13:04,617 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 03:13:04,617 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 03:13:04,617 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 03:13:04,617 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 03:13:04,617 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior388#-1625405787] 03:13:04,617 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate389] [INFO] [08/11/2025 15:13:04.618] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 03:13:04,618 PM [test-pekko.actor.default-dispatcher-12] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [08/11/2025 15:13:04.618] [test-pekko.actor.default-dispatcher-12] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.188:17355) [INFO] [pekkoDeadLetter][08/11/2025 15:13:04.619] [test-pekko.actor.default-dispatcher-12] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1337178696] 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'. 03:13:04,619 PM [test-pekko.actor.default-dispatcher-12] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1337178696] 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] [08/11/2025 15:13:04.619] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.188:17355] - Exiting completed [INFO] [08/11/2025 15:13:04.619] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.188:17355] - Shutting down... [INFO] [08/11/2025 15:13:04.619] [test-pekko.actor.internal-dispatcher-10] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.188:17355] - Successfully shut down 03:13:04,620 PM [test-pekko.actor.default-dispatcher-13] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.188:17355] - Exiting completed 03:13:04,620 PM [test-pekko.actor.default-dispatcher-13] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.188:17355] - Shutting down... 03:13:04,620 PM [test-pekko.actor.default-dispatcher-13] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.188:17355] - Successfully shut down [INFO] [08/11/2025 15:13:04.621] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.188:17355/system/remoting-terminator] Shutting down remote daemon. 03:13:04,621 PM [test-pekko.actor.default-dispatcher-13] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [08/11/2025 15:13:04.621] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.188:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 03:13:04,621 PM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [08/11/2025 15:13:04.622] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.188:17355/system/remoting-terminator] Remoting shut down. 03:13:04,622 PM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [08/11/2025 15:13:04.623] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger