01:12:47,903 AM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [04/17/2026 01:12:47.903] [main] [EventStream(pekko://test)] logger log1-TestEventListener started [DEBUG] [04/17/2026 01:12:47.903] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [04/17/2026 01:12:47.904] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [04/17/2026 01:12:47.912] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.244:17355] with UID [7859652431361018498] 01:12:47,913 AM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.244:17355] with UID [7859652431361018498] [INFO] [04/17/2026 01:12:47.913] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.244:17355] - Starting up, Pekko version [1.4.0] ... 01:12:47,915 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.244:17355] - Starting up, Pekko version [1.4.0] ... 01:12:47,920 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.244:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 01:12:47,920 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.244:17355] - Started up successfully 01:12:47,920 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.244:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 01:12:47,920 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.244:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [04/17/2026 01:12:47.915] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.244:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [04/17/2026 01:12:47.915] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.244:17355] - Started up successfully [INFO] [04/17/2026 01:12:47.919] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.244:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [04/17/2026 01:12:47.919] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.244:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 01:12:47,938 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,30 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 01:12:48,31 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 01:12:48,32 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior420#859333444] 01:12:48,43 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower421#1106704848] 01:12:48,43 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader422#-110298281] 01:12:48,46 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,48 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 01:12:48,49 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:12:48,49 AM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:12:48,49 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 01:12:48,49 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 01:12:48,50 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 01:12:48,50 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,50 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 01:12:48,50 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 01:12:48,52 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 01:12:48,52 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:12:48,52 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 01:12:48,53 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior423#-54639671] 01:12:48,64 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower424#-2027113976] 01:12:48,64 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader425#332919489] 01:12:48,68 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,70 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 01:12:48,71 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 01:12:48,71 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior426#1219719995] 01:12:48,82 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower427#1121125424] 01:12:48,82 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader428#-2099889585] 01:12:48,86 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,87 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 01:12:48,88 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 0 - lastIndex: 0, snapshotIndex: -1, snapshotTerm: -1 01:12:48,89 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=100, success=false, followerId=follower, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,89 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 01:12:48,90 AM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than follower's term 1 - updating term 01:12:48,92 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:12:48,92 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 01:12:48,92 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 01:12:48,92 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than follower's term 1 - updating term 01:12:48,92 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 01:12:48,93 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 01:12:48,93 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 01:12:48,94 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior429#-529067948] 01:12:48,104 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower430#-909124298] 01:12:48,104 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader431#1699400718] 01:12:48,108 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,108 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:12:48,108 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:12:48,109 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,109 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 01:12:48,110 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 01:12:48,110 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 01:12:48,110 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 01:12:48,110 AM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 01:12:48,111 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior432#-867746795] 01:12:48,121 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower433#1096795657] 01:12:48,122 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader434#-1982015003] 01:12:48,124 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,126 AM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 01:12:48,127 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior435#571023993] 01:12:48,137 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower436#1277418908] 01:12:48,137 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader437#1812072359] 01:12:48,141 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,143 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 01:12:48,143 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 01:12:48,144 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior438#-1347619336] 01:12:48,155 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower439#-2119678993] 01:12:48,155 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader440#-467595703] 01:12:48,162 AM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 01:12:48,162 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,166 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 01:12:48,166 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:12:48,166 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:12:48,166 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 01:12:48,167 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 01:12:48,167 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 01:12:48,167 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 01:12:48,167 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 01:12:48,170 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 01:12:48,171 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior441#-1329788775] 01:12:48,182 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower442#2102467716] 01:12:48,182 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader443#-546898768] 01:12:48,185 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 01:12:48,186 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,187 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 01:12:48,187 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 3 was not found in it - lastIndex: 2, snapshotIndex: -1, snapshotTerm: -1 01:12:48,188 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=1, success=false, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,188 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 01:12:48,189 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior444#718555233] 01:12:48,200 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower445#-1223200437] 01:12:48,200 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader446#-1088331650] 01:12:48,203 AM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 01:12:48,204 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,205 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 01:12:48,205 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:12:48,205 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:12:48,205 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 01:12:48,206 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 01:12:48,206 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 01:12:48,206 AM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 01:12:48,207 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 01:12:48,207 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,208 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,208 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 01:12:48,209 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,209 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 01:12:48,209 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior447#991110394] 01:12:48,220 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower448#22527938] 01:12:48,220 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader449#-728341653] 01:12:48,223 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,224 AM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 01:12:48,226 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior450#138603555] 01:12:48,236 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower451#-385502085] 01:12:48,237 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader452#1091929164] 01:12:48,240 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 01:12:48,240 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,241 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,241 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,241 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:12:48,241 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 01:12:48,242 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 01:12:48,242 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 01:12:48,242 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 01:12:48,242 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,242 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:12:48,242 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 01:12:48,242 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 01:12:48,243 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior453#1345627519] 01:12:48,253 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower454#-1925209883] 01:12:48,253 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader455#900398228] 01:12:48,256 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 01:12:48,256 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,257 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one]]} 01:12:48,258 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:12:48,258 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 01:12:48,258 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:12:48,258 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 01:12:48,258 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 01:12:48,258 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,258 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:12:48,258 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:12:48,258 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 01:12:48,258 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:12:48,258 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 01:12:48,258 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 01:12:48,259 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one], DefaultLogEntry[index=2, term=1, command=two]]} 01:12:48,259 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 01:12:48,259 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 01:12:48,259 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:12:48,259 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 01:12:48,259 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 01:12:48,259 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 01:12:48,259 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,260 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 01:12:48,260 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:12:48,260 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 01:12:48,260 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 01:12:48,260 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior456#-173159534] 01:12:48,271 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower457#-1977982310] 01:12:48,271 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader458#211971047] 01:12:48,274 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 01:12:48,274 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,275 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=0, prevLogTerm=2, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 01:12:48,275 AM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 01:12:48,276 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,276 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 01:12:48,276 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior459#1798564729] 01:12:48,287 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower460#-1404324215] 01:12:48,287 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader461#-1455247856] 01:12:48,290 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,292 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior462#1737739795] 01:12:48,303 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower463#1735038415] 01:12:48,303 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader464#1588847050] 01:12:48,306 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 01:12:48,306 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,306 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 01:12:48,306 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,307 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,307 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:12:48,307 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 01:12:48,307 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 01:12:48,307 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 01:12:48,307 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 01:12:48,307 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,307 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:12:48,307 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 01:12:48,308 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 01:12:48,308 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 01:12:48,308 AM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 01:12:48,308 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior465#-96863922] 01:12:48,319 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower466#1635896533] 01:12:48,319 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader467#1581561589] 01:12:48,322 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries 01:12:48,325 AM [main] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 01:12:48,326 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] [WARN] [04/17/2026 01:12:48.326] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@7eb36d6a [INFO] [pekkoDeadLetter][04/17/2026 01:12:48.326] [test-pekko.actor.default-dispatcher-13] [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'. 01:12:48,327 AM [test-pekko.actor.default-dispatcher-6] [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'. 01:12:48,327 AM [test-pekko.actor.default-dispatcher-10] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 01:12:48,327 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 01:12:48,327 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 01:12:48,328 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 01:12:48,329 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 01:12:48,329 AM [test-pekko.actor.default-dispatcher-10] [INFO] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 01:12:48,329 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: starting journal recovery 01:12:48,329 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] PropertiesTermInfoStore - /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=0, votedFor=null 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [INFO] Recovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=0} 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: empty journal: appending 0 entries 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 01:12:48,331 AM [test-pekko.actor.default-dispatcher-10] [INFO] Recovery - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed in in 2.532 ms: last log index = -1, last log term = -1, napshot index = -1, snapshot term = -1, journal size = 0 01:12:48,332 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed and can restore from snapshot 01:12:48,332 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: writer thread VirtualThread[#630,testCaptureSnapshotOnLastEntryInAppendEntries-writer-154]/runnable started 01:12:48,332 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 01:12:48,332 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 01:12:48,332 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:12:48,332 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:12:48,332 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:12:48,332 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 01:12:48,332 AM [test-pekko.actor.default-dispatcher-10] [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 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [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]]} 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 01:12:48,334 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.476 ms 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [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} 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two 01:12:48,334 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 2 synchronized callback(s) 01:12:48,337 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 01:12:48,337 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 01:12:48,337 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 2.843 ms 01:12:48,337 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 01:12:48,337 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 2 commands after 1.800 μs 01:12:48,337 AM [test-pekko.actor.default-dispatcher-10] [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/0x00000007c0936bb8@53f6d716} 01:12:48,337 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: awaiting more completions to resolve 1 synchronized callback(s) 01:12:48,338 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=2] 01:12:48,338 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 2 completion(s) pending 01:12:48,338 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 2 commands in 601.1 μs 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 2 completion(s) 01:12:48,338 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [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] 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: captured snapshot at lastSequenceNumber: 2 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Persising snapshot at EntryInfo[index=1, term=1]/EntryInfo[index=1, term=1] 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: support() called 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: log size 2 exceeds the snapshot batch count 2 - doing snapshotPreCommit with index 1 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Removed in-memory snapshotted entries, adjusted snapshotIndex: 1 and term: 1 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [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/0x00000007c0936bb8@53f6d716} 01:12:48,338 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d648361] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: starting snapshot writeout to /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-0000000069E18910-142CAF2A.tmp 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: synchronized callbacks after 3.597 ms [WARN] [04/17/2026 01:12:48.338] [test-pekko.actor.default-dispatcher-10] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][04/17/2026 01:12:48.338] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] was unhandled. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:12:48,338 AM [test-pekko.actor.default-dispatcher-10] [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'. 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d648361] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: finished snapshot writeout to /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-0000000069E18910-142CAF2A.v1 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d648361] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-0000000069E18910-142CAF2A.v1 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d648361] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d648361] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d648361] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d648361] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: retaining snapshot SnapshotFileV1{lastIncluded=EntryInfo[index=1, term=1], timestamp=2026-04-17T01:12:48.338472746Z, file=/tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-0000000069E18910-142CAF2A.v1, size=555, entryCompress=NONE, stateCompress=NONE} 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-%d648361] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 01:12:48,342 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 01:12:48,342 AM [test-pekko.actor.default-dispatcher-10] [INFO] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: snapshot is durable as of 2026-04-17T01:12:48.338472746Z 01:12:48,342 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] SnapshotManager - testCaptureSnapshotOnLastEntryInAppendEntries: Snapshot success, discarding journal entries up to 2 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 4.395 ms 01:12:48,342 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActorSnapshotMessageSupport - testCaptureSnapshotOnLastEntryInAppendEntries: SnapshotComplete received 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=3, applyTo=2] 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: discarded entries up to (and including) 2 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 1 completion(s) pending 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 142.0 μs 01:12:48,342 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 1 completion(s) 01:12:48,342 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 01:12:48,433 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-0000000069E18910-142CAF2A.v1 01:12:48,434 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 01:12:48,434 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 01:12:48,434 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 01:12:48,434 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: picked SnapshotFileV1{lastIncluded=EntryInfo[index=1, term=1], timestamp=2026-04-17T01:12:48.338472746Z, file=/tmp/junit-9867150952583534156/testCaptureSnapshotOnLastEntryInAppendEntries/snapshot-0000000069E18910-142CAF2A.v1, size=555, entryCompress=NONE, stateCompress=NONE} as the latest file 01:12:48,436 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior468#322003912] 01:12:48,447 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower469#2095887581] 01:12:48,447 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader470#-1095466014] 01:12:48,447 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 01:12:48,447 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#630,testCaptureSnapshotOnLastEntryInAppendEntries-writer-154]/waiting 01:12:48,448 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 105.2 ms 01:12:48,448 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 12.79 μs 01:12:48,448 AM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 01:12:48,448 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminated thread VirtualThread[#630,testCaptureSnapshotOnLastEntryInAppendEntries-writer-154]/terminated 01:12:48,448 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 01:12:48,448 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 01:12:48,448 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 01:12:48,448 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 01:12:48,452 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,454 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior471#1929276349] 01:12:48,464 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower472#462441455] 01:12:48,465 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader473#-2000319124] 01:12:48,468 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 01:12:48,469 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,470 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 01:12:48,470 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 01:12:48,471 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior474#-1788637159] 01:12:48,481 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower475#-1211498374] 01:12:48,482 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader476#1077894068] 01:12:48,486 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 01:12:48,486 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,487 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,487 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,488 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:12:48,488 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 01:12:48,488 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 01:12:48,488 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 01:12:48,488 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 01:12:48,488 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,488 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:12:48,488 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 01:12:48,489 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 01:12:48,489 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior477#-877025697] 01:12:48,500 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower478#627648870] 01:12:48,501 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader479#-259933656] 01:12:48,505 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 01:12:48,505 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,506 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,506 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,507 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 01:12:48,507 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,507 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:12:48,508 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 01:12:48,508 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,508 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 01:12:48,509 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,509 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 01:12:48,509 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior480#1484003049] 01:12:48,520 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower481#1559149778] 01:12:48,520 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader482#1296754082] 01:12:48,524 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,524 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior483#374075025] 01:12:48,535 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower484#1623615156] 01:12:48,535 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader485#1491126072] 01:12:48,539 AM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 01:12:48,539 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,540 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,541 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,541 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 01:12:48,541 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,541 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:12:48,542 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 01:12:48,542 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,542 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 01:12:48,543 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,543 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 01:12:48,543 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,543 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 01:12:48,544 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,544 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 01:12:48,544 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior486#-879872651] 01:12:48,555 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower487#-350923288] 01:12:48,555 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader488#611302109] 01:12:48,559 AM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 01:12:48,559 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,560 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 01:12:48,561 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:12:48,561 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:12:48,561 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 01:12:48,561 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 01:12:48,561 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 01:12:48,561 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,561 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 01:12:48,561 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 01:12:48,562 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 01:12:48,562 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior489#-1814264363] 01:12:48,573 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower490#-1219543282] 01:12:48,573 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader491#-1199202723] 01:12:48,577 AM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 01:12:48,577 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,579 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 01:12:48,580 AM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader494 01:12:48,580 AM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader494 01:12:48,581 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 01:12:48,582 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior492#2054405572] 01:12:48,593 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower493#-1975013975] 01:12:48,593 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader494#-1084394649] 01:12:48,597 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 01:12:48,597 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,597 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,598 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,598 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:12:48,598 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 01:12:48,598 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 01:12:48,598 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 01:12:48,598 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 01:12:48,598 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,599 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:12:48,599 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 01:12:48,599 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 01:12:48,599 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior495#-313939105] 01:12:48,610 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower496#1219669052] 01:12:48,610 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader497#452750171] 01:12:48,614 AM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 01:12:48,614 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,615 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,615 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,615 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the replicatedToAllIndex 100 does not appear to be in the in-memory journal - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 01:12:48,616 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,617 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:12:48,618 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior498#-763489093] 01:12:48,629 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower499#376372348] 01:12:48,629 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader500#-323753825] 01:12:48,633 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied 01:12:48,636 AM [main] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 01:12:48,636 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] [WARN] [04/17/2026 01:12:48.636] [test-pekko.actor.default-dispatcher-10] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@7fd4c63c 01:12:48,637 AM [test-pekko.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][04/17/2026 01:12:48.636] [test-pekko.actor.default-dispatcher-13] [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'. 01:12:48,637 AM [test-pekko.actor.default-dispatcher-6] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 01:12:48,637 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 01:12:48,637 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 01:12:48,637 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 01:12:48,638 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 01:12:48,638 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 01:12:48,638 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: starting journal recovery 01:12:48,638 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=0, votedFor=null 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [INFO] Recovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=0} 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: empty journal: appending 0 entries 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=0] 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [INFO] Recovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed in in 3.196 ms: last log index = -1, last log term = -1, napshot index = -1, snapshot term = -1, journal size = 0 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed and can restore from snapshot 01:12:48,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: writer thread VirtualThread[#633,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155]/runnable started 01:12:48,641 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 01:12:48,641 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 01:12:48,642 AM [test-pekko.actor.default-dispatcher-6] [INFO] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Term 1 in "AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]}" message is greater than follower's term 0 - updating term 01:12:48,643 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 01:12:48,643 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=0, term=1, command=one], DefaultLogEntry[index=1, term=1, command=two], DefaultLogEntry[index=2, term=1, command=three]]} 01:12:48,643 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 01:12:48,643 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 01:12:48,644 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 2.363 ms 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=testCaptureSnapshotOnAppendEntriesWithUnapplied, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one 01:12:48,644 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 3 synchronized callback(s) 01:12:48,646 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 01:12:48,646 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 2.822 ms 01:12:48,646 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 01:12:48,647 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 3 commands after 1.620 μs 01:12:48,647 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 01:12:48,647 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=0, term=1, command=one, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c0936bb8@3ec5df9} 01:12:48,647 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: awaiting more completions to resolve 2 synchronized callback(s) 01:12:48,648 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=1] 01:12:48,648 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 3 completion(s) pending 01:12:48,648 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 3 commands in 1.199 ms 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 3 completion(s) 01:12:48,648 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=1, term=1, command=two, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c0936bb8@3ec5df9} 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=0, lastAppliedTerm=1, lastIndex=2, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: captured snapshot at lastSequenceNumber: 1 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Persising snapshot at EntryInfo[index=0, term=1]/EntryInfo[index=2, term=1] 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: support() called 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: log size 3 exceeds the snapshot batch count 1 - doing snapshotPreCommit with index 0 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Removed in-memory snapshotted entries, adjusted snapshotIndex: 0 and term: 1 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed synchronized callback AppendReceivedCallback{entry=JournaledLogEntry{index=2, term=1, command=three, pending=false}, callback=org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda/0x00000007c0936bb8@3ec5df9} 01:12:48,648 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d763744] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: starting snapshot writeout to /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-0000000069E18910-26A6046A.tmp 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: synchronized callbacks after 4.160 ms [WARN] [04/17/2026 01:12:48.648] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][04/17/2026 01:12:48.648] [test-pekko.actor.default-dispatcher-10] [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'. 01:12:48,648 AM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:12:48,651 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d763744] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: finished snapshot writeout to /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-0000000069E18910-26A6046A.v1 01:12:48,651 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d763744] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:12:48,651 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d763744] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:12:48,651 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d763744] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:12:48,651 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d763744] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: selected SNAPSHOT_V1 to handle file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-0000000069E18910-26A6046A.v1 01:12:48,651 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d763744] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: retaining snapshot SnapshotFileV1{lastIncluded=EntryInfo[index=0, term=1], timestamp=2026-04-17T01:12:48.648414314Z, file=/tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-0000000069E18910-26A6046A.v1, size=539, entryCompress=NONE, stateCompress=NONE} 01:12:48,652 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-%d763744] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 01:12:48,652 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 01:12:48,652 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: snapshot is durable as of 2026-04-17T01:12:48.648414314Z 01:12:48,652 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnAppendEntriesWithUnapplied: Snapshot success, discarding journal entries up to 1 01:12:48,652 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorSnapshotMessageSupport - testCaptureSnapshotOnAppendEntriesWithUnapplied: SnapshotComplete received 01:12:48,652 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 3.968 ms 01:12:48,652 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=2, applyTo=1] 01:12:48,652 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: discarded entries up to (and including) 1 01:12:48,652 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 1 completion(s) pending 01:12:48,652 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 114.1 μs 01:12:48,652 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 1 completion(s) 01:12:48,652 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 01:12:48,793 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 01:12:48,793 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 01:12:48,793 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 01:12:48,793 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: selected SNAPSHOT_V1 to handle file /tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-0000000069E18910-26A6046A.v1 01:12:48,793 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: picked SnapshotFileV1{lastIncluded=EntryInfo[index=0, term=1], timestamp=2026-04-17T01:12:48.648414314Z, file=/tmp/junit-6275573512172074875/testCaptureSnapshotOnAppendEntriesWithUnapplied/snapshot-0000000069E18910-26A6046A.v1, size=539, entryCompress=NONE, stateCompress=NONE} as the latest file 01:12:48,795 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior501#-334142183] 01:12:48,806 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower502#1882944029] 01:12:48,806 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader503#441158658] 01:12:48,806 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 01:12:48,807 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#633,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155]/waiting 01:12:48,807 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 154.8 ms 01:12:48,807 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 8.400 μs 01:12:48,807 AM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 01:12:48,807 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminated thread VirtualThread[#633,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-155]/terminated 01:12:48,807 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 01:12:48,807 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 01:12:48,807 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 01:12:48,807 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 01:12:48,811 AM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 01:12:48,811 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,812 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,813 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]} 01:12:48,813 AM [main] [INFO] Follower - follower (Follower): Cannot append entries because the calculated previousIndex 104 was not found in the in-memory journal - lastIndex: 100, snapshotIndex: 100, snapshotTerm: -1 01:12:48,813 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,813 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 01:12:48,814 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior504#-951837150] 01:12:48,824 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower505#1570409978] 01:12:48,825 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader506#-1216799117] 01:12:48,830 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 01:12:48,831 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,831 AM [main] [INFO] Follower - follower (Follower): Term 3 in "AppendEntries{term=3, leaderId=leader, prevLogIndex=1, prevLogTerm=3, leaderCommit=8, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 01:12:48,832 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 01:12:48,832 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 01:12:48,832 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 01:12:48,832 AM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 01:12:48,832 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior507#-95479590] 01:12:48,843 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower508#1522045380] 01:12:48,843 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader509#-1533797369] 01:12:48,846 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 01:12:48,846 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,850 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 01:12:48,851 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 01:12:48,851 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 01:12:48,851 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 01:12:48,852 AM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 01:12:48,852 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:12:48,852 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 01:12:48,852 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 01:12:48,852 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 01:12:48,852 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 01:12:48,852 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,852 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 01:12:48,853 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 01:12:48,853 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 01:12:48,853 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:12:48,853 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 01:12:48,853 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 01:12:48,853 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 01:12:48,853 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 01:12:48,853 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 01:12:48,853 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 01:12:48,854 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior510#-1928384664] 01:12:48,864 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower511#-1504117818] 01:12:48,864 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader512#-243386781] 01:12:48,869 AM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 01:12:48,869 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,870 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 01:12:48,870 AM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 01:12:48,871 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior513#-393243090] 01:12:48,881 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower514#1642563955] 01:12:48,881 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader515#-240436435] 01:12:48,886 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 01:12:48,886 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,886 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 01:12:48,886 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:12:48,886 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:12:48,887 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 01:12:48,888 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]}" message is greater than follower's term 1 - updating term 01:12:48,888 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]} 01:12:48,888 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 01:12:48,888 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 01:12:48,888 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:12:48,888 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 01:12:48,888 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 01:12:48,888 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 01:12:48,888 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,889 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 01:12:48,889 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:12:48,889 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 01:12:48,889 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 01:12:48,889 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior516#313407764] 01:12:48,900 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower517#-1384252029] 01:12:48,900 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader518#-1123763711] 01:12:48,903 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 01:12:48,904 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:48,905 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 01:12:48,906 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,906 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 01:12:48,907 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,907 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 01:12:48,907 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 01:12:48,908 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,908 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 01:12:48,909 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,909 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 01:12:48,909 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 01:12:48,910 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 01:12:48,910 AM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 01:12:48,910 AM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:48,911 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 01:12:48,911 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior519#1141657974] 01:12:48,922 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower520#1291698693] 01:12:48,922 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader521#1518590630] 01:12:48,926 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 01:12:48,926 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:49,127 AM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.244:17355, Removed) 01:12:49,127 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 01:12:49,127 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 01:12:49,127 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 01:12:49,127 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:12:49,127 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior522#1741284613] 01:12:49,138 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower523#1499828788] 01:12:49,138 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader524#1334635098] 01:12:49,142 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:49,142 AM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 01:12:49,343 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior525#-757599735] 01:12:49,354 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower526#1979503377] 01:12:49,355 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader527#-1253335068] 01:12:49,358 AM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 01:12:49,358 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:49,360 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 01:12:49,361 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 01:12:49,362 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior528#-959096732] 01:12:49,372 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower529#751962224] 01:12:49,372 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader530#309448458] 01:12:49,375 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 01:12:49,375 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:49,377 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader-1, prevLogIndex=2, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=10, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=3, term=1, command=three], DefaultLogEntry[index=4, term=1, command=four]]} 01:12:49,377 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 01:12:49,377 AM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:12:49,377 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 01:12:49,377 AM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 01:12:49,377 AM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 01:12:49,377 AM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 01:12:49,377 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:49,378 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 01:12:49,378 AM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 01:12:49,378 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 01:12:49,378 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 01:12:49,378 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 01:12:49,378 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 01:12:49,378 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 01:12:49,378 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 01:12:49,378 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 01:12:49,378 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 01:12:49,379 AM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 01:12:49,379 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 01:12:49,379 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior531#764520341] 01:12:49,390 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower532#512079612] 01:12:49,390 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader533#1409524699] 01:12:49,394 AM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 01:12:49,394 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:49,395 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 01:12:49,395 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 01:12:49,395 AM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:12:49,395 AM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 01:12:49,396 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=2, command=3]]} 01:12:49,397 AM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress, replying immediately with AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 01:12:49,397 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior534#-1202450158] 01:12:49,408 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower535#383410766] 01:12:49,408 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader536#1490319910] 01:12:49,412 AM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 01:12:49,412 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:49,413 AM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 01:12:49,414 AM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 01:12:49,414 AM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 01:12:49,414 AM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 01:12:49,415 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 01:12:49,415 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior537#1148228447] 01:12:49,425 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower538#-1569813016] 01:12:49,426 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader539#-1220451817] 01:12:49,429 AM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries 01:12:49,434 AM [main] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 01:12:49,434 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] [WARN] [04/17/2026 01:12:49.434] [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@39fd2ed7 [INFO] [pekkoDeadLetter][04/17/2026 01:12:49.435] [test-pekko.actor.default-dispatcher-12] [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'. 01:12:49,435 AM [test-pekko.actor.default-dispatcher-10] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 01:12:49,435 AM [test-pekko.actor.default-dispatcher-12] [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'. 01:12:49,435 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 01:12:49,435 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 01:12:49,435 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 01:12:49,436 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 01:12:49,436 AM [test-pekko.actor.default-dispatcher-10] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 01:12:49,436 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: starting journal recovery 01:12:49,436 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] PropertiesTermInfoStore - /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=0, votedFor=null 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [INFO] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=0} 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: empty journal: appending 0 entries 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [INFO] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed in in 3.406 ms: last log index = -1, last log term = -1, napshot index = -1, snapshot term = -1, journal size = 0 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed and can restore from snapshot 01:12:49,439 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: writer thread VirtualThread[#636,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156]/runnable started 01:12:49,439 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 01:12:49,439 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 01:12:49,440 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:12:49,440 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:12:49,440 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:12:49,440 AM [main] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 01:12:49,440 AM [test-pekko.actor.default-dispatcher-10] [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 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [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]]} 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 01:12:49,442 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 3.009 ms 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [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} 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 01:12:49,442 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three 01:12:49,443 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 3 synchronized callback(s) 01:12:49,446 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 01:12:49,446 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 01:12:49,446 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 3.352 ms 01:12:49,446 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 01:12:49,446 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 3 commands after 3.310 μs 01:12:49,446 AM [test-pekko.actor.default-dispatcher-10] [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/0x00000007c0936bb8@2cf34295} 01:12:49,446 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: awaiting more completions to resolve 2 synchronized callback(s) 01:12:49,447 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=3] 01:12:49,447 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 3 completion(s) pending 01:12:49,447 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 3 commands in 1.610 ms 01:12:49,447 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 3 completion(s) 01:12:49,447 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 01:12:49,447 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 01:12:49,447 AM [test-pekko.actor.default-dispatcher-10] [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/0x00000007c0936bb8@2cf34295} 01:12:49,448 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 01:12:49,448 AM [test-pekko.actor.default-dispatcher-10] [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] 01:12:49,448 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: captured snapshot at lastSequenceNumber: 3 01:12:49,448 AM [test-pekko.actor.default-dispatcher-10] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Persising snapshot at EntryInfo[index=2, term=1]/EntryInfo[index=2, term=1] 01:12:49,448 AM [test-pekko.actor.default-dispatcher-10] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: support() called 01:12:49,448 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: log size 3 exceeds the snapshot batch count 2 - doing snapshotPreCommit with index 2 01:12:49,448 AM [test-pekko.actor.default-dispatcher-10] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Removed in-memory snapshotted entries, adjusted snapshotIndex: 2 and term: 1 01:12:49,448 AM [test-pekko.actor.default-dispatcher-10] [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/0x00000007c0936bb8@2cf34295} 01:12:49,448 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d201415] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: starting snapshot writeout to /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-0000000069E18911-1AB68356.tmp 01:12:49,448 AM [test-pekko.actor.default-dispatcher-10] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: synchronized callbacks after 5.054 ms [WARN] [04/17/2026 01:12:49.448] [test-pekko.actor.default-dispatcher-10] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][04/17/2026 01:12:49.448] [test-pekko.actor.default-dispatcher-10] [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'. 01:12:49,448 AM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:12:49,450 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d201415] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: finished snapshot writeout to /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-0000000069E18911-1AB68356.v1 01:12:49,450 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d201415] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-0000000069E18911-1AB68356.v1 01:12:49,450 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d201415] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:12:49,450 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d201415] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:12:49,450 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d201415] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:12:49,450 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d201415] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: retaining snapshot SnapshotFileV1{lastIncluded=EntryInfo[index=2, term=1], timestamp=2026-04-17T01:12:49.448168790Z, file=/tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-0000000069E18911-1AB68356.v1, size=573, entryCompress=NONE, stateCompress=NONE} 01:12:49,450 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-%d201415] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 01:12:49,450 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 01:12:49,450 AM [test-pekko.actor.default-dispatcher-6] [INFO] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: snapshot is durable as of 2026-04-17T01:12:49.448168790Z 01:12:49,450 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SnapshotManager - testCaptureSnapshotOnMiddleEntryInAppendEntries: Snapshot success, discarding journal entries up to 3 01:12:49,450 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActorSnapshotMessageSupport - testCaptureSnapshotOnMiddleEntryInAppendEntries: SnapshotComplete received 01:12:49,450 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.897 ms 01:12:49,450 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=4, applyTo=3] 01:12:49,451 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: discarded entries up to (and including) 3 01:12:49,451 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 1 completion(s) pending 01:12:49,451 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 1 completion(s) 01:12:49,451 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 169.8 μs 01:12:49,451 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 01:12:49,591 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-0000000069E18911-1AB68356.v1 01:12:49,591 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:12:49,591 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:12:49,591 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:12:49,591 AM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: picked SnapshotFileV1{lastIncluded=EntryInfo[index=2, term=1], timestamp=2026-04-17T01:12:49.448168790Z, file=/tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-0000000069E18911-1AB68356.v1, size=573, entryCompress=NONE, stateCompress=NONE} as the latest file 01:12:49,593 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 01:12:49,604 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#636,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156]/waiting 01:12:49,604 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 153.5 ms 01:12:49,604 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 16.66 μs 01:12:49,604 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 01:12:49,604 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminated thread VirtualThread[#636,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-156]/terminated 01:12:49,604 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 01:12:49,604 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 01:12:49,604 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 01:12:49,605 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 01:12:49,605 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] MockRaftActor - Actor created TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] [WARN] [04/17/2026 01:12:49.605] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@1d30dcc9 [INFO] [pekkoDeadLetter][04/17/2026 01:12:49.606] [test-pekko.actor.default-dispatcher-13] [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'. 01:12:49,606 AM [test-pekko.actor.default-dispatcher-10] [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'. 01:12:49,606 AM [test-pekko.actor.default-dispatcher-6] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 01:12:49,606 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 01:12:49,606 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 01:12:49,607 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=4 applyTo=3 01:12:49,607 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=3 replayFrom=4 fileEntries=0 01:12:49,607 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=3 01:12:49,607 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: starting journal recovery 01:12:49,607 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 01:12:49,608 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: selected SNAPSHOT_V1 to handle file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-0000000069E18911-1AB68356.v1 01:12:49,608 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 01:12:49,608 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 01:12:49,608 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 01:12:49,608 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: picked SnapshotFileV1{lastIncluded=EntryInfo[index=2, term=1], timestamp=2026-04-17T01:12:49.448168790Z, file=/tmp/junit-15862659148500732071/testCaptureSnapshotOnMiddleEntryInAppendEntries/snapshot-0000000069E18911-1AB68356.v1, size=573, entryCompress=NONE, stateCompress=NONE} as the latest file 01:12:49,608 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: initializing from snapshot taken at 2026-04-17T01:12:49.448168790Z 01:12:49,608 AM [test-pekko.actor.default-dispatcher-6] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: support() called 01:12:49,609 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 2 01:12:49,609 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: applying entries up to 3 01:12:49,609 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 2 to 2 01:12:49,609 AM [test-pekko.actor.default-dispatcher-6] [INFO] Recovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed in in 1.457 ms: last log index = 2, last log term = 1, napshot index = 2, snapshot term = 1, journal size = 0 01:12:49,609 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed and cannot restore from snapshot 01:12:49,609 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: writer thread VirtualThread[#639,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/runnable@ForkJoinPool-8-worker-2 started 01:12:49,609 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 01:12:49,609 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 01:12:49,610 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior540#474297688] 01:12:49,610 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower541#1340149744] 01:12:49,610 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader542#432345498] 01:12:49,611 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 01:12:49,611 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#639,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/waiting 01:12:49,611 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 1.736 ms 01:12:49,611 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 12.32 μs 01:12:49,611 AM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 01:12:49,611 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminated thread VirtualThread[#639,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-157]/terminated 01:12:49,611 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 01:12:49,611 AM [test-pekko.actor.default-dispatcher-6] [INFO] EnabledRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 01:12:49,611 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 01:12:49,611 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 01:12:49,616 AM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 01:12:49,616 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:49,916 AM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 01:12:50,47 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 01:12:50,297 AM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 01:12:50,497 AM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 01:12:50,498 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior543#215593899] 01:12:50,500 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower544#984641233] 01:12:50,500 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader545#962747336] 01:12:50,505 AM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 01:12:50,506 AM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 01:12:50,506 AM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 01:12:50,506 AM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 01:12:50,507 AM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:12:50,507 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior546#-1036568071] 01:12:50,518 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower547#-964256254] 01:12:50,518 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader548#63103244] [INFO] [04/17/2026 01:12:50.519] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:12:50,519 AM [test-pekko.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [04/17/2026 01:12:50.520] [test-pekko.actor.default-dispatcher-6] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.244:17355) [INFO] [pekkoDeadLetter][04/17/2026 01:12:50.520] [test-pekko.actor.default-dispatcher-10] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#652367662] 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'. 01:12:50,521 AM [test-pekko.actor.default-dispatcher-10] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#652367662] 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] [04/17/2026 01:12:50.521] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.244:17355] - Exiting completed 01:12:50,521 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.244:17355] - Exiting completed [INFO] [04/17/2026 01:12:50.521] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.244:17355] - Shutting down... 01:12:50,521 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.244:17355] - Shutting down... [INFO] [04/17/2026 01:12:50.521] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.244:17355] - Successfully shut down 01:12:50,522 AM [test-pekko.actor.default-dispatcher-10] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.244:17355] - Successfully shut down [INFO] [04/17/2026 01:12:50.524] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.244:17355/system/remoting-terminator] Shutting down remote daemon. 01:12:50,524 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [04/17/2026 01:12:50.524] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.244:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:12:50,524 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [04/17/2026 01:12:50.526] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.244:17355/system/remoting-terminator] Remoting shut down. 01:12:50,526 AM [test-pekko.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [04/17/2026 01:12:50.527] [test-pekko.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger