[DEBUG] [10/15/2025 21:51:34.576] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 09:51:34,577 PM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/15/2025 21:51:34.577] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [10/15/2025 21:51:34.577] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [10/15/2025 21:51:34.594] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.145:17355] with UID [1495093331607313604] 09:51:34,594 PM [test-pekko.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.145:17355] with UID [1495093331607313604] [INFO] [10/15/2025 21:51:34.595] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.145:17355] - Starting up, Pekko version [1.0.3] ... 09:51:34,595 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.145:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [10/15/2025 21:51:34.599] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.145:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 09:51:34,599 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.145:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [10/15/2025 21:51:34.599] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.145:17355] - Started up successfully 09:51:34,599 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.145:17355] - Started up successfully [INFO] [10/15/2025 21:51:34.600] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.145:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [10/15/2025 21:51:34.600] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.145:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:51:34,600 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.145:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:51:34,600 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.145:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:51:34,725 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,725 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,725 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,725 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 09:51:34,725 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 09:51:34,725 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 09:51:34,725 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior675#186472540] 09:51:34,737 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate676] 09:51:34,740 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,740 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,740 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,740 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 09:51:34,740 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 09:51:34,740 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 09:51:34,741 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior677#-2097965891] 09:51:34,751 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate678] 09:51:34,756 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,756 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,756 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,756 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 09:51:34,756 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 09:51:34,756 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:51:34,756 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:51:34,756 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,756 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,757 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 09:51:34,757 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 09:51:34,757 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:51:34,757 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,757 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,757 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 09:51:34,757 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 09:51:34,757 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 09:51:34,757 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 09:51:34,757 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:51:34,757 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,757 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,757 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 09:51:34,757 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 09:51:34,757 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 09:51:34,757 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior679#-1315467552] 09:51:34,768 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate680] 09:51:34,771 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,771 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 09:51:34,771 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 09:51:34,771 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior681#280772104] 09:51:34,781 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate682] 09:51:34,785 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,785 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,785 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:51:34,785 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 09:51:34,785 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 09:51:34,785 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior683#-336915197] 09:51:34,796 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate684] 09:51:34,900 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,900 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,900 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:51:34,900 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:51:34,900 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 09:51:34,900 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 09:51:34,900 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior685#128409702] 09:51:34,911 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate686] 09:51:34,915 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,915 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,915 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,916 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 09:51:34,916 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 09:51:34,916 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:51:34,916 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 09:51:34,916 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior687#1000514785] 09:51:34,927 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate688] 09:51:34,927 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer689#-1749722213] 09:51:34,930 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,930 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 09:51:34,930 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,930 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:51:34,931 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 09:51:34,931 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:51:34,931 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:51:34,931 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior690#-208740825] 09:51:34,941 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate691] 09:51:34,941 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer692#-2123741869] 09:51:34,943 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,944 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,944 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:51:34,944 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:51:34,944 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 09:51:34,944 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 09:51:34,944 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior693#1877810544] 09:51:34,954 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate694] 09:51:34,955 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer695#-1044615876] 09:51:34,958 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,958 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,958 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,960 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 09:51:34,960 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==[]} 09:51:34,960 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 09:51:34,960 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:51:34,960 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 09:51:34,960 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior696#-1236072645] 09:51:34,961 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate697] 09:51:34,962 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer698#501391149] 09:51:34,964 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,964 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 09:51:34,965 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 09:51:34,965 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,965 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:51:34,965 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 09:51:34,965 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:51:34,965 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:51:34,965 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 09:51:34,965 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 09:51:34,965 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:51:34,965 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:51:34,965 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:51:34,965 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 09:51:34,966 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior699#-220598039] 09:51:34,966 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate700] 09:51:34,966 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer701#-1422070921] 09:51:34,967 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer702#78415497] 09:51:34,969 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,969 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,969 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,970 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 09:51:34,970 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 09:51:34,970 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 09:51:34,970 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior703#309855683] 09:51:34,970 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate704] 09:51:34,971 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer705#150663331] 09:51:34,973 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,973 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,973 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:51:34,973 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 09:51:34,973 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]]} 09:51:34,973 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 09:51:34,973 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:51:34,973 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 09:51:34,973 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior706#-1429048953] 09:51:34,974 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate707] 09:51:34,978 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,979 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,979 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 09:51:34,979 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 09:51:34,979 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 09:51:34,979 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 09:51:34,979 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior708#1112171856] 09:51:34,980 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate709] 09:51:34,980 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer710#1573806438] 09:51:34,983 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:34,983 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:34,983 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:34,983 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior711#908987197] 09:51:34,994 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate712] 09:51:35,32 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:35,33 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 09:51:35,33 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:35,33 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 09:51:35,33 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 09:51:35,435 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 09:51:35,435 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 09:51:35,435 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:51:35,435 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:51:35,435 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 09:51:35,435 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:51:35,435 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:51:35,435 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:51:35,435 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 09:51:35,435 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:51:35,435 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:51:35,436 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior713#1390725824] 09:51:35,447 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate714] 09:51:35,447 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer715#-957776240] 09:51:35,447 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer716#-1855411854] 09:51:35,447 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer717#658701057] 09:51:35,447 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer718#-725136231] 09:51:35,451 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:35,451 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 09:51:35,451 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 09:51:35,451 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 09:51:35,451 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 09:51:35,451 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 09:51:35,451 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 09:51:35,451 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 09:51:35,452 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 09:51:35,452 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 09:51:35,452 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 09:51:35,452 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:51:35,452 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 09:51:35,452 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 09:51:35,452 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 09:51:35,452 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:51:35,452 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:51:35,452 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:51:35,452 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 09:51:35,452 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:51:35,452 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 09:51:35,452 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior719#13554019] 09:51:35,453 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate720] 09:51:35,453 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer721#1569818851] 09:51:35,453 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer722#-1874500449] 09:51:35,453 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer723#312258470] 09:51:35,453 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer724#359102752] 09:51:35,456 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:35,457 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:35,457 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:35,457 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior725#1298632938] 09:51:35,458 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate726] 09:51:35,461 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:35,461 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:35,461 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:35,461 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 09:51:35,461 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 09:51:35,461 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:51:35,461 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:51:35,461 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior727#839879334] 09:51:35,461 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate728] 09:51:35,465 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:35,465 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:35,465 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:35,465 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 09:51:35,465 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 09:51:35,465 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior729#550833411] 09:51:35,466 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate730] 09:51:35,466 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer731#2029937454] 09:51:35,469 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:35,469 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 09:51:35,470 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 09:51:35,470 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:35,470 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 09:51:35,470 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 09:51:35,470 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 09:51:35,470 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 09:51:35,470 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 09:51:35,470 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:51:35,470 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 09:51:35,470 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:51:35,470 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 09:51:35,470 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior732#680112219] 09:51:35,471 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate733] 09:51:35,471 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer734#-2081581484] 09:51:35,471 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer735#-827593836] 09:51:35,474 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:51:35,474 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 09:51:35,474 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 09:51:35,474 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior736#1740139145] 09:51:35,475 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate737] 09:51:35,476 PM [test-pekko.actor.default-dispatcher-7] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [10/15/2025 21:51:35.476] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/15/2025 21:51:35.477] [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.145:17355) [INFO] [10/15/2025 21:51:35.477] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.145:17355] - Exiting completed [INFO] [10/15/2025 21:51:35.477] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.145:17355] - Shutting down... [INFO] [pekkoDeadLetter][10/15/2025 21:51:35.477] [test-pekko.actor.default-dispatcher-7] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-455814759] 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] [10/15/2025 21:51:35.478] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.145:17355] - Successfully shut down [INFO] [10/15/2025 21:51:35.480] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.145:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [10/15/2025 21:51:35.480] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.170.145:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 09:51:35,480 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.145:17355] - Exiting completed 09:51:35,480 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.145:17355] - Shutting down... 09:51:35,480 PM [test-pekko.actor.default-dispatcher-7] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-455814759] 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'. 09:51:35,480 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.145:17355] - Successfully shut down 09:51:35,480 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 09:51:35,480 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [10/15/2025 21:51:35.482] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.145:17355/system/remoting-terminator] Remoting shut down. 09:51:35,482 PM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [10/15/2025 21:51:35.482] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger