[DEBUG] [11/08/2025 04:14:32.746] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 04:14:32,746 AM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/08/2025 04:14:32.746] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [11/08/2025 04:14:32.746] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [11/08/2025 04:14:32.768] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.233:17355] with UID [-3792094184833999195] 04:14:32,769 AM [test-pekko.actor.default-dispatcher-8] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.233:17355] with UID [-3792094184833999195] [INFO] [11/08/2025 04:14:32.769] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.233:17355] - Starting up, Pekko version [1.0.3] ... 04:14:32,770 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.233:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [11/08/2025 04:14:32.776] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.233:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [11/08/2025 04:14:32.776] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.233:17355] - Started up successfully 04:14:32,776 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.233:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 04:14:32,776 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.233:17355] - Started up successfully [INFO] [11/08/2025 04:14:32.777] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.233:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [11/08/2025 04:14:32.777] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.233:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 04:14:32,778 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.233:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 04:14:32,778 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.233:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 04:14:32,898 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:32,898 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:32,898 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:32,898 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1 04:14:32,898 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 04:14:32,898 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 04:14:32,898 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior675#-616735585] 04:14:32,910 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate676] 04:14:33,14 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,14 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,14 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,14 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1}, my term is 1 04:14:33,14 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 04:14:33,14 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 04:14:33,14 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior677#-480255946] 04:14:33,25 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate678] 04:14:33,131 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,131 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,131 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,132 AM [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 04:14:33,132 AM [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 04:14:33,132 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:14:33,132 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:14:33,132 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,132 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,132 AM [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 04:14:33,132 AM [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 04:14:33,132 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:14:33,132 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,132 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,132 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}, my term is 2 04:14:33,132 AM [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 04:14:33,132 AM [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 04:14:33,132 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 04:14:33,132 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:14:33,132 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,132 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,132 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=100, voteGranted=false}, my term is 2 04:14:33,133 AM [main] [INFO] Candidate - candidate (Candidate): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than Candidate's term 2 - switching to Follower 04:14:33,133 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 100 04:14:33,133 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior679#-624817866] 04:14:33,134 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate680] 04:14:33,138 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,138 AM [main] [DEBUG] Candidate - test (Candidate): Election: Candidate has following voting peers: [] 04:14:33,138 AM [main] [INFO] Candidate - test (Candidate): Starting new election term 2 04:14:33,139 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior681#-1503829214] 04:14:33,139 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate682] 04:14:33,141 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,141 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,141 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:14:33,141 AM [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 04:14:33,141 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 100 is less than 1001 04:14:33,141 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior683#-267021477] 04:14:33,142 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate684] 04:14:33,144 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,144 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,144 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:14:33,144 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:14:33,144 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 04:14:33,144 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:14:33,144 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior685#-338974401] 04:14:33,144 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate686] 04:14:33,252 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,252 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,252 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,254 AM [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 04:14:33,254 AM [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 04:14:33,254 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:14:33,254 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 5 04:14:33,254 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior687#1614636170] 04:14:33,255 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate688] 04:14:33,255 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer689#-2076305354] 04:14:33,260 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,260 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1] 04:14:33,260 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,260 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:14:33,260 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:14:33,260 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:14:33,260 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:14:33,260 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior690#300974995] 04:14:33,261 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate691] 04:14:33,261 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer692#-725177593] 04:14:33,264 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,264 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,264 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:14:33,264 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:14:33,264 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate2, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 04:14:33,264 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=false} 04:14:33,266 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior693#-1921646439] 04:14:33,267 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate694] 04:14:33,267 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer695#1786969540] 04:14:33,270 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,270 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,270 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,270 AM [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 04:14:33,270 AM [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==[]} 04:14:33,270 AM [main] [INFO] Candidate - candidate (Candidate): New Leader test sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:14:33,271 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:14:33,271 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:14:33,271 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior696#694628431] 04:14:33,272 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate697] 04:14:33,272 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer698#-1678563154] 04:14:33,274 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,274 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to -1 04:14:33,276 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:14:33,276 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,276 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:14:33,276 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:14:33,276 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:14:33,276 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:14:33,276 AM [main] [INFO] Candidate - candidate (Candidate): LastApplied index -1 is behind last index 1 - switching to PreLeader 04:14:33,276 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Election: Leader has following peers: [peer1, peer2] 04:14:33,276 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:14:33,277 AM [main] [DEBUG] AbstractLeader - candidate (PreLeader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:14:33,277 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:14:33,277 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 04:14:33,277 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior699#-408219638] 04:14:33,288 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate700] 04:14:33,289 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer701#-263165019] 04:14:33,289 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer702#-1918551650] 04:14:33,294 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,294 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,294 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,294 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0}, my term is 2 04:14:33,294 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=0, lastLogTerm=0} - currentTerm: 2, votedFor: candidate, lastIndex: 1, lastTerm: 1 04:14:33,294 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=2, voteGranted=false} 04:14:33,294 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior703#1016667071] 04:14:33,305 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate704] 04:14:33,305 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer705#-139571826] 04:14:33,409 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,409 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,409 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:14:33,409 AM [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 04:14:33,409 AM [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]]} 04:14:33,409 AM [main] [INFO] Candidate - candidate (Candidate): New Leader leader-1 sent an AppendEntries to Candidate for term 2 - will switch to Follower 04:14:33,409 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:14:33,409 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Follower, election term: 2 04:14:33,409 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior706#-478747272] 04:14:33,410 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate707] 04:14:33,413 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,413 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,413 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 1001 04:14:33,414 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999}, my term is 1001 04:14:33,414 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): In requestVote: RequestVote{term=1001, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1001, votedFor: candidate, lastIndex: 1, lastTerm: 1 04:14:33,415 AM [main] [DEBUG] RaftActorBehavior - candidate (Candidate): requestVote returning: RequestVoteReply{term=1001, voteGranted=true} 04:14:33,415 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior708#-2146355161] 04:14:33,427 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate709] 04:14:33,427 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer710#-361902462] 04:14:33,431 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,433 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,433 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,433 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior711#-231332862] 04:14:33,444 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate712] 04:14:33,548 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,552 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer3, peer2] 04:14:33,552 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,553 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer3 04:14:33,553 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=-1, lastLogTerm=-1} to peer peer2 04:14:33,956 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 2 04:14:33,956 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:14:33,956 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:14:33,956 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:14:33,956 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:14:33,957 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:14:33,957 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:14:33,957 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:14:33,957 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:14:33,957 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:14:33,957 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:14:33,957 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior713#-1702887772] 04:14:33,959 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate714] 04:14:33,959 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer715#1325985549] 04:14:33,959 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer716#1258917430] 04:14:33,960 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer717#819704469] 04:14:33,960 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer718#1852271926] 04:14:33,965 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,965 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 4 04:14:33,966 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer3, peer2, peer4] 04:14:33,966 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 3 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer1 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer3 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer2 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=3, candidateId=candidate, lastLogIndex=4, lastLogTerm=1} to peer peer4 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=false}, my term is 3 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=false}, current voteCount: 1 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 3 04:14:33,967 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 2 04:14:33,967 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer3, peer2, peer4] 04:14:33,967 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:14:33,967 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer3: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:14:33,967 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:14:33,967 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer4: active: false, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:14:33,967 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:14:33,967 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 04:14:33,967 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior719#1294017057] 04:14:33,978 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate720] 04:14:33,978 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer721#1533163264] 04:14:33,978 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer722#471083795] 04:14:33,978 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer723#-1238244826] 04:14:33,978 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer724#1952646356] 04:14:33,982 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,982 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,982 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,982 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior725#-626479101] 04:14:33,993 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate726] 04:14:33,997 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:33,997 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:33,997 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:33,997 AM [main] [DEBUG] Candidate - candidate (Candidate): Received ElectionTimeout 04:14:33,997 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [] 04:14:33,997 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:14:33,997 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:14:33,997 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior727#-338382540] 04:14:34,8 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate728] [WARN] [11/08/2025 04:14:34.081] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/candidate720] received dead letter from TestActor[pekko://test/user/candidate720]: org.opendaylight.controller.cluster.raft.behaviors.AbstractLeader$SendHeartBeat@270a7ab9 04:14:34,81 AM [test-pekko.actor.default-dispatcher-8] [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'. [INFO] [pekkoDeadLetter][11/08/2025 04:14:34.081] [test-pekko.actor.default-dispatcher-7] [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'. 04:14:34,113 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:34,113 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:34,113 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:34,116 AM [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 04:14:34,116 AM [main] [INFO] RaftActorBehavior - candidate (Candidate): Cannot append entries because sender's term 1 is less than 2 04:14:34,117 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior729#1125827931] 04:14:34,127 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate730] 04:14:34,128 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer731#731341717] 04:14:34,132 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:34,132 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 1 04:14:34,132 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [peer1, peer2] 04:14:34,132 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:34,132 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer1 04:14:34,133 AM [main] [DEBUG] Candidate - candidate (Candidate): Sending RequestVote{term=2, candidateId=candidate, lastLogIndex=1, lastLogTerm=1} to peer peer2 04:14:34,133 AM [main] [DEBUG] Candidate - candidate (Candidate): RaftRPC message received RequestVoteReply{term=1, voteGranted=true}, my term is 2 04:14:34,133 AM [main] [DEBUG] Candidate - candidate (Candidate): handleRequestVoteReply: RequestVoteReply{term=1, voteGranted=true}, current voteCount: 1 04:14:34,133 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Election: Leader has following peers: [peer1, peer2] 04:14:34,133 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:14:34,133 AM [main] [DEBUG] AbstractLeader - candidate (Leader): Checking sendAppendEntries for follower peer2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:14:34,133 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:14:34,133 AM [main] [INFO] RaftActorBehavior - candidate (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:14:34,133 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior732#2058968798] 04:14:34,144 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate733] 04:14:34,144 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer734#-1655627620] 04:14:34,144 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/peer735#-655845840] 04:14:34,147 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 04:14:34,147 AM [main] [DEBUG] Candidate - candidate (Candidate): Election: Candidate has following voting peers: [] 04:14:34,147 AM [main] [INFO] Candidate - candidate (Candidate): Starting new election term 2 04:14:34,147 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior736#151611562] 04:14:34,158 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/candidate737] [INFO] [11/08/2025 04:14:34.159] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 04:14:34,159 AM [test-pekko.actor.default-dispatcher-8] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/08/2025 04:14:34.162] [test-pekko.actor.default-dispatcher-8] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.233:17355) [INFO] [11/08/2025 04:14:34.161] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.233:17355] - Exiting completed [INFO] [11/08/2025 04:14:34.162] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.233:17355] - Shutting down... [INFO] [11/08/2025 04:14:34.162] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.233:17355] - Successfully shut down 04:14:34,164 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.233:17355] - Exiting completed 04:14:34,164 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.233:17355] - Shutting down... 04:14:34,164 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.233:17355] - Successfully shut down [INFO] [pekkoDeadLetter][11/08/2025 04:14:34.163] [test-pekko.actor.default-dispatcher-8] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-902386465] 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'. 04:14:34,165 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 04:14:34,165 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 04:14:34,165 AM [test-pekko.actor.default-dispatcher-6] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-902386465] 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] [11/08/2025 04:14:34.164] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.171.233:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [11/08/2025 04:14:34.165] [test-pekko.remote.default-remote-dispatcher-10] [pekko://test@10.30.171.233:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/08/2025 04:14:34.168] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.233:17355/system/remoting-terminator] Remoting shut down. 04:14:34,168 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [11/08/2025 04:14:34.168] [test-pekko.actor.internal-dispatcher-2] [EventStream] shutting down: StandardOutLogger