[DEBUG] [06/13/2026 07:12:49.445] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 07:12:49,448 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [06/13/2026 07:12:49.448] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [06/13/2026 07:12:49.449] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [06/13/2026 07:12:49.463] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.184:17355] with UID [8248560111921630487] [INFO] [06/13/2026 07:12:49.464] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.184:17355] - Starting up, Pekko version [1.2.1] ... 07:12:49,464 AM [test-pekko.actor.default-dispatcher-8] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.184:17355] with UID [8248560111921630487] 07:12:49,464 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.184:17355] - Starting up, Pekko version [1.2.1] ... [INFO] [06/13/2026 07:12:49.466] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.184:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 07:12:49,467 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.184:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [06/13/2026 07:12:49.467] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.184:17355] - Started up successfully 07:12:49,467 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.184:17355] - Started up successfully [INFO] [06/13/2026 07:12:49.468] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.184:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [06/13/2026 07:12:49.468] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.184:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 07:12:49,468 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.184:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 07:12:49,468 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.184:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 07:12:49,487 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,581 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 07:12:49,582 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 07:12:49,583 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior420#562161172] 07:12:49,585 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower421#-356331759] 07:12:49,585 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader422#644206620] 07:12:49,589 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,592 AM [main] [DEBUG] Follower - follower (Follower): 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]]} 07:12:49,593 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 07:12:49,593 AM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 07:12:49,593 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 07:12:49,593 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 07:12:49,593 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 07:12:49,594 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,594 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 07:12:49,594 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 07:12:49,596 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 07:12:49,596 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 07:12:49,596 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 07:12:49,597 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior423#-86501909] 07:12:49,608 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower424#1825923494] 07:12:49,608 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader425#568016985] 07:12:49,617 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,619 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 07:12:49,619 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 07:12:49,620 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior426#504687559] 07:12:49,631 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower427#-1135753131] 07:12:49,631 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader428#1816354867] 07:12:49,635 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,636 AM [main] [INFO] Follower - follower (Follower): 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 follower's term 1 - updating term 07:12:49,638 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 0 - lastIndex: 0, snapshotIndex: -1, snapshotTerm: -1 07:12:49,638 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=100, success=false, followerId=follower, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,639 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 07:12:49,640 AM [main] [INFO] Follower - follower (Follower): 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 follower's term 1 - updating term 07:12:49,640 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:12:49,640 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 07:12:49,641 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 07:12:49,641 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than follower's term 1 - updating term 07:12:49,641 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 07:12:49,642 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 07:12:49,643 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 07:12:49,644 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior429#1226230887] 07:12:49,654 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower430#1301609262] 07:12:49,655 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader431#-414440305] 07:12:49,659 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,659 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 07:12:49,659 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 07:12:49,660 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,660 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 07:12:49,661 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 07:12:49,661 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 07:12:49,661 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 07:12:49,661 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 07:12:49,661 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior432#-1107300714] 07:12:49,664 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower433#1182894496] 07:12:49,664 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader434#-1337576894] 07:12:49,667 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,668 AM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 07:12:49,669 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior435#1384089797] 07:12:49,670 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower436#1664982553] 07:12:49,670 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader437#-1611315133] 07:12:49,673 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,674 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 07:12:49,674 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 07:12:49,675 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior438#-300348018] 07:12:49,675 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower439#-387659252] 07:12:49,675 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader440#1020051424] 07:12:49,679 AM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 07:12:49,680 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,683 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 07:12:49,683 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 07:12:49,683 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 07:12:49,683 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 07:12:49,684 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 07:12:49,687 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 07:12:49,687 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 07:12:49,687 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 07:12:49,690 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 07:12:49,690 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior441#-1844380702] 07:12:49,697 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower442#1955520070] 07:12:49,698 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader443#2133783638] 07:12:49,704 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 07:12:49,705 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,706 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 07:12:49,706 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 3 was not found in it - lastIndex: 2, snapshotIndex: -1, snapshotTerm: -1 07:12:49,707 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=1, success=false, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,707 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 07:12:49,707 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior444#-301340102] 07:12:49,708 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower445#1266834104] 07:12:49,708 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader446#724487576] 07:12:49,719 AM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 07:12:49,719 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,720 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 07:12:49,720 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 07:12:49,720 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 07:12:49,721 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 07:12:49,721 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 07:12:49,721 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 07:12:49,722 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 07:12:49,722 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 07:12:49,723 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:49,723 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:49,724 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 07:12:49,724 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,725 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 07:12:49,725 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior447#-2032632411] 07:12:49,726 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower448#-1015435057] 07:12:49,726 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader449#1776010500] 07:12:49,730 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,730 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 07:12:49,731 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior450#1729078067] 07:12:49,731 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower451#353964747] 07:12:49,732 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader452#-1500094214] 07:12:49,734 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 07:12:49,734 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,735 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:49,736 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:49,736 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 07:12:49,736 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 07:12:49,736 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 07:12:49,736 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 07:12:49,736 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 07:12:49,736 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,736 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 07:12:49,736 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 07:12:49,736 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 07:12:49,737 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior453#1989339234] 07:12:49,737 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower454#1881962705] 07:12:49,737 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader455#1775258956] 07:12:49,741 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 07:12:49,741 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,742 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one]]} 07:12:49,742 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 07:12:49,742 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 07:12:49,742 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 07:12:49,742 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 07:12:49,742 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 07:12:49,743 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,743 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 07:12:49,743 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 07:12:49,743 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 07:12:49,743 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 07:12:49,743 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 07:12:49,743 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 07:12:49,744 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one], DefaultLogEntry[index=2, term=1, command=two]]} 07:12:49,744 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 07:12:49,744 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 07:12:49,744 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 07:12:49,744 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 07:12:49,744 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 07:12:49,744 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 07:12:49,744 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,744 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 07:12:49,745 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 07:12:49,745 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 07:12:49,745 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 07:12:49,745 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior456#60533521] 07:12:49,746 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower457#909191764] 07:12:49,746 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader458#1689945949] 07:12:49,750 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 07:12:49,750 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,751 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=0, prevLogTerm=2, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 07:12:49,751 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 07:12:49,752 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,752 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 07:12:49,752 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior459#857410554] 07:12:49,753 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower460#-1497340471] 07:12:49,753 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader461#-1121383077] 07:12:49,756 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,759 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior462#416713937] 07:12:49,760 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower463#-2064255910] 07:12:49,761 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader464#1636917133] 07:12:49,764 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 07:12:49,764 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:49,764 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 07:12:49,764 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:49,765 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:49,765 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 07:12:49,765 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 07:12:49,765 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 07:12:49,765 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 07:12:49,765 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 07:12:49,765 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,765 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 07:12:49,765 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 07:12:49,766 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 07:12:49,766 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 07:12:49,766 AM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 07:12:49,766 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior465#-383770413] 07:12:49,767 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower466#-1823742567] 07:12:49,767 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader467#-462214901] 07:12:49,770 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries 07:12:49,782 AM [main] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 07:12:49,783 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] [WARN] [06/13/2026 07:12:49.783] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@6db3bdd3 07:12:49,784 AM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 [INFO] [pekkoDeadLetter][06/13/2026 07:12:49.784] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] 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'. 07:12:49,784 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 07:12:49,785 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 07:12:49,785 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] 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'. 07:12:49,785 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 07:12:49,786 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 07:12:49,786 AM [test-pekko.actor.default-dispatcher-5] [INFO] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 07:12:49,786 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: starting journal recovery 07:12:49,786 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=0, votedFor=null 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [INFO] Recovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=0} 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: empty journal: appending 0 entries 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [INFO] Recovery - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed in in 27.33 ms: last log index = -1, last log term = -1, napshot index = -1, snapshot term = -1, journal size = 0 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed and can restore from snapshot 07:12:49,813 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: writer thread VirtualThread[#630,testCaptureSnapshotOnLastEntryInAppendEntries-writer-154]/runnable started 07:12:49,813 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 07:12:49,813 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 07:12:49,814 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 07:12:49,814 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 07:12:49,814 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 07:12:49,814 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 07:12:49,814 AM [test-pekko.actor.default-dispatcher-5] [INFO] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Term 1 in "AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two]]}" message is greater than follower's term 0 - updating term 07:12:49,848 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 07:12:49,848 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two]]} 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnLastEntryInAppendEntries, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:49,849 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 35.36 ms 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two 07:12:49,849 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 2 synchronized callback(s) 07:12:49,915 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 07:12:49,915 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 07:12:49,915 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 07:12:49,915 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 07:12:49,917 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 07:12:49,917 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 07:12:49,917 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 07:12:49,917 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 68.16 ms 07:12:49,917 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 commands after 6.970 μs 07:12:49,917 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=0, term=1, command=one, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c093a700@faa0d26} 07:12:49,917 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 1 synchronized callback(s) 07:12:49,960 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=2] 07:12:49,960 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 2 completion(s) pending 07:12:49,960 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 2 completion(s) 07:12:49,960 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 2 commands in 42.71 ms 07:12:49,960 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 07:12:49,960 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 07:12:49,960 AM [test-pekko.actor.default-dispatcher-5] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=1, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 07:12:49,960 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: captured snapshot at lastSequenceNumber: 2 07:12:49,960 AM [test-pekko.actor.default-dispatcher-5] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Persising snapshot at EntryInfo[index=1, term=1]/EntryInfo[index=1, term=1] 07:12:49,960 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: support() called 07:12:49,960 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: log size 2 exceeds the snapshot batch count 2 - doing snapshotPreCommit with index 1 07:12:49,961 AM [test-pekko.actor.default-dispatcher-5] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Removed in-memory snapshotted entries, adjusted snapshotIndex: 1 and term: 1 07:12:49,961 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=1, term=1, command=two, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c093a700@faa0d26} 07:12:49,961 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d412937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: starting snapshot writeout to /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A2D02F1-3945AF56.tmp 07:12:49,961 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: synchronized callbacks after 111.3 ms [WARN] [06/13/2026 07:12:49.961] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/13/2026 07:12:49.961] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 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'. 07:12:49,961 AM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 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'. 07:12:49,971 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d412937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: finished snapshot writeout to /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A2D02F1-3945AF56.v1 07:12:49,971 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d412937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A2D02F1-3945AF56.v1 07:12:49,971 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d412937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 07:12:49,971 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d412937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 07:12:49,971 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d412937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 07:12:49,971 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d412937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: retaining snapshot SnapshotFileV1{lastIncluded=EntryInfo[index=1, term=1], timestamp=2026-06-13T07:12:49.960868182Z, file=/tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A2D02F1-3945AF56.v1, size=555, entryCompress=NONE, stateCompress=NONE} 07:12:49,971 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d412937] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 07:12:49,971 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 07:12:49,971 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: snapshot is durable as of 2026-06-13T07:12:49.960868182Z 07:12:49,972 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Snapshot success, discarding journal entries up to 2 07:12:49,972 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorSnapshotMessageSupport - testCaptureSnapshotOnLastEntryInAppendEntries: SnapshotComplete received 07:12:49,972 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 11.70 ms 07:12:49,972 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=3, applyTo=2] 07:12:49,972 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: discarded entries up to (and including) 2 07:12:49,972 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 07:12:49,972 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 277.2 μs 07:12:49,972 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 07:12:49,972 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 07:12:50,16 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A2D02F1-3945AF56.v1 07:12:50,16 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 07:12:50,16 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 07:12:50,17 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 07:12:50,17 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: picked SnapshotFileV1{lastIncluded=EntryInfo[index=1, term=1], timestamp=2026-06-13T07:12:49.960868182Z, file=/tmp/junit-11806049211099692190/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A2D02F1-3945AF56.v1, size=555, entryCompress=NONE, stateCompress=NONE} as the latest file 07:12:50,19 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior468#-1137362845] 07:12:50,31 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower469#-1376953069] 07:12:50,31 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader470#1477159009] 07:12:50,31 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 07:12:50,31 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#630,testCaptureSnapshotOnLastEntryInAppendEntries-writer-154]/waiting 07:12:50,32 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 59.45 ms 07:12:50,32 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 18.74 μs 07:12:50,32 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 07:12:50,32 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminated thread VirtualThread[#630,testCaptureSnapshotOnLastEntryInAppendEntries-writer-154]/terminated 07:12:50,32 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 07:12:50,32 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 07:12:50,32 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 07:12:50,32 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 07:12:50,38 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,39 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior471#1605996032] 07:12:50,50 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower472#-141242356] 07:12:50,50 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader473#1325020462] 07:12:50,56 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 07:12:50,56 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,58 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 07:12:50,58 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 07:12:50,59 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior474#1049761940] 07:12:50,70 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower475#161469282] 07:12:50,70 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader476#-1155843437] 07:12:50,74 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 07:12:50,75 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,76 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:50,76 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,77 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 07:12:50,77 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 07:12:50,77 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 07:12:50,77 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 07:12:50,77 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 07:12:50,77 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,77 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 07:12:50,77 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 07:12:50,78 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 07:12:50,79 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior477#-658562257] 07:12:50,89 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower478#-61298786] 07:12:50,89 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader479#-51397755] 07:12:50,93 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 07:12:50,93 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,95 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:50,95 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,95 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 07:12:50,96 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,96 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 07:12:50,96 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 07:12:50,97 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,97 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 07:12:50,98 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,98 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 07:12:50,100 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior480#413511365] 07:12:50,110 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower481#-1332156404] 07:12:50,110 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader482#1784320029] 07:12:50,115 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,115 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior483#284118092] 07:12:50,126 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower484#1516528606] 07:12:50,126 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader485#-1568564705] 07:12:50,130 AM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 07:12:50,130 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,131 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:50,132 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,132 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 07:12:50,133 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,133 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 07:12:50,133 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 07:12:50,134 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,134 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 07:12:50,135 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,135 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 07:12:50,135 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,136 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 07:12:50,136 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,136 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 07:12:50,136 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior486#1825082947] 07:12:50,147 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower487#-1283052938] 07:12:50,147 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader488#-1805738178] 07:12:50,152 AM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 07:12:50,152 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,153 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 07:12:50,153 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 07:12:50,153 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 07:12:50,153 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 07:12:50,153 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 07:12:50,153 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 07:12:50,154 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,154 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 07:12:50,154 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 07:12:50,154 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 07:12:50,155 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior489#1334474458] 07:12:50,166 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower490#-1414878585] 07:12:50,166 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader491#434746963] 07:12:50,174 AM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 07:12:50,174 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,175 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 07:12:50,176 AM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader494 07:12:50,176 AM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader494 07:12:50,178 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 07:12:50,178 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior492#1610028324] 07:12:50,189 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower493#93405371] 07:12:50,189 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader494#-566010843] 07:12:50,194 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 07:12:50,194 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,195 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:50,196 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,196 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 07:12:50,196 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 07:12:50,196 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 07:12:50,196 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 07:12:50,196 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 07:12:50,196 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,197 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 07:12:50,197 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 07:12:50,197 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 07:12:50,198 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior495#912096716] 07:12:50,208 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower496#208087982] 07:12:50,209 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader497#1508334173] 07:12:50,213 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 07:12:50,213 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,214 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:50,215 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,215 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the replicatedToAllIndex 100 does not appear to be in the in-memory journal - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 07:12:50,215 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,216 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 07:12:50,216 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior498#2021110555] 07:12:50,227 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower499#355025281] 07:12:50,227 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader500#-1085500483] 07:12:50,231 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied 07:12:50,244 AM [main] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 07:12:50,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] [WARN] [06/13/2026 07:12:50.245] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@28b12e01 07:12:50,245 AM [test-pekko.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] 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][06/13/2026 07:12:50.245] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] 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'. 07:12:50,246 AM [test-pekko.actor.default-dispatcher-6] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 07:12:50,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 07:12:50,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 07:12:50,247 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 07:12:50,247 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 07:12:50,247 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 07:12:50,248 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: starting journal recovery 07:12:50,248 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=0, votedFor=null 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [INFO] Recovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=0} 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: empty journal: appending 0 entries 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=0] 07:12:50,293 AM [test-pekko.actor.default-dispatcher-6] [INFO] Recovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed in in 45.86 ms: last log index = -1, last log term = -1, napshot index = -1, snapshot term = -1, journal size = 0 07:12:50,294 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed and can restore from snapshot 07:12:50,294 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: writer thread VirtualThread[#633,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155]/runnable started 07:12:50,294 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 07:12:50,294 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 07:12:50,346 AM [test-pekko.actor.default-dispatcher-6] [INFO] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Term 1 in "AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]}" message is greater than follower's term 0 - updating term 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 07:12:50,375 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 81.37 ms 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnAppendEntriesWithUnapplied, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 07:12:50,375 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one 07:12:50,376 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 3 synchronized callback(s) 07:12:50,414 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 07:12:50,414 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 07:12:50,414 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 07:12:50,414 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=0, term=1, command=one, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c093a700@590d9b93} 07:12:50,414 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 2 synchronized callback(s) 07:12:50,414 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 39.04 ms 07:12:50,414 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 3 commands after 8.911 μs 07:12:50,442 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=1] 07:12:50,442 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 3 completion(s) pending 07:12:50,442 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 3 commands in 27.44 ms 07:12:50,442 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 07:12:50,442 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 3 completion(s) 07:12:50,442 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 07:12:50,442 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=1, term=1, command=two, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c093a700@590d9b93} 07:12:50,442 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 07:12:50,442 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=0, lastAppliedTerm=1, lastIndex=2, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 07:12:50,442 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: captured snapshot at lastSequenceNumber: 1 07:12:50,442 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Persising snapshot at EntryInfo[index=0, term=1]/EntryInfo[index=2, term=1] 07:12:50,442 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: support() called 07:12:50,442 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: log size 3 exceeds the snapshot batch count 1 - doing snapshotPreCommit with index 0 07:12:50,443 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Removed in-memory snapshotted entries, adjusted snapshotIndex: 0 and term: 1 07:12:50,443 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=2, term=1, command=three, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c093a700@590d9b93} 07:12:50,443 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d66847] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: starting snapshot writeout to /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A2D02F2-1A65A350.tmp 07:12:50,443 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: synchronized callbacks after 66.99 ms [WARN] [06/13/2026 07:12:50.443] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][06/13/2026 07:12:50.443] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] 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'. 07:12:50,443 AM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] 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'. 07:12:50,448 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d66847] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: finished snapshot writeout to /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A2D02F2-1A65A350.v1 07:12:50,448 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d66847] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 07:12:50,448 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d66847] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: selected SNAPSHOT_V1 to handle file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A2D02F2-1A65A350.v1 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d66847] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d66847] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d66847] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: retaining snapshot SnapshotFileV1{lastIncluded=EntryInfo[index=0, term=1], timestamp=2026-06-13T07:12:50.442868560Z, file=/tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A2D02F2-1A65A350.v1, size=539, entryCompress=NONE, stateCompress=NONE} 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d66847] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 07:12:50,449 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 07:12:50,449 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: snapshot is durable as of 2026-06-13T07:12:50.442868560Z 07:12:50,449 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Snapshot success, discarding journal entries up to 1 07:12:50,449 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorSnapshotMessageSupport - testCaptureSnapshotOnAppendEntriesWithUnapplied: SnapshotComplete received 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 7.014 ms 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=2, applyTo=1] 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: discarded entries up to (and including) 1 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 147.6 μs 07:12:50,449 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 07:12:50,449 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 07:12:50,497 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 07:12:50,497 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: selected SNAPSHOT_V1 to handle file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A2D02F2-1A65A350.v1 07:12:50,497 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 07:12:50,497 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 07:12:50,497 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: picked SnapshotFileV1{lastIncluded=EntryInfo[index=0, term=1], timestamp=2026-06-13T07:12:50.442868560Z, file=/tmp/junit-11040990215816552535/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A2D02F2-1A65A350.v1, size=539, entryCompress=NONE, stateCompress=NONE} as the latest file 07:12:50,499 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior501#779111386] 07:12:50,510 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower502#1243067476] 07:12:50,511 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader503#2102428970] 07:12:50,511 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 07:12:50,511 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#633,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155]/waiting 07:12:50,511 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 61.64 ms 07:12:50,511 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 21.67 μs 07:12:50,511 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 07:12:50,511 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminated thread VirtualThread[#633,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155]/terminated 07:12:50,511 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 07:12:50,511 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 07:12:50,511 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 07:12:50,511 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 07:12:50,516 AM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 07:12:50,516 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,517 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:50,518 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]} 07:12:50,518 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the calculated previousIndex 104 was not found in the in-memory journal - lastIndex: 100, snapshotIndex: 100, snapshotTerm: -1 07:12:50,518 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,518 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 07:12:50,519 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior504#807510266] 07:12:50,519 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower505#-1640422464] 07:12:50,520 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader506#313170887] 07:12:50,522 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 07:12:50,522 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,523 AM [main] [INFO] Follower - follower (Follower): Term 3 in "AppendEntries{term=3, leaderId=leader, prevLogIndex=1, prevLogTerm=3, leaderCommit=8, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 07:12:50,523 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 07:12:50,524 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 07:12:50,524 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 07:12:50,524 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 07:12:50,524 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior507#-279005265] 07:12:50,525 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower508#-1970619733] 07:12:50,525 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader509#-1084561387] 07:12:50,527 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 07:12:50,527 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,527 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 07:12:50,528 AM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,528 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 07:12:50,528 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 07:12:50,528 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 07:12:50,528 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 07:12:50,528 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 07:12:50,528 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 07:12:50,528 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 07:12:50,529 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 07:12:50,529 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 07:12:50,529 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 07:12:50,529 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior510#1076302956] 07:12:50,530 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower511#20040779] 07:12:50,530 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader512#133089616] 07:12:50,532 AM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 07:12:50,532 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,532 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 07:12:50,532 AM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 07:12:50,533 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior513#537889482] 07:12:50,533 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower514#-1420044971] 07:12:50,534 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader515#-1502069194] 07:12:50,536 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 07:12:50,536 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,536 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 07:12:50,536 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 07:12:50,536 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 07:12:50,537 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 07:12:50,537 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]}" message is greater than follower's term 1 - updating term 07:12:50,537 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]} 07:12:50,537 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 07:12:50,537 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 07:12:50,537 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:12:50,537 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 07:12:50,537 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 07:12:50,537 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 07:12:50,538 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,538 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 07:12:50,538 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 07:12:50,538 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 07:12:50,538 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 07:12:50,538 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior516#81889390] 07:12:50,539 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower517#-1568489098] 07:12:50,539 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader518#-2009478724] 07:12:50,541 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 07:12:50,541 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,541 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 07:12:50,541 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,542 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 07:12:50,542 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,542 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 07:12:50,542 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 07:12:50,542 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,542 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 07:12:50,543 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,543 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 07:12:50,543 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 07:12:50,543 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 07:12:50,543 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 07:12:50,544 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,544 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 07:12:50,544 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior519#343251558] 07:12:50,544 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower520#-682924213] 07:12:50,544 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader521#1110956885] 07:12:50,546 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 07:12:50,546 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,747 AM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.171.184:17355, Removed) 07:12:50,747 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 07:12:50,747 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 07:12:50,747 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 07:12:50,747 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:12:50,747 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior522#-62745658] 07:12:50,749 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower523#-808205898] 07:12:50,749 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader524#482308909] 07:12:50,755 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,755 AM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 07:12:50,957 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior525#784462369] 07:12:50,968 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower526#1366008162] 07:12:50,968 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader527#-1377100385] 07:12:50,972 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 07:12:50,973 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,975 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 07:12:50,976 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 07:12:50,977 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior528#1534343973] 07:12:50,988 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower529#-231952340] 07:12:50,988 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader530#371995489] 07:12:50,993 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 07:12:50,993 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:50,994 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader-1, prevLogIndex=2, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=10, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=3, term=1, command=three], DefaultLogEntry[index=4, term=1, command=four]]} 07:12:50,994 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 07:12:50,995 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 07:12:50,995 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 07:12:50,995 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 07:12:50,995 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 07:12:50,995 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 07:12:50,995 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:50,995 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 07:12:50,995 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 07:12:50,995 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 07:12:50,995 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 07:12:50,995 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 07:12:50,995 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 07:12:50,996 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 07:12:50,996 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 07:12:50,996 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 07:12:50,996 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 07:12:50,996 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 07:12:50,996 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 07:12:50,996 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior531#-1461831835] 07:12:51,7 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower532#-165428043] 07:12:51,7 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader533#1663561910] 07:12:51,11 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 07:12:51,11 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:51,12 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 07:12:51,12 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 07:12:51,12 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 07:12:51,13 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 07:12:51,14 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=2, command=3]]} 07:12:51,14 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress, replying immediately with AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:51,15 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior534#1384390695] 07:12:51,26 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower535#-264385887] 07:12:51,26 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader536#560873529] 07:12:51,30 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 07:12:51,30 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:51,31 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 07:12:51,32 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 07:12:51,32 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 07:12:51,32 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 07:12:51,33 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 07:12:51,33 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior537#902751545] 07:12:51,44 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower538#-263681226] 07:12:51,44 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader539#349781592] 07:12:51,49 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries 07:12:51,52 AM [main] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 07:12:51,52 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 07:12:51,53 AM [test-pekko.actor.default-dispatcher-6] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 07:12:51,53 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 07:12:51,53 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 07:12:51,54 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 [WARN] [06/13/2026 07:12:51.054] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@b0ee3e6 [INFO] [pekkoDeadLetter][06/13/2026 07:12:51.054] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] 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'. 07:12:51,55 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] 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'. 07:12:51,55 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 07:12:51,55 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 07:12:51,55 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: starting journal recovery 07:12:51,55 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=0, votedFor=null 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [INFO] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=0} 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: empty journal: appending 0 entries 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 07:12:51,57 AM [test-pekko.actor.default-dispatcher-6] [INFO] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed in in 2.579 ms: last log index = -1, last log term = -1, napshot index = -1, snapshot term = -1, journal size = 0 07:12:51,58 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed and can restore from snapshot 07:12:51,58 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: writer thread VirtualThread[#636,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156]/runnable started 07:12:51,58 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 07:12:51,58 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 07:12:51,58 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 07:12:51,58 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 07:12:51,58 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 07:12:51,58 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 07:12:51,58 AM [test-pekko.actor.default-dispatcher-6] [INFO] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Term 1 in "AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]}" message is greater than follower's term 0 - updating term 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnMiddleEntryInAppendEntries, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 07:12:51,60 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.715 ms 07:12:51,60 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three 07:12:51,61 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 3 synchronized callback(s) 07:12:51,64 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 07:12:51,64 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 3.529 ms 07:12:51,64 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 07:12:51,64 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 3 commands after 2.441 μs 07:12:51,64 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 07:12:51,64 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=0, term=1, command=one, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c093a700@c50a8ea} 07:12:51,64 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 2 synchronized callback(s) 07:12:51,66 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=3] 07:12:51,66 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 3 completion(s) pending 07:12:51,66 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 3 commands in 2.047 ms 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 3 completion(s) 07:12:51,66 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=1, term=1, command=two, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c093a700@c50a8ea} 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=2, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: captured snapshot at lastSequenceNumber: 3 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Persising snapshot at EntryInfo[index=2, term=1]/EntryInfo[index=2, term=1] 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: support() called 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: log size 3 exceeds the snapshot batch count 2 - doing snapshotPreCommit with index 2 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Removed in-memory snapshotted entries, adjusted snapshotIndex: 2 and term: 1 07:12:51,66 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d681598] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: starting snapshot writeout to /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A2D02F3-03FB4DB7.tmp 07:12:51,66 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=2, term=1, command=three, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c093a700@c50a8ea} 07:12:51,67 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: synchronized callbacks after 5.718 ms [WARN] [06/13/2026 07:12:51.067] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] 07:12:51,67 AM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] 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] [pekkoDeadLetter][06/13/2026 07:12:51.067] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] 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'. 07:12:51,69 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d681598] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: finished snapshot writeout to /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A2D02F3-03FB4DB7.v1 07:12:51,69 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d681598] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A2D02F3-03FB4DB7.v1 07:12:51,69 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d681598] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 07:12:51,69 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d681598] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 07:12:51,69 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d681598] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 07:12:51,69 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d681598] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: retaining snapshot SnapshotFileV1{lastIncluded=EntryInfo[index=2, term=1], timestamp=2026-06-13T07:12:51.066801079Z, file=/tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A2D02F3-03FB4DB7.v1, size=573, entryCompress=NONE, stateCompress=NONE} 07:12:51,69 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d681598] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 07:12:51,69 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 07:12:51,69 AM [test-pekko.actor.default-dispatcher-5] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: snapshot is durable as of 2026-06-13T07:12:51.066801079Z 07:12:51,69 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Snapshot success, discarding journal entries up to 3 07:12:51,69 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorSnapshotMessageSupport - testCaptureSnapshotOnMiddleEntryInAppendEntries: SnapshotComplete received 07:12:51,69 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 3.282 ms 07:12:51,69 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=4, applyTo=3] 07:12:51,70 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: discarded entries up to (and including) 3 07:12:51,70 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 07:12:51,70 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 133.9 μs 07:12:51,70 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 07:12:51,70 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 07:12:51,211 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A2D02F3-03FB4DB7.v1 07:12:51,211 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 07:12:51,211 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 07:12:51,211 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 07:12:51,211 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: picked SnapshotFileV1{lastIncluded=EntryInfo[index=2, term=1], timestamp=2026-06-13T07:12:51.066801079Z, file=/tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A2D02F3-03FB4DB7.v1, size=573, entryCompress=NONE, stateCompress=NONE} as the latest file 07:12:51,213 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 07:12:51,224 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#636,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156]/waiting 07:12:51,224 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 154.9 ms 07:12:51,225 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 20.62 μs 07:12:51,225 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 07:12:51,225 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminated thread VirtualThread[#636,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156]/terminated 07:12:51,225 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 07:12:51,225 AM [test-pekko.actor.default-dispatcher-5] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 07:12:51,225 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 07:12:51,225 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 07:12:51,225 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 07:12:51,226 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] 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] [06/13/2026 07:12:51.226] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@5324b58b [INFO] [pekkoDeadLetter][06/13/2026 07:12:51.226] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] to Actor[pekko://test/user/termination-monitor] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] 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'. 07:12:51,226 AM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 07:12:51,227 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 07:12:51,227 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 07:12:51,228 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=4 applyTo=3 07:12:51,228 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=3 replayFrom=4 fileEntries=0 07:12:51,228 AM [test-pekko.actor.default-dispatcher-5] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=3 07:12:51,228 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: starting journal recovery 07:12:51,229 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 07:12:51,229 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A2D02F3-03FB4DB7.v1 07:12:51,229 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 07:12:51,229 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 07:12:51,229 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 07:12:51,229 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: picked SnapshotFileV1{lastIncluded=EntryInfo[index=2, term=1], timestamp=2026-06-13T07:12:51.066801079Z, file=/tmp/junit-1956956326356692934/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A2D02F3-03FB4DB7.v1, size=573, entryCompress=NONE, stateCompress=NONE} as the latest file 07:12:51,229 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: initializing from snapshot taken at 2026-06-13T07:12:51.066801079Z 07:12:51,229 AM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: support() called 07:12:51,230 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 2 07:12:51,230 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: applying entries up to 3 07:12:51,230 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 2 to 2 07:12:51,230 AM [test-pekko.actor.default-dispatcher-5] [INFO] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed in in 2.076 ms: last log index = 2, last log term = 1, napshot index = 2, snapshot term = 1, journal size = 0 07:12:51,230 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed and cannot restore from snapshot 07:12:51,231 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: writer thread VirtualThread[#639,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/runnable started 07:12:51,231 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 07:12:51,231 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 07:12:51,231 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior540#1190459263] 07:12:51,242 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower541#1511183390] 07:12:51,242 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader542#471569953] 07:12:51,242 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 07:12:51,242 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#639,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/waiting 07:12:51,243 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 11.92 ms 07:12:51,243 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 14.83 μs 07:12:51,243 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 07:12:51,243 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminated thread VirtualThread[#639,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/terminated 07:12:51,243 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 07:12:51,243 AM [test-pekko.actor.default-dispatcher-5] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 07:12:51,243 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 07:12:51,243 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 07:12:51,248 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 07:12:51,248 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:51,549 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 07:12:51,679 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 07:12:51,929 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 07:12:52,130 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 07:12:52,130 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior543#356037294] 07:12:52,133 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower544#-989785031] 07:12:52,134 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader545#-754928800] 07:12:52,139 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 07:12:52,140 AM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 07:12:52,140 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 07:12:52,140 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 07:12:52,140 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:12:52,141 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior546#-254942963] 07:12:52,151 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower547#657763063] 07:12:52,152 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader548#-397056987] [INFO] [06/13/2026 07:12:52.153] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 07:12:52,154 AM [test-pekko.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [06/13/2026 07:12:52.155] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.184:17355) 07:12:52,156 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#-311113510] was unhandled. [8] 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'. 07:12:52,156 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.184:17355] - Exiting completed 07:12:52,156 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.184:17355] - Shutting down... 07:12:52,157 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.184:17355] - Successfully shut down [INFO] [pekkoDeadLetter][06/13/2026 07:12:52.156] [test-pekko.actor.default-dispatcher-5] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-311113510] was unhandled. [8] 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] [06/13/2026 07:12:52.156] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.184:17355] - Exiting completed [INFO] [06/13/2026 07:12:52.156] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.184:17355] - Shutting down... [INFO] [06/13/2026 07:12:52.157] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.184:17355] - Successfully shut down 07:12:52,159 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 07:12:52,159 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [06/13/2026 07:12:52.159] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.184:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [06/13/2026 07:12:52.159] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.184:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 07:12:52,161 AM [test-pekko.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [06/13/2026 07:12:52.161] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.171.184:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [06/13/2026 07:12:52.161] [test-pekko.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger