[DEBUG] [08/30/2026 14:17:42.792] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 02:17:42,792 PM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [08/30/2026 14:17:42.792] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [08/30/2026 14:17:42.796] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [08/30/2026 14:17:42.810] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.77:17355] with UID [6476252338429285641] 02:17:42,810 PM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.171.77:17355] with UID [6476252338429285641] [INFO] [08/30/2026 14:17:42.811] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.77:17355] - Starting up, Pekko version [1.7.0] ... 02:17:42,811 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.77:17355] - Starting up, Pekko version [1.7.0] ... [INFO] [08/30/2026 14:17:42.814] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.77:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 02:17:42,814 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.77:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [08/30/2026 14:17:42.814] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.77:17355] - Started up successfully 02:17:42,814 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.77:17355] - Started up successfully [INFO] [08/30/2026 14:17:42.816] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.77:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [08/30/2026 14:17:42.816] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.77:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:17:42,816 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.77:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 02:17:42,816 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.77:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 02:17:42,845 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:42,995 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 02:17:42,995 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 02:17:42,998 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior420#-843683513] 02:17:43,13 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower421#-208160830] 02:17:43,13 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader422#543531427] 02:17:43,21 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,23 PM [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]]} 02:17:43,23 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:17:43,23 PM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 02:17:43,23 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 02:17:43,24 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 02:17:43,24 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 02:17:43,24 PM [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} 02:17:43,24 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 02:17:43,24 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 02:17:43,27 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 02:17:43,27 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:17:43,27 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 02:17:43,29 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior423#1031580681] 02:17:43,40 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower424#-851968549] 02:17:43,40 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader425#722259720] 02:17:43,44 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,46 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 02:17:43,47 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 02:17:43,48 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior426#451259532] 02:17:43,58 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower427#1915242099] 02:17:43,59 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader428#1303313399] 02:17:43,63 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,64 PM [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 02:17:43,65 PM [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 02:17:43,66 PM [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} 02:17:43,66 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 02:17:43,67 PM [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 02:17:43,69 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 02:17:43,69 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 02:17:43,69 PM [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. 02:17:43,69 PM [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 02:17:43,70 PM [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 02:17:43,71 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 02:17:43,72 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 02:17:43,73 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior429#435201070] 02:17:43,84 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower430#-110533184] 02:17:43,84 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader431#-1935612282] 02:17:43,89 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,90 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:17:43,91 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:17:43,91 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,91 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 02:17:43,92 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 02:17:43,92 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 02:17:43,92 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 02:17:43,92 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 02:17:43,92 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior432#-855209775] 02:17:43,93 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower433#1030118116] 02:17:43,93 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader434#1766073827] 02:17:43,96 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,97 PM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 02:17:43,98 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior435#2016502384] 02:17:43,98 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower436#81891103] 02:17:43,98 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader437#708563945] 02:17:43,100 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,101 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 02:17:43,101 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 02:17:43,101 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior438#1557544182] 02:17:43,102 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower439#-1605461096] 02:17:43,102 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader440#1006912434] 02:17:43,104 PM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 02:17:43,105 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,107 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 02:17:43,107 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:17:43,107 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:17:43,108 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 02:17:43,108 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 02:17:43,108 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 02:17:43,108 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 02:17:43,108 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 02:17:43,112 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 02:17:43,113 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior441#-1431372738] 02:17:43,114 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower442#-696246229] 02:17:43,114 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader443#680207297] 02:17:43,117 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 02:17:43,117 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,118 PM [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]]} 02:17:43,118 PM [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 02:17:43,119 PM [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} 02:17:43,119 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 02:17:43,119 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior444#219545199] 02:17:43,120 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower445#646042993] 02:17:43,120 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader446#428713118] 02:17:43,122 PM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 02:17:43,122 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,123 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 02:17:43,123 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:17:43,123 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:17:43,123 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 02:17:43,123 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 02:17:43,123 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 02:17:43,123 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 02:17:43,124 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 02:17:43,124 PM [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 02:17:43,124 PM [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]]} 02:17:43,124 PM [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 02:17:43,125 PM [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} 02:17:43,125 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 02:17:43,125 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior447#-811229126] 02:17:43,126 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower448#-569683565] 02:17:43,126 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader449#-844621745] 02:17:43,128 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,128 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 02:17:43,129 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior450#-138361735] 02:17:43,130 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower451#1449611090] 02:17:43,130 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader452#-797585755] 02:17:43,132 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 02:17:43,132 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,132 PM [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 02:17:43,133 PM [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]]} 02:17:43,133 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:17:43,133 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 02:17:43,133 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 02:17:43,133 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 02:17:43,133 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 02:17:43,133 PM [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} 02:17:43,133 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:17:43,133 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 02:17:43,134 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 02:17:43,134 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior453#1925895221] 02:17:43,134 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower454#-137445018] 02:17:43,135 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader455#-1777549838] 02:17:43,137 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 02:17:43,138 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,138 PM [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]]} 02:17:43,138 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:17:43,139 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 02:17:43,139 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 02:17:43,139 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 02:17:43,139 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 02:17:43,139 PM [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} 02:17:43,139 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:17:43,139 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 02:17:43,139 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 02:17:43,139 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:17:43,139 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 02:17:43,139 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 02:17:43,140 PM [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]]} 02:17:43,140 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 02:17:43,140 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 02:17:43,140 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 02:17:43,140 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 02:17:43,140 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 02:17:43,140 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 02:17:43,140 PM [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} 02:17:43,140 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 02:17:43,140 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 02:17:43,140 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 02:17:43,140 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 02:17:43,141 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior456#1287968340] 02:17:43,141 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower457#-1736585274] 02:17:43,141 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader458#-1864593604] 02:17:43,144 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 02:17:43,144 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,144 PM [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 02:17:43,144 PM [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 02:17:43,145 PM [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} 02:17:43,145 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 02:17:43,145 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior459#466556555] 02:17:43,146 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower460#-1787525185] 02:17:43,146 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader461#1859160205] 02:17:43,148 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,150 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior462#1640034511] 02:17:43,151 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower463#723113830] 02:17:43,151 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader464#665957763] 02:17:43,154 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 02:17:43,154 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,154 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 02:17:43,154 PM [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 02:17:43,155 PM [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]]} 02:17:43,155 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:17:43,155 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 02:17:43,155 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 02:17:43,155 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 02:17:43,155 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 02:17:43,155 PM [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} 02:17:43,155 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:17:43,155 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 02:17:43,156 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 02:17:43,156 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 02:17:43,156 PM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 02:17:43,156 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior465#-1563208265] 02:17:43,157 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower466#1071553569] 02:17:43,157 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader467#1989194588] 02:17:43,159 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries 02:17:43,163 PM [main] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 02:17:43,164 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] [WARN] [08/30/2026 14:17:43.165] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@4d849a58 02:17:43,165 PM [test-pekko.actor.default-dispatcher-5] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 02:17:43,165 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 02:17:43,165 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor [INFO] [pekkoDeadLetter][08/30/2026 14:17:43.165] [test-pekko.actor.default-dispatcher-7] [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'. 02:17:43,167 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 02:17:43,167 PM [test-pekko.actor.default-dispatcher-7] [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'. 02:17:43,168 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 02:17:43,168 PM [test-pekko.actor.default-dispatcher-5] [INFO] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 02:17:43,168 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: starting journal recovery 02:17:43,168 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 02:17:43,170 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=0, votedFor=null 02:17:43,170 PM [test-pekko.actor.default-dispatcher-5] [INFO] Recovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=0} 02:17:43,170 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:17:43,170 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:17:43,170 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:17:43,170 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:17:43,170 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 02:17:43,171 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: empty journal: appending 0 entries 02:17:43,171 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 02:17:43,171 PM [test-pekko.actor.default-dispatcher-5] [INFO] Recovery - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed in in 3.116 ms: last log index = -1, last log term = -1, napshot index = -1, snapshot term = -1, journal size = 0 02:17:43,171 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed and can restore from snapshot 02:17:43,171 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 02:17:43,171 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 02:17:43,172 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: writer thread VirtualThread[#620,testCaptureSnapshotOnLastEntryInAppendEntries-writer-154]/waiting started 02:17:43,172 PM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:17:43,172 PM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:17:43,172 PM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:17:43,172 PM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 02:17:43,173 PM [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 02:17:43,175 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 02:17:43,175 PM [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]]} 02:17:43,175 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 02:17:43,175 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:17:43,175 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 02:17:43,175 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 02:17:43,175 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 3.837 ms 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 02:17:43,176 PM [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} 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two 02:17:43,176 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 2 synchronized callback(s) 02:17:43,180 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 02:17:43,180 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 5.000 ms 02:17:43,180 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 commands after 2.870 μs 02:17:43,181 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 02:17:43,181 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 02:17:43,181 PM [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/0x00000007c095cd18@432796f} 02:17:43,181 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 1 synchronized callback(s) 02:17:43,181 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=2] 02:17:43,181 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 2 completion(s) pending 02:17:43,181 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 2 commands in 727.4 μs 02:17:43,181 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 02:17:43,181 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 2 completion(s) 02:17:43,181 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 02:17:43,181 PM [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] 02:17:43,181 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: captured snapshot at lastSequenceNumber: 2 02:17:43,181 PM [test-pekko.actor.default-dispatcher-5] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Persising snapshot at EntryInfo[index=1, term=1]/EntryInfo[index=1, term=1] 02:17:43,181 PM [test-pekko.actor.default-dispatcher-5] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: support() called 02:17:43,182 PM [testCaptureSnapshotOnLastEntryInAppendEntries-%d30937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: starting snapshot writeout to /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A943B87-0AD7DB15.tmp 02:17:43,184 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: log size 2 exceeds the snapshot batch count 2 - doing snapshotPreCommit with index 1 02:17:43,184 PM [test-pekko.actor.default-dispatcher-5] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Removed in-memory snapshotted entries, adjusted snapshotIndex: 1 and term: 1 02:17:43,185 PM [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/0x00000007c095cd18@432796f} 02:17:43,185 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: synchronized callbacks after 9.086 ms [WARN] [08/30/2026 14:17:43.186] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][08/30/2026 14:17:43.186] [test-pekko.actor.default-dispatcher-12] [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'. 02:17:43,186 PM [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'. 02:17:43,187 PM [testCaptureSnapshotOnLastEntryInAppendEntries-%d30937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: finished snapshot writeout to /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A943B87-0AD7DB15.v1 02:17:43,188 PM [testCaptureSnapshotOnLastEntryInAppendEntries-%d30937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A943B87-0AD7DB15.v1 02:17:43,188 PM [testCaptureSnapshotOnLastEntryInAppendEntries-%d30937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:17:43,188 PM [testCaptureSnapshotOnLastEntryInAppendEntries-%d30937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:17:43,188 PM [testCaptureSnapshotOnLastEntryInAppendEntries-%d30937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:17:43,188 PM [testCaptureSnapshotOnLastEntryInAppendEntries-%d30937] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: retaining snapshot SnapshotFileV1{lastIncluded=EntryInfo[index=1, term=1], timestamp=2026-08-30T14:17:43.181918485Z, file=/tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A943B87-0AD7DB15.v1, size=555, entryCompress=NONE, stateCompress=NONE} 02:17:43,188 PM [testCaptureSnapshotOnLastEntryInAppendEntries-%d30937] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 02:17:43,188 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 02:17:43,188 PM [test-pekko.actor.default-dispatcher-12] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: snapshot is durable as of 2026-08-30T14:17:43.181918485Z 02:17:43,188 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Snapshot success, discarding journal entries up to 2 02:17:43,188 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 7.176 ms 02:17:43,188 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorSnapshotMessageSupport - testCaptureSnapshotOnLastEntryInAppendEntries: SnapshotComplete received 02:17:43,188 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=3, applyTo=2] 02:17:43,188 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: discarded entries up to (and including) 2 02:17:43,189 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 02:17:43,189 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 199.3 μs 02:17:43,189 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 02:17:43,189 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 02:17:43,274 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A943B87-0AD7DB15.v1 02:17:43,274 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 02:17:43,274 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 02:17:43,274 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 02:17:43,275 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: picked SnapshotFileV1{lastIncluded=EntryInfo[index=1, term=1], timestamp=2026-08-30T14:17:43.181918485Z, file=/tmp/junit-3274656133881152417/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-000000006A943B87-0AD7DB15.v1, size=555, entryCompress=NONE, stateCompress=NONE} as the latest file 02:17:43,278 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior468#912762247] 02:17:43,290 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower469#-1512763607] 02:17:43,290 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader470#1362850071] 02:17:43,290 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 02:17:43,290 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#620,testCaptureSnapshotOnLastEntryInAppendEntries-writer-154]/waiting 02:17:43,290 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 101.9 ms 02:17:43,291 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 31.66 μs 02:17:43,291 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 02:17:43,291 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminated thread VirtualThread[#620,testCaptureSnapshotOnLastEntryInAppendEntries-writer-154]/terminated 02:17:43,291 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 02:17:43,291 PM [test-pekko.actor.default-dispatcher-12] [INFO] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 02:17:43,291 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 02:17:43,291 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 02:17:43,298 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,300 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior471#1620900373] 02:17:43,301 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower472#-1399164556] 02:17:43,302 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader473#-1568843181] 02:17:43,306 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 02:17:43,306 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,308 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 02:17:43,308 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 02:17:43,309 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior474#1170715327] 02:17:43,310 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower475#-2101328516] 02:17:43,310 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader476#-800118576] 02:17:43,315 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 02:17:43,315 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,316 PM [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 02:17:43,317 PM [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]]} 02:17:43,317 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:17:43,317 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 02:17:43,317 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 02:17:43,317 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 02:17:43,317 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 02:17:43,317 PM [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} 02:17:43,318 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:17:43,318 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 02:17:43,318 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 02:17:43,319 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior477#737291646] 02:17:43,320 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower478#2129434558] 02:17:43,320 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader479#-949571434] 02:17:43,324 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 02:17:43,324 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,325 PM [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 02:17:43,325 PM [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]]} 02:17:43,326 PM [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 02:17:43,326 PM [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} 02:17:43,326 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:17:43,326 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 02:17:43,327 PM [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]]} 02:17:43,327 PM [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 02:17:43,327 PM [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} 02:17:43,327 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 02:17:43,328 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior480#770540453] 02:17:43,328 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower481#-361634190] 02:17:43,329 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader482#-1471723471] 02:17:43,332 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,332 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior483#1663261464] 02:17:43,332 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower484#1683160208] 02:17:43,333 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader485#1374912842] 02:17:43,335 PM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 02:17:43,335 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,336 PM [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 02:17:43,336 PM [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]]} 02:17:43,336 PM [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 02:17:43,337 PM [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} 02:17:43,337 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:17:43,337 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 02:17:43,337 PM [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]]} 02:17:43,338 PM [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 02:17:43,338 PM [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} 02:17:43,338 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 02:17:43,339 PM [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]]} 02:17:43,339 PM [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 02:17:43,339 PM [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} 02:17:43,339 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 02:17:43,340 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior486#1008346939] 02:17:43,340 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower487#1011174736] 02:17:43,341 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader488#166047840] 02:17:43,343 PM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 02:17:43,344 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,344 PM [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]]} 02:17:43,345 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:17:43,345 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 02:17:43,345 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 02:17:43,345 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 02:17:43,345 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 02:17:43,345 PM [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} 02:17:43,345 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 02:17:43,345 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 02:17:43,345 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 02:17:43,346 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior489#-1211337476] 02:17:43,346 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower490#36836681] 02:17:43,346 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader491#332740674] 02:17:43,349 PM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 02:17:43,349 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,350 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 02:17:43,351 PM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader494 02:17:43,351 PM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader494 02:17:43,353 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 02:17:43,354 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior492#679722546] 02:17:43,354 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower493#-1799823423] 02:17:43,354 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader494#-1360227564] 02:17:43,357 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 02:17:43,357 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,358 PM [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 02:17:43,359 PM [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]]} 02:17:43,359 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:17:43,359 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 02:17:43,359 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 02:17:43,359 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 02:17:43,359 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 02:17:43,359 PM [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} 02:17:43,359 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:17:43,359 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 02:17:43,360 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 02:17:43,360 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior495#-387125167] 02:17:43,361 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower496#-1656244212] 02:17:43,361 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader497#-2009348409] 02:17:43,363 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 02:17:43,363 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,363 PM [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 02:17:43,364 PM [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]]} 02:17:43,364 PM [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 02:17:43,364 PM [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} 02:17:43,364 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:17:43,365 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior498#-2006203075] 02:17:43,365 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower499#2004223871] 02:17:43,365 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader500#474546323] 02:17:43,368 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied 02:17:43,371 PM [main] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 02:17:43,372 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] [WARN] [08/30/2026 14:17:43.372] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@7ce3f0fe 02:17:43,373 PM [test-pekko.actor.default-dispatcher-12] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 02:17:43,374 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 02:17:43,374 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 02:17:43,374 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 02:17:43,375 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 02:17:43,375 PM [test-pekko.actor.default-dispatcher-12] [INFO] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 02:17:43,375 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: starting journal recovery 02:17:43,375 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist [INFO] [pekkoDeadLetter][08/30/2026 14:17:43.375] [test-pekko.actor.default-dispatcher-6] [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'. 02:17:43,376 PM [test-pekko.actor.default-dispatcher-5] [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'. 02:17:43,379 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=0, votedFor=null 02:17:43,379 PM [test-pekko.actor.default-dispatcher-12] [INFO] Recovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=0} 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: empty journal: appending 0 entries 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=0] 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [INFO] Recovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed in in 5.010 ms: last log index = -1, last log term = -1, napshot index = -1, snapshot term = -1, journal size = 0 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed and can restore from snapshot 02:17:43,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: writer thread VirtualThread[#623,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155]/runnable started 02:17:43,380 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 02:17:43,380 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 02:17:43,381 PM [test-pekko.actor.default-dispatcher-12] [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 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [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]]} 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [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} 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 02:17:43,383 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 3.255 ms 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 02:17:43,383 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one 02:17:43,384 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 3 synchronized callback(s) 02:17:43,389 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 02:17:43,389 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 5.547 ms 02:17:43,389 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 02:17:43,389 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 3.110 μs 02:17:43,389 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 02:17:43,389 PM [test-pekko.actor.default-dispatcher-12] [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/0x00000007c095cd18@51d29910} 02:17:43,389 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 02:17:43,389 PM [test-pekko.actor.default-dispatcher-12] [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/0x00000007c095cd18@51d29910} 02:17:43,389 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 1 synchronized callback(s) 02:17:43,390 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=1] 02:17:43,390 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 02:17:43,390 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 1.252 ms 02:17:43,390 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 02:17:43,390 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 02:17:43,390 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 02:17:43,390 PM [test-pekko.actor.default-dispatcher-12] [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] 02:17:43,390 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: captured snapshot at lastSequenceNumber: 1 02:17:43,390 PM [test-pekko.actor.default-dispatcher-12] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Persising snapshot at EntryInfo[index=0, term=1]/EntryInfo[index=2, term=1] 02:17:43,390 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: support() called 02:17:43,391 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: log size 3 exceeds the snapshot batch count 1 - doing snapshotPreCommit with index 0 02:17:43,391 PM [test-pekko.actor.default-dispatcher-12] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Removed in-memory snapshotted entries, adjusted snapshotIndex: 0 and term: 1 02:17:43,391 PM [test-pekko.actor.default-dispatcher-12] [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/0x00000007c095cd18@51d29910} 02:17:43,391 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d263712] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: starting snapshot writeout to /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A943B87-174D6370.tmp 02:17:43,391 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: synchronized callbacks after 7.200 ms [WARN] [08/30/2026 14:17:43.391] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][08/30/2026 14:17:43.391] [test-pekko.actor.default-dispatcher-12] [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'. 02:17:43,391 PM [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'. 02:17:43,397 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d263712] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: finished snapshot writeout to /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A943B87-174D6370.v1 02:17:43,397 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d263712] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:17:43,397 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d263712] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:17:43,397 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d263712] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: selected SNAPSHOT_V1 to handle file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A943B87-174D6370.v1 02:17:43,397 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d263712] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:17:43,397 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d263712] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: retaining snapshot SnapshotFileV1{lastIncluded=EntryInfo[index=0, term=1], timestamp=2026-08-30T14:17:43.390947696Z, file=/tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A943B87-174D6370.v1, size=539, entryCompress=NONE, stateCompress=NONE} 02:17:43,397 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d263712] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 02:17:43,397 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 02:17:43,397 PM [test-pekko.actor.default-dispatcher-12] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: snapshot is durable as of 2026-08-30T14:17:43.390947696Z 02:17:43,397 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Snapshot success, discarding journal entries up to 1 02:17:43,397 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorSnapshotMessageSupport - testCaptureSnapshotOnAppendEntriesWithUnapplied: SnapshotComplete received 02:17:43,397 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 7.115 ms 02:17:43,397 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=2, applyTo=1] 02:17:43,398 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: discarded entries up to (and including) 1 02:17:43,398 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 02:17:43,398 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 131.1 μs 02:17:43,398 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 02:17:43,398 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 02:17:43,532 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 02:17:43,532 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 02:17:43,532 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: selected SNAPSHOT_V1 to handle file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A943B87-174D6370.v1 02:17:43,532 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 02:17:43,532 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: picked SnapshotFileV1{lastIncluded=EntryInfo[index=0, term=1], timestamp=2026-08-30T14:17:43.390947696Z, file=/tmp/junit-13471397181518223040/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-000000006A943B87-174D6370.v1, size=539, entryCompress=NONE, stateCompress=NONE} as the latest file 02:17:43,535 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior501#-1611995057] 02:17:43,537 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower502#-2014972914] 02:17:43,537 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader503#1422125149] 02:17:43,537 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 02:17:43,537 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#623,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155]/waiting 02:17:43,538 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 140.0 ms 02:17:43,538 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 21.33 μs 02:17:43,538 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 02:17:43,538 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminated thread VirtualThread[#623,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155]/terminated 02:17:43,538 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 02:17:43,538 PM [test-pekko.actor.default-dispatcher-12] [INFO] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 02:17:43,538 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 02:17:43,538 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 02:17:43,544 PM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 02:17:43,545 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,546 PM [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 02:17:43,547 PM [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]]} 02:17:43,547 PM [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 02:17:43,548 PM [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} 02:17:43,548 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 02:17:43,549 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior504#1097827077] 02:17:43,550 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower505#-227256955] 02:17:43,550 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader506#54449738] 02:17:43,555 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 02:17:43,555 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,556 PM [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 02:17:43,557 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 02:17:43,558 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 02:17:43,558 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 02:17:43,558 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 02:17:43,559 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior507#-1735671658] 02:17:43,559 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower508#792777207] 02:17:43,560 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader509#557754733] 02:17:43,564 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 02:17:43,564 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,565 PM [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 02:17:43,565 PM [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]]} 02:17:43,566 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 02:17:43,566 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 02:17:43,566 PM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 02:17:43,566 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 02:17:43,566 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 02:17:43,566 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 02:17:43,566 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 02:17:43,566 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 02:17:43,566 PM [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} 02:17:43,566 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 02:17:43,566 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 02:17:43,567 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 02:17:43,567 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:17:43,567 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 02:17:43,567 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 02:17:43,567 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 02:17:43,567 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 02:17:43,567 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 02:17:43,567 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 02:17:43,568 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior510#-283195897] 02:17:43,569 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower511#-668869947] 02:17:43,569 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader512#37417423] 02:17:43,573 PM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 02:17:43,573 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,574 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 02:17:43,574 PM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 02:17:43,575 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior513#-2087035956] 02:17:43,576 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower514#-958576921] 02:17:43,576 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader515#1644867639] 02:17:43,580 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 02:17:43,580 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,580 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 02:17:43,581 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:17:43,581 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:17:43,581 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 02:17:43,581 PM [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 02:17:43,582 PM [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]]} 02:17:43,582 PM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 02:17:43,582 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 02:17:43,582 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 02:17:43,582 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 02:17:43,582 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 02:17:43,582 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 02:17:43,582 PM [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} 02:17:43,582 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 02:17:43,582 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 02:17:43,583 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 02:17:43,583 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 02:17:43,584 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior516#-421712269] 02:17:43,585 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower517#30353480] 02:17:43,585 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader518#1982553369] 02:17:43,588 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 02:17:43,588 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,588 PM [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 02:17:43,589 PM [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]]} 02:17:43,589 PM [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 02:17:43,589 PM [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} 02:17:43,589 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 02:17:43,589 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 02:17:43,590 PM [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]]} 02:17:43,590 PM [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 02:17:43,590 PM [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} 02:17:43,590 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 02:17:43,591 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 02:17:43,591 PM [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]]} 02:17:43,591 PM [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 02:17:43,592 PM [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} 02:17:43,592 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 02:17:43,592 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior519#455105755] 02:17:43,593 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower520#-859937636] 02:17:43,593 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader521#-1057584234] 02:17:43,596 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 02:17:43,596 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,796 PM [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.77:17355, Removed) 02:17:43,796 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 02:17:43,796 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 02:17:43,797 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 02:17:43,797 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 02:17:43,797 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior522#1892423875] 02:17:43,798 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower523#257148513] 02:17:43,798 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader524#-1280366751] 02:17:43,803 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,803 PM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 02:17:43,954 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior525#47237825] 02:17:43,966 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower526#1349964173] 02:17:43,966 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader527#-1747983650] 02:17:43,970 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 02:17:43,970 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,973 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 02:17:43,973 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 02:17:43,975 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior528#327305005] 02:17:43,986 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower529#-758487845] 02:17:43,986 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader530#236979435] 02:17:43,992 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 02:17:43,992 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:43,993 PM [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]]} 02:17:43,994 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 02:17:43,994 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 02:17:43,994 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 02:17:43,994 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 02:17:43,994 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 02:17:43,994 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 02:17:43,995 PM [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} 02:17:43,995 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 02:17:43,995 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 02:17:43,995 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 02:17:43,995 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 02:17:43,995 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 02:17:43,995 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 02:17:43,995 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 02:17:43,995 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 02:17:43,996 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 02:17:43,996 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 02:17:43,996 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 02:17:43,996 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 02:17:43,997 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior531#-1852541990] 02:17:44,9 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower532#-2077414483] 02:17:44,9 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader533#-1084319847] 02:17:44,14 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 02:17:44,14 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:44,15 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 02:17:44,15 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 02:17:44,15 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 02:17:44,15 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 02:17:44,17 PM [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]]} 02:17:44,18 PM [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} 02:17:44,18 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior534#909172534] 02:17:44,29 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower535#-1320209492] 02:17:44,30 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader536#-1051135672] 02:17:44,34 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 02:17:44,34 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:44,35 PM [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 02:17:44,36 PM [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]]} 02:17:44,36 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 02:17:44,37 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 02:17:44,37 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 02:17:44,38 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior537#-2085008449] 02:17:44,49 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower538#1297190146] 02:17:44,49 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader539#684693571] 02:17:44,55 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries 02:17:44,60 PM [main] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 02:17:44,61 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] [WARN] [08/30/2026 14:17:44.062] [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@78dc7bba [INFO] [pekkoDeadLetter][08/30/2026 14:17:44.062] [test-pekko.actor.default-dispatcher-6] [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'. 02:17:44,62 PM [test-pekko.actor.default-dispatcher-5] [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'. 02:17:44,63 PM [test-pekko.actor.default-dispatcher-12] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 02:17:44,63 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 02:17:44,63 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 02:17:44,64 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 02:17:44,64 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 02:17:44,64 PM [test-pekko.actor.default-dispatcher-12] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 02:17:44,64 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: starting journal recovery 02:17:44,65 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 02:17:44,69 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=0, votedFor=null 02:17:44,69 PM [test-pekko.actor.default-dispatcher-12] [INFO] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=0} 02:17:44,69 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:17:44,69 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:17:44,69 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:17:44,69 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:17:44,69 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 02:17:44,70 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: empty journal: appending 0 entries 02:17:44,70 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 02:17:44,70 PM [test-pekko.actor.default-dispatcher-12] [INFO] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed in in 5.251 ms: last log index = -1, last log term = -1, napshot index = -1, snapshot term = -1, journal size = 0 02:17:44,70 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed and can restore from snapshot 02:17:44,70 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: writer thread VirtualThread[#626,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156]/runnable started 02:17:44,70 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 02:17:44,70 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 02:17:44,164 PM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:17:44,164 PM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:17:44,164 PM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:17:44,164 PM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 02:17:44,164 PM [test-pekko.actor.default-dispatcher-12] [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 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [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]]} 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [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} 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 02:17:44,167 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 2 commands after 97.09 ms 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 02:17:44,167 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three 02:17:44,168 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 3 synchronized callback(s) 02:17:44,174 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 2 completion(s) pending 02:17:44,174 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 2 commands in 6.440 ms 02:17:44,174 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 2 completion(s) 02:17:44,174 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 2 commands after 5.480 μs 02:17:44,174 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 02:17:44,174 PM [test-pekko.actor.default-dispatcher-12] [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/0x00000007c095cd18@41378b3} 02:17:44,174 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 02:17:44,174 PM [test-pekko.actor.default-dispatcher-12] [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/0x00000007c095cd18@41378b3} 02:17:44,174 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 1 synchronized callback(s) 02:17:44,175 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=3] 02:17:44,175 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 2 completion(s) pending 02:17:44,175 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 2 commands in 1.318 ms 02:17:44,175 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 2 completion(s) 02:17:44,175 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 02:17:44,175 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 02:17:44,175 PM [test-pekko.actor.default-dispatcher-12] [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] 02:17:44,175 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: captured snapshot at lastSequenceNumber: 3 02:17:44,175 PM [test-pekko.actor.default-dispatcher-12] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Persising snapshot at EntryInfo[index=2, term=1]/EntryInfo[index=2, term=1] 02:17:44,175 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: support() called 02:17:44,175 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: log size 3 exceeds the snapshot batch count 2 - doing snapshotPreCommit with index 2 02:17:44,176 PM [test-pekko.actor.default-dispatcher-12] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Removed in-memory snapshotted entries, adjusted snapshotIndex: 2 and term: 1 02:17:44,176 PM [test-pekko.actor.default-dispatcher-12] [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/0x00000007c095cd18@41378b3} 02:17:44,176 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d996721] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: starting snapshot writeout to /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A943B88-0A7BB37C.tmp 02:17:44,176 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: synchronized callbacks after 8.050 ms [WARN] [08/30/2026 14:17:44.176] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][08/30/2026 14:17:44.176] [test-pekko.actor.default-dispatcher-6] [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'. 02:17:44,177 PM [test-pekko.actor.default-dispatcher-12] [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'. 02:17:44,178 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d996721] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: finished snapshot writeout to /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A943B88-0A7BB37C.v1 02:17:44,179 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d996721] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A943B88-0A7BB37C.v1 02:17:44,179 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d996721] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:17:44,179 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d996721] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:17:44,179 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d996721] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:17:44,179 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d996721] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: retaining snapshot SnapshotFileV1{lastIncluded=EntryInfo[index=2, term=1], timestamp=2026-08-30T14:17:44.175879036Z, file=/tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A943B88-0A7BB37C.v1, size=573, entryCompress=NONE, stateCompress=NONE} 02:17:44,179 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d996721] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 02:17:44,179 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 02:17:44,179 PM [test-pekko.actor.default-dispatcher-12] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: snapshot is durable as of 2026-08-30T14:17:44.175879036Z 02:17:44,179 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Snapshot success, discarding journal entries up to 3 02:17:44,179 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActorSnapshotMessageSupport - testCaptureSnapshotOnMiddleEntryInAppendEntries: SnapshotComplete received 02:17:44,179 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 4.192 ms 02:17:44,179 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=4, applyTo=3] 02:17:44,180 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: discarded entries up to (and including) 3 02:17:44,180 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 02:17:44,180 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 02:17:44,180 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 254.4 μs 02:17:44,180 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 02:17:44,316 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A943B88-0A7BB37C.v1 02:17:44,316 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:17:44,316 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:17:44,316 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:17:44,316 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: picked SnapshotFileV1{lastIncluded=EntryInfo[index=2, term=1], timestamp=2026-08-30T14:17:44.175879036Z, file=/tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A943B88-0A7BB37C.v1, size=573, entryCompress=NONE, stateCompress=NONE} as the latest file 02:17:44,318 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 02:17:44,329 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#626,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156]/waiting 02:17:44,329 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 149.5 ms 02:17:44,329 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 43.15 μs 02:17:44,329 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 02:17:44,330 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminated thread VirtualThread[#626,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156]/terminated 02:17:44,330 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 02:17:44,330 PM [test-pekko.actor.default-dispatcher-12] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 02:17:44,330 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 02:17:44,330 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 02:17:44,331 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] [WARN] [08/30/2026 14:17:44.331] [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@3ddefac5 [INFO] [pekkoDeadLetter][08/30/2026 14:17:44.331] [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. [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'. 02:17:44,332 PM [test-pekko.actor.default-dispatcher-5] [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'. 02:17:44,332 PM [test-pekko.actor.default-dispatcher-12] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 02:17:44,332 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 02:17:44,332 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 02:17:44,333 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=4 applyTo=3 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=3 replayFrom=4 fileEntries=0 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=3 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: starting journal recovery 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A943B88-0A7BB37C.v1 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: picked SnapshotFileV1{lastIncluded=EntryInfo[index=2, term=1], timestamp=2026-08-30T14:17:44.175879036Z, file=/tmp/junit-11845544053089684478/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-000000006A943B88-0A7BB37C.v1, size=573, entryCompress=NONE, stateCompress=NONE} as the latest file 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: initializing from snapshot taken at 2026-08-30T14:17:44.175879036Z 02:17:44,334 PM [test-pekko.actor.default-dispatcher-12] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: support() called 02:17:44,335 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 2 02:17:44,336 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: applying entries up to 3 02:17:44,336 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 2 to 2 02:17:44,336 PM [test-pekko.actor.default-dispatcher-12] [INFO] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed in in 1.801 ms: last log index = 2, last log term = 1, napshot index = 2, snapshot term = 1, journal size = 0 02:17:44,336 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed and cannot restore from snapshot 02:17:44,336 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: writer thread VirtualThread[#629,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/runnable started 02:17:44,336 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 02:17:44,336 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 02:17:44,336 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior540#718425802] 02:17:44,347 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower541#1280861125] 02:17:44,348 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader542#-428815185] 02:17:44,348 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 02:17:44,348 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#629,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/waiting 02:17:44,348 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 12.25 ms 02:17:44,348 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 13.78 μs 02:17:44,348 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 02:17:44,348 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminated thread VirtualThread[#629,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/terminated 02:17:44,348 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 02:17:44,348 PM [test-pekko.actor.default-dispatcher-12] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 02:17:44,348 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 02:17:44,348 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 02:17:44,354 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 02:17:44,354 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:44,655 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 02:17:44,785 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 02:17:45,35 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 02:17:45,235 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 02:17:45,236 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior543#-1916095027] 02:17:45,247 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower544#-838276192] 02:17:45,247 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader545#1520039855] 02:17:45,251 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 02:17:45,252 PM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 02:17:45,252 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 02:17:45,252 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 02:17:45,253 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 02:17:45,253 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior546#-577328299] 02:17:45,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower547#-27832663] 02:17:45,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader548#-292511870] [INFO] [08/30/2026 14:17:45.266] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 02:17:45,267 PM [test-pekko.actor.default-dispatcher-7] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [08/30/2026 14:17:45.268] [test-pekko.actor.default-dispatcher-7] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.171.77:17355) 02:17:45,268 PM [test-pekko.actor.default-dispatcher-7] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1880198886] 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] [pekkoDeadLetter][08/30/2026 14:17:45.268] [test-pekko.actor.default-dispatcher-12] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#-1880198886] 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'. 02:17:45,270 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.77:17355] - Exiting completed 02:17:45,270 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.77:17355] - Shutting down... 02:17:45,270 PM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.171.77:17355] - Successfully shut down [INFO] [08/30/2026 14:17:45.269] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.77:17355] - Exiting completed [INFO] [08/30/2026 14:17:45.269] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.77:17355] - Shutting down... [INFO] [08/30/2026 14:17:45.269] [test-pekko.actor.internal-dispatcher-11] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.171.77:17355] - Successfully shut down [INFO] [08/30/2026 14:17:45.272] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.77:17355/system/remoting-terminator] Shutting down remote daemon. 02:17:45,273 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [08/30/2026 14:17:45.273] [test-pekko.remote.default-remote-dispatcher-9] [pekko://test@10.30.171.77:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 02:17:45,273 PM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 02:17:45,277 PM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [08/30/2026 14:17:45.276] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.171.77:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [08/30/2026 14:17:45.277] [test-pekko.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger