[DEBUG] [11/16/2025 18:27:50.202] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 06:27:50,203 PM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/16/2025 18:27:50.203] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [11/16/2025 18:27:50.203] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [11/16/2025 18:27:50.230] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.57:17355] with UID [-1908707333810996173] 06:27:50,230 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.57:17355] with UID [-1908707333810996173] [INFO] [11/16/2025 18:27:50.231] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.57:17355] - Starting up, Pekko version [1.0.3] ... 06:27:50,231 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.57:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [11/16/2025 18:27:50.233] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.57:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 06:27:50,233 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.57:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [11/16/2025 18:27:50.233] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.57:17355] - Started up successfully 06:27:50,233 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.57:17355] - Started up successfully 06:27:50,235 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.57:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 06:27:50,235 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.57:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [11/16/2025 18:27:50.234] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.57:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [11/16/2025 18:27:50.234] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.57:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 06:27:50,246 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,247 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,247 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,247 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 06:27:50,247 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 06:27:50,247 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 06:27:50,247 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior675#1694173479] 06:27:50,258 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate676] 06:27:50,261 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,261 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,261 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,261 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 06:27:50,261 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 06:27:50,261 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 06:27:50,261 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior677#-1796286211] 06:27:50,271 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate678] 06:27:50,274 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,274 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,274 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,274 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 06:27:50,274 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 06:27:50,274 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:27:50,274 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 06:27:50,275 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,275 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,275 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 06:27:50,275 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 06:27:50,275 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 06:27:50,275 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,275 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,275 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 06:27:50,275 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 06:27:50,275 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 06:27:50,275 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 06:27:50,275 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 06:27:50,275 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,275 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,275 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 06:27:50,275 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 06:27:50,275 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 06:27:50,275 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior679#-516253643] 06:27:50,286 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate680] 06:27:50,289 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,289 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 06:27:50,289 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 06:27:50,289 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior681#723379215] 06:27:50,299 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate682] 06:27:50,302 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,302 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,302 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 06:27:50,302 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 06:27:50,302 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 06:27:50,302 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior683#-292466204] 06:27:50,313 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate684] 06:27:50,315 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,315 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,315 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 06:27:50,316 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 06:27:50,316 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 06:27:50,316 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 06:27:50,316 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior685#713488396] 06:27:50,326 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate686] 06:27:50,329 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,329 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,329 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,330 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 06:27:50,330 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 06:27:50,330 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:27:50,330 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 06:27:50,330 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior687#339080107] 06:27:50,340 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate688] 06:27:50,340 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer689#-230957772] 06:27:50,343 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,343 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 06:27:50,343 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,343 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 06:27:50,343 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 06:27:50,343 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 06:27:50,343 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 06:27:50,343 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior690#849044155] 06:27:50,354 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate691] 06:27:50,354 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer692#-2035247728] 06:27:50,356 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,357 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,357 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 06:27:50,357 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 06:27:50,357 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 06:27:50,357 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 06:27:50,357 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior693#-461142727] 06:27:50,368 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate694] 06:27:50,368 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer695#-863175093] 06:27:50,371 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,371 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,371 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,371 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 06:27:50,371 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==[]} 06:27:50,371 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 06:27:50,372 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:27:50,372 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 06:27:50,372 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior696#-937830446] 06:27:50,383 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate697] 06:27:50,383 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer698#-975777141] 06:27:50,385 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,385 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 06:27:50,386 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 06:27:50,386 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,386 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 06:27:50,386 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 06:27:50,386 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 06:27:50,386 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 06:27:50,386 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 06:27:50,387 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 06:27:50,387 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:27:50,387 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:27:50,387 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:27:50,387 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 06:27:50,387 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior699#1561987383] 06:27:50,388 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate700] 06:27:50,388 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer701#-1034916429] 06:27:50,388 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer702#2127722844] 06:27:50,391 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,391 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,391 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,392 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 06:27:50,392 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 06:27:50,392 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 06:27:50,392 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior703#634516776] 06:27:50,392 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate704] 06:27:50,392 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer705#888584542] 06:27:50,400 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,400 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,400 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 06:27:50,400 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 06:27:50,400 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]]} 06:27:50,400 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 06:27:50,400 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:27:50,400 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 06:27:50,400 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior706#-941980909] 06:27:50,400 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate707] 06:27:50,402 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,402 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,402 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 06:27:50,403 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 06:27:50,403 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 06:27:50,403 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 06:27:50,403 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior708#814190749] 06:27:50,403 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate709] 06:27:50,403 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer710#816551134] 06:27:50,405 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,405 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,405 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,405 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior711#349623661] 06:27:50,406 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate712] 06:27:50,408 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,409 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 06:27:50,409 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,409 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 06:27:50,409 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 06:27:50,810 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 06:27:50,810 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 06:27:50,810 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 06:27:50,810 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 06:27:50,811 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 06:27:50,811 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:27:50,811 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:27:50,811 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:27:50,811 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:27:50,811 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:27:50,811 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:27:50,811 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior713#1697710607] 06:27:50,812 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate714] 06:27:50,813 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer715#996922854] 06:27:50,813 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer716#-222534219] 06:27:50,813 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer717#677544441] 06:27:50,813 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer718#169667027] 06:27:50,818 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,818 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 06:27:50,819 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 06:27:50,819 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 06:27:50,820 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 06:27:50,820 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:27:50,820 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:27:50,820 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:27:50,820 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:27:50,820 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:27:50,820 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 06:27:50,820 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior719#-1760384158] 06:27:50,820 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate720] 06:27:50,821 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer721#1677185690] 06:27:50,821 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer722#-1402543878] 06:27:50,821 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer723#551539121] 06:27:50,821 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer724#404372962] 06:27:50,823 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,823 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,823 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,824 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior725#1301237153] 06:27:50,824 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate726] 06:27:50,826 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,826 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,826 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,826 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 06:27:50,826 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 06:27:50,826 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:27:50,826 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:27:50,826 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior727#1896221192] 06:27:50,827 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate728] 06:27:50,828 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,829 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,829 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,829 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 06:27:50,829 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 06:27:50,829 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior729#-299783369] 06:27:50,829 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate730] 06:27:50,829 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer731#-2136486618] 06:27:50,831 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,831 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 06:27:50,831 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 06:27:50,831 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,831 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 06:27:50,831 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 06:27:50,831 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 06:27:50,831 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 06:27:50,832 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 06:27:50,832 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:27:50,832 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:27:50,832 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:27:50,832 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:27:50,832 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior732#193011177] 06:27:50,832 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate733] 06:27:50,832 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer734#1458138986] 06:27:50,832 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer735#88627633] 06:27:50,834 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:27:50,834 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:27:50,834 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:27:50,834 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior736#427576958] 06:27:50,834 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate737] [INFO] [11/16/2025 18:27:50.835] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 06:27:50,835 PM [test-pekko.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/16/2025 18:27:50.836] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.57:17355) [INFO] [pekkoDeadLetter][11/16/2025 18:27:50.836] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1732950605] 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'. 06:27:50,836 PM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1732950605] 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'. 06:27:50,836 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.57:17355] - Exiting completed 06:27:50,836 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.57:17355] - Shutting down... [INFO] [11/16/2025 18:27:50.836] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.57:17355] - Exiting completed [INFO] [11/16/2025 18:27:50.836] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.57:17355] - Shutting down... [INFO] [11/16/2025 18:27:50.836] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.57:17355] - Successfully shut down 06:27:50,837 PM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.57:17355] - Successfully shut down [INFO] [11/16/2025 18:27:50.837] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.57:17355/system/remoting-terminator] Shutting down remote daemon. 06:27:50,837 PM [test-pekko.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 06:27:50,837 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/16/2025 18:27:50.837] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.57:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 06:27:50,839 PM [test-pekko.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [11/16/2025 18:27:50.839] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.57:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [11/16/2025 18:27:50.839] [test-pekko.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger