[DEBUG] [10/23/2025 18:30:19.527] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 06:30:19,528 PM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/23/2025 18:30:19.528] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [10/23/2025 18:30:19.528] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [10/23/2025 18:30:19.550] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.86:17355] with UID [7857290641773572588] 06:30:19,550 PM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.86:17355] with UID [7857290641773572588] [INFO] [10/23/2025 18:30:19.551] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.86:17355] - Starting up, Pekko version [1.0.3] ... 06:30:19,551 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.86:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [10/23/2025 18:30:19.554] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.86:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 06:30:19,554 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.86:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [10/23/2025 18:30:19.554] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.86:17355] - Started up successfully 06:30:19,554 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.86:17355] - Started up successfully [INFO] [10/23/2025 18:30:19.555] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.86:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [10/23/2025 18:30:19.555] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.86:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 06:30:19,555 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.86:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 06:30:19,556 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.86:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 06:30:19,593 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,593 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,593 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,593 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 06:30:19,593 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:30:19,593 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 06:30:19,594 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior675#1011268982] 06:30:19,605 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate676] 06:30:19,609 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,609 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,609 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,609 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 06:30:19,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 06:30:19,609 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 06:30:19,609 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior677#1538327313] 06:30:19,620 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate678] 06:30:19,624 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,624 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,625 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,625 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:30:19,625 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:30:19,625 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:30:19,625 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 06:30:19,625 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,625 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,625 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:30:19,625 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:30:19,625 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 06:30:19,625 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,625 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,625 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 06:30:19,625 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:30:19,625 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:30:19,625 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 06:30:19,625 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 06:30:19,625 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,625 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,625 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 06:30:19,625 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:30:19,625 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 06:30:19,625 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior679#662426104] 06:30:19,636 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate680] 06:30:19,639 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,639 PM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 06:30:19,639 PM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 06:30:19,640 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior681#-1896463841] 06:30:19,650 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate682] 06:30:19,655 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,655 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,655 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 06:30:19,655 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:30:19,655 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 06:30:19,655 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior683#-2012943022] 06:30:19,666 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate684] 06:30:19,669 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,669 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,669 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 06:30:19,669 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 06:30:19,670 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:30:19,670 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 06:30:19,670 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior685#-969571301] 06:30:19,681 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate686] 06:30:19,684 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,684 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,684 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,685 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:30:19,685 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:30:19,685 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:30:19,685 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 06:30:19,685 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior687#-524038562] 06:30:19,695 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate688] 06:30:19,696 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer689#-891584626] 06:30:19,699 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,699 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 06:30:19,699 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,699 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 06:30:19,699 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 06:30:19,699 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 06:30:19,699 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 06:30:19,700 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior690#1578109797] 06:30:19,710 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate691] 06:30:19,711 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer692#415677991] 06:30:19,714 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,714 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,714 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 06:30:19,714 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 06:30:19,714 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:30:19,714 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 06:30:19,715 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior693#2081373145] 06:30:19,725 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate694] 06:30:19,726 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer695#1841654460] 06:30:19,730 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,730 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,730 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,731 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:30:19,731 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:30:19,731 PM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 06:30:19,731 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:30:19,731 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 06:30:19,732 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior696#-1398574125] 06:30:19,743 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate697] 06:30:19,743 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer698#733107728] 06:30:19,747 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,747 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 06:30:19,748 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 06:30:19,748 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,748 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 06:30:19,748 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 06:30:19,748 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 06:30:19,748 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 06:30:19,748 PM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 06:30:19,748 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 06:30:19,748 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:30:19,749 PM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:30:19,749 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:30:19,749 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 06:30:19,749 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior699#1927518327] 06:30:19,759 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate700] 06:30:19,760 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer701#607377970] 06:30:19,760 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer702#-656043770] 06:30:19,764 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,764 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,764 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,765 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 06:30:19,765 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:30:19,765 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 06:30:19,765 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior703#1503216237] 06:30:19,776 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate704] 06:30:19,776 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer705#2026743110] 06:30:19,782 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,782 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,782 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 06:30:19,782 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:30:19,782 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:30:19,782 PM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 06:30:19,782 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:30:19,782 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 06:30:19,782 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior706#1623111598] 06:30:19,794 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate707] 06:30:19,805 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,805 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,805 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 06:30:19,805 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 06:30:19,805 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:30:19,805 PM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 06:30:19,805 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior708#1259140068] 06:30:19,816 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate709] 06:30:19,816 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer710#-247195652] 06:30:19,820 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,820 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:19,820 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,821 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior711#-1506150002] 06:30:19,831 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate712] 06:30:19,955 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:19,956 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 06:30:19,956 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:19,956 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 06:30:19,956 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 06:30:20,360 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 06:30:20,360 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 06:30:20,360 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 06:30:20,361 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 06:30:20,361 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 06:30:20,361 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:30:20,361 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:30:20,361 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:30:20,361 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:30:20,361 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:30:20,361 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:30:20,362 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior713#1157760150] 06:30:20,375 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate714] 06:30:20,375 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer715#1868944088] 06:30:20,375 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer716#626992244] 06:30:20,376 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer717#113109081] 06:30:20,376 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer718#-331419828] 06:30:20,383 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:20,383 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 06:30:20,385 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 06:30:20,385 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 06:30:20,385 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 06:30:20,385 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 06:30:20,385 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 06:30:20,385 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 06:30:20,386 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 06:30:20,386 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 06:30:20,386 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 06:30:20,386 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 06:30:20,386 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 06:30:20,386 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 06:30:20,386 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 06:30:20,386 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:30:20,386 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:30:20,386 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:30:20,386 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:30:20,386 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:30:20,386 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 06:30:20,387 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior719#-1093741325] 06:30:20,398 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate720] 06:30:20,398 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer721#-1913137876] 06:30:20,398 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer722#207714143] 06:30:20,398 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer723#-528297579] 06:30:20,398 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer724#-1681125142] 06:30:20,407 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:20,407 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:20,407 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:20,408 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior725#201305350] 06:30:20,420 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate726] 06:30:20,424 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:20,424 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:20,424 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:20,424 PM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 06:30:20,424 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 06:30:20,424 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:30:20,424 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:30:20,424 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior727#-2025593481] 06:30:20,435 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate728] 06:30:20,445 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:20,445 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:20,445 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:20,447 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:30:20,447 PM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 06:30:20,447 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior729#-282740502] 06:30:20,458 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate730] 06:30:20,459 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer731#978247849] 06:30:20,464 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:20,464 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 06:30:20,465 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 06:30:20,465 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:20,465 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 06:30:20,465 PM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 06:30:20,465 PM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 06:30:20,465 PM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 06:30:20,465 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 06:30:20,465 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:30:20,465 PM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:30:20,465 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:30:20,465 PM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:30:20,466 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior732#-1981972805] 06:30:20,477 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate733] 06:30:20,477 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer734#1820179419] 06:30:20,477 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer735#1306424868] 06:30:20,482 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 06:30:20,482 PM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 06:30:20,482 PM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 06:30:20,483 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior736#810424443] 06:30:20,494 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate737] [INFO] [10/23/2025 18:30:20.496] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 06:30:20,496 PM [test-pekko.actor.default-dispatcher-7] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/23/2025 18:30:20.496] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/candidate720] received dead letter from TestActor[pekko://test/user/candidate720]: org.opendaylight.controller.cluster.raft.behaviors.AbstractLeader$SendHeartBeat@10313037 [INFO] [pekkoDeadLetter][10/23/2025 18:30:20.496] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/candidate720] Message [org.opendaylight.controller.cluster.raft.behaviors.AbstractLeader$SendHeartBeat] from TestActor[pekko://test/user/candidate720] to TestActor[pekko://test/user/candidate720] was not delivered. [1] dead letters encountered. If this is not an expected behavior then TestActor[pekko://test/user/candidate720] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 06:30:20,497 PM [test-pekko.actor.default-dispatcher-7] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.behaviors.AbstractLeader$SendHeartBeat] from TestActor[pekko://test/user/candidate720] to TestActor[pekko://test/user/candidate720] was not delivered. [1] dead letters encountered. If this is not an expected behavior then TestActor[pekko://test/user/candidate720] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [10/23/2025 18:30:20.498] [test-pekko.actor.default-dispatcher-7] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.86:17355) [INFO] [pekkoDeadLetter][10/23/2025 18:30:20.498] [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#870533087] was unhandled. [2] 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:30:20,498 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#870533087] was unhandled. [2] 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/23/2025 18:30:20.498] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.86:17355] - Exiting completed [INFO] [10/23/2025 18:30:20.498] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.86:17355] - Shutting down... 06:30:20,498 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.86:17355] - Exiting completed 06:30:20,498 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.86:17355] - Shutting down... [INFO] [10/23/2025 18:30:20.498] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.86:17355] - Successfully shut down 06:30:20,499 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.86:17355] - Successfully shut down [INFO] [10/23/2025 18:30:20.501] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.86:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [10/23/2025 18:30:20.501] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.86:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 06:30:20,501 PM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 06:30:20,501 PM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 06:30:20,504 PM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [10/23/2025 18:30:20.504] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.86:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [10/23/2025 18:30:20.504] [test-pekko.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger