[DEBUG] [07/01/2025 21:09:28.202] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 09:09:28,205 PM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/01/2025 21:09:28.205] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [07/01/2025 21:09:28.205] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [07/01/2025 21:09:28.216] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.150:17355] with UID [3360516078265674811] [INFO] [07/01/2025 21:09:28.216] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.150:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [07/01/2025 21:09:28.218] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.150:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [07/01/2025 21:09:28.218] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.150:17355] - Started up successfully [INFO] [07/01/2025 21:09:28.219] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.150:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 09:09:28,219 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.150:17355] with UID [3360516078265674811] 09:09:28,219 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.150:17355] - Starting up, Pekko version [1.0.3] ... 09:09:28,219 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.150:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 09:09:28,219 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.150:17355] - Started up successfully 09:09:28,219 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.150:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [07/01/2025 21:09:28.220] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.150:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:09:28,220 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.150:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 09:09:28,231 PM [main] [INFO] FollowerTest - Starting testHandleInstallSnapshot 09:09:28,231 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:28,323 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:09:28,323 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:28,323 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:09:28,324 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:09:28,324 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 09:09:28,324 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 1 (of expected 1) 09:09:28,324 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:09:28,324 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:09:28,327 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=2, success=true} 09:09:28,327 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior418#-1972358454] 09:09:28,338 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower419#-2003595634] 09:09:28,338 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader420#-1008016635] 09:09:28,342 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesPreviousLogEntryMissing 09:09:28,342 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:28,345 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 09:09:28,345 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 3 was not found in it - lastIndex: 2, snapshotIndex: -1, snapshotTerm: -1 09:09:28,345 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=1, success=false, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:28,346 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:09:28,346 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior421#-210923556] 09:09:28,357 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower422#-1233741775] 09:09:28,357 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader423#586710027] 09:09:28,359 PM [main] [INFO] FollowerTest - Starting testInitialSyncUpWithHandleInstallSnapshot 09:09:28,360 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:28,361 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:09:28,361 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:28,361 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:09:28,362 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:09:28,362 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=2, lastIncludedTerm=1, datasize=29, chunk=2/2, lastChunkHashCode=OptionalInt.empty} 09:09:28,363 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=2, lastChunkIndex=1, collectedChunks.size=50, lastChunkHashCode=675006801 09:09:28,363 PM [main] [INFO] Follower - follower (Follower): Snapshot received from leader: leader 09:09:28,364 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:09:28,365 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:28,366 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:28,366 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:09:28,366 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:28,367 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader and reached 101 (of expected 1) 09:09:28,367 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior424#-880996683] 09:09:28,377 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower425#-430141486] 09:09:28,378 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader426#582212062] 09:09:28,381 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:28,382 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 09:09:28,382 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior427#845999402] 09:09:28,383 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower428#-578772913] 09:09:28,383 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader429#940961117] 09:09:28,384 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:09:28,384 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:28,385 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:28,385 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:28,385 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:28,385 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:09:28,386 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:09:28,386 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:09:28,386 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:09:28,386 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:28,386 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:28,386 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:09:28,387 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:09:28,388 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior430#-1370825828] 09:09:28,388 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower431#2038525203] 09:09:28,388 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader432#175336179] 09:09:28,390 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithExistingLogEntry 09:09:28,390 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:28,390 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one]]} 09:09:28,391 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:28,391 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:09:28,391 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:09:28,391 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:09:28,391 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 1 09:09:28,391 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:28,391 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:28,391 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:09:28,391 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:09:28,391 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:28,391 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:09:28,391 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:09:28,392 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=1, command=one], DefaultLogEntry[index=2, term=1, command=two]]} 09:09:28,392 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:09:28,392 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=1, term=1, command=one] is present: existingEntryTerm: 1 09:09:28,392 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 09:09:28,392 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two 09:09:28,392 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:09:28,392 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:09:28,392 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:28,392 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached 2 (of expected 1) 09:09:28,392 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:09:28,392 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:09:28,392 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:09:28,393 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior433#-2018476745] 09:09:28,393 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower434#-89167013] 09:09:28,393 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader435#-1466919504] 09:09:28,394 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogTermNotSameAsReceiverPrevLogTerm 09:09:28,394 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:28,395 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=0, prevLogTerm=2, leaderCommit=101, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:09:28,395 PM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:28,395 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:28,396 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 101 09:09:28,396 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior436#979105272] 09:09:28,396 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower437#764324504] 09:09:28,396 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader438#2109006296] 09:09:28,397 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:28,399 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior439#2126755327] 09:09:28,400 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower440#-2034622423] 09:09:28,400 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader441#-371880582] 09:09:28,401 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWithNewerCommitIndex 09:09:28,401 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:28,401 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:09:28,401 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:28,402 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:28,402 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:28,402 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:09:28,402 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:09:28,402 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:09:28,402 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:09:28,402 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:28,402 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:28,402 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 100, lastIndex(): 101 09:09:28,402 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 101 09:09:28,402 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 100 to 101 09:09:28,402 PM [main] [DEBUG] SnapshotManager - follower: fakeSnapshot purging log to 100 for term 2 09:09:28,403 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior442#264496629] 09:09:28,403 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower443#1512705226] 09:09:28,403 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader444#-803704215] 09:09:28,404 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnLastEntryInAppendEntries [WARN] [07/01/2025 21:09:28.406] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@39d04d8 [INFO] [pekkoDeadLetter][07/01/2025 21:09:28.406] [test-pekko.actor.default-dispatcher-11] [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'. 09:09:28,406 PM [test-pekko.actor.default-dispatcher-11] [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'. 09:09:28,407 PM [test-pekko.actor.default-dispatcher-7] [INFO] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Starting recovery with journal batch size 1000 09:09:28,407 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:09:28,407 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: started executor 09:09:28,408 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:09:28,408 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:09:28,408 PM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal open: applyTo=0 09:09:28,408 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer started 09:09:28,408 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:09:28,410 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties does not exist 09:09:28,410 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:28,410 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:28,411 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:28,411 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:09:28,411 PM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:09:28,415 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnLastEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:09:28,415 PM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:09:28,415 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@16b90e11 09:09:28,415 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to -1 09:09:28,415 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: empty journal: appending 0 entries 09:09:28,416 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 09:09:28,416 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnLastEntryInAppendEntries: journal recovery completedin 844.1 μs with journalIndex=1 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [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]]} 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Number of entries to be appended = 2 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log one 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Append entry to log two 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Log size is now 2 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Commit index set to 1 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [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} 09:09:28,418 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnLastEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 1 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 0 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from -1 to 0 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 0 data one 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: one 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnLastEntryInAppendEntries (Follower): Setting last applied to 1 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnLastEntryInAppendEntries: Moving last applied index from 0 to 1 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: Applying state for log index 1 data two 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnLastEntryInAppendEntries: applyState called: two [WARN] [07/01/2025 21:09:28.419] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnLastEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/01/2025 21:09:28.419] [test-pekko.actor.default-dispatcher-7] [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'. 09:09:28,419 PM [test-pekko.actor.default-dispatcher-7] [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'. 09:09:28,419 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 3 commands after 10.65 ms 09:09:28,424 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=2] 09:09:28,424 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: 3 completion(s) pending 09:09:28,424 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 3 commands in 4.929 ms 09:09:28,424 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: waiting to receive commands 09:09:28,424 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnLastEntryInAppendEntries: running 3 completion(s) 09:09:28,424 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:09:28,424 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnLastEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:09:28,570 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:28,570 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:28,570 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:28,571 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:28,667 PM [test-pekko.actor.default-dispatcher-7] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:09:28,672 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:28,672 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:28,672 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:28,672 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:28,772 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:28,773 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:28,773 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:28,773 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:28,873 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:28,873 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:28,873 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:28,873 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:28,974 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:28,974 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:28,974 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:28,974 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,75 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,75 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,75 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,75 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,176 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,176 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,176 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,176 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,277 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,277 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,277 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,277 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,377 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,377 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,377 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,377 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,478 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,478 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,478 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,478 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,579 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,579 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,579 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,579 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,680 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,680 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,680 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,680 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,780 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,780 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,780 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,780 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,881 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,881 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,881 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,881 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:29,982 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:29,982 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:29,982 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:29,982 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:30,83 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:30,83 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:30,83 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:30,83 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:30,184 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:30,184 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:30,184 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:30,184 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:30,285 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:30,285 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:30,285 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:30,285 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:30,386 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/TermInfo.properties 09:09:30,386 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/journal-v1-1.log 09:09:30,386 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest12589961739912494178/testCaptureSnapshotOnLastEntryInAppendEntries/metadata-v1-1.log 09:09:30,386 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: no eligible files found 09:09:30,491 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior445#-517543169] 09:09:30,502 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower446#806599857] 09:09:30,502 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader447#763577094] 09:09:30,502 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnLastEntryInAppendEntries] 09:09:30,502 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: terminating thread VirtualThread[#834,testCaptureSnapshotOnLastEntryInAppendEntries-writer-153]/waiting 09:09:30,503 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: received 1 commands after 2.078 s 09:09:30,503 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: completed 1 commands in 42.59 μs 09:09:30,503 PM [testCaptureSnapshotOnLastEntryInAppendEntries-writer-153] [DEBUG] JournalWriteTask - testCaptureSnapshotOnLastEntryInAppendEntries: journal writer stopped 09:09:30,503 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:09:30,503 PM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: journal closed 09:09:30,503 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:09:30,503 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnLastEntryInAppendEntries: stopped executor with 0 remaining tasks 09:09:30,508 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,509 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior448#1504377720] 09:09:30,520 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower449#1521377313] 09:09:30,520 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader450#1603681287] 09:09:30,524 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNotTheSameAsCandidateId 09:09:30,525 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,526 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=candidate, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: test, lastIndex: 1, lastTerm: 1 09:09:30,528 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:09:30,529 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior451#1379315598] 09:09:30,540 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower452#-1997482542] 09:09:30,540 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader453#-1393703610] 09:09:30,543 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInSnapshot 09:09:30,543 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,544 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:30,544 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:30,544 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:30,545 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:09:30,545 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:09:30,545 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:09:30,545 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:09:30,545 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:30,545 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:30,545 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:09:30,545 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:09:30,546 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior454#-311974150] 09:09:30,547 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower455#-1750390295] 09:09:30,548 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader456#-540340766] 09:09:30,549 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedBeforeSyncUpComplete 09:09:30,549 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,550 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:30,550 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:30,551 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:30,551 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:30,552 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:30,552 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 100 09:09:30,553 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:30,554 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 09:09:30,555 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:30,555 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:09:30,555 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior457#381975915] 09:09:30,556 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower458#-801302443] 09:09:30,556 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader459#2035006096] 09:09:30,558 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,558 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior460#-1490124658] 09:09:30,558 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower461#-272171683] 09:09:30,558 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader462#-1618108595] 09:09:30,560 PM [main] [INFO] FollowerTest - Starting testHandleSyncUpAppendEntries 09:09:30,560 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,560 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:30,560 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:30,561 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:30,561 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:30,561 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:30,561 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:09:30,561 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:30,562 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:09:30,562 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:30,562 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:09:30,562 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:30,562 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:09:30,563 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:30,563 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:09:30,563 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior463#1807183483] 09:09:30,563 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower464#-179027078] 09:09:30,564 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader465#361086587] 09:09:30,565 PM [main] [INFO] FollowerTest - Starting testHandleAppendAfterInstallingSnapshot 09:09:30,565 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,565 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=3, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=4, term=1, command=four]]} 09:09:30,566 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:30,566 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 09:09:30,566 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:09:30,566 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:09:30,566 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:09:30,566 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:30,566 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 4 09:09:30,566 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:09:30,566 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 4 09:09:30,566 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior466#1637696171] 09:09:30,567 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower467#323357602] 09:09:30,567 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader468#-1309343928] 09:09:30,568 PM [main] [INFO] FollowerTest - Starting testNeedsLeaderAddress 09:09:30,568 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,569 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:09:30,570 PM [main] [DEBUG] Follower - New leader address: pekko://test/user/leader471 09:09:30,570 PM [main] [INFO] PeerInfos - follower: Peer address for peer leader set to pekko://test/user/leader471 09:09:30,571 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 0 entries behind leader leader and reached -1 (of expected -1) 09:09:30,571 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior469#-1619908719] 09:09:30,572 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower470#1944610315] 09:09:30,572 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader471#86808966] 09:09:30,573 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntriesWithPrevIndexMinusOneAndReplicatedToAllIndexPresentInLog 09:09:30,573 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,574 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:30,574 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:30,574 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:30,574 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 100, entries to be added from: 0 09:09:30,574 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log foo 09:09:30,574 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 2 09:09:30,574 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 101 09:09:30,574 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=101, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:30,575 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:30,575 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 101, context.getLastApplied(): 1, lastIndex(): 101 09:09:30,575 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 2 from log. Cannot apply state. Ignoring 2 to 101 09:09:30,575 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior472#-1222838685] 09:09:30,576 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower473#461656043] 09:09:30,576 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader474#-269502484] 09:09:30,577 PM [main] [INFO] FollowerTest - Starting testHandleFirstAppendEntries 09:09:30,577 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:30,578 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:30,578 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:30,578 PM [main] [INFO] Follower - follower (Follower): Cannot append entries because the replicatedToAllIndex 100 does not appear to be in the in-memory journal - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:30,578 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:30,578 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:30,579 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior475#1505808953] 09:09:30,579 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower476#648388906] 09:09:30,579 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader477#-1278257784] 09:09:30,580 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnAppendEntriesWithUnapplied [WARN] [07/01/2025 21:09:30.581] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied]: org.opendaylight.controller.cluster.common.actor.Monitor@1c2c9b5a [INFO] [pekkoDeadLetter][07/01/2025 21:09:30.581] [test-pekko.actor.default-dispatcher-7] [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'. 09:09:30,581 PM [test-pekko.actor.default-dispatcher-11] [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'. 09:09:30,581 PM [test-pekko.actor.default-dispatcher-12] [INFO] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Starting recovery with journal batch size 1000 09:09:30,581 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 09:09:30,582 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: started executor 09:09:30,582 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: metadata journal open: replayFrom=1 applyTo=0 09:09:30,582 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:09:30,582 PM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal open: applyTo=0 09:09:30,582 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer started 09:09:30,582 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 09:09:30,584 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties does not exist 09:09:30,584 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:30,584 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:30,584 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:30,584 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:09:30,584 PM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:09:30,588 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnAppendEntriesWithUnapplied: Set currentTerm=1, votedFor=null 09:09:30,588 PM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: Local TermInfo store seeded with TermInfo{term=1} 09:09:30,588 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@7f2e5fe1 09:09:30,588 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to -1 09:09:30,588 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: empty journal: appending 0 entries 09:09:30,588 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=0] 09:09:30,588 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] JournalRecovery - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal recovery completedin 191.7 μs with journalIndex=1 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [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]]} 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Number of entries to be appended = 3 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log one 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log two 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Append entry to log three 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Log size is now 3 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Commit index set to 0 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [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} 09:09:30,589 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 6.390 ms 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnAppendEntriesWithUnapplied: Last sync leader does not match current leader leader, need to catch up to 0 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] Follower - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 2 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnAppendEntriesWithUnapplied (Follower): Setting last applied to 0 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnAppendEntriesWithUnapplied: Moving last applied index from -1 to 0 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] RaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: Applying state for log index 0 data one 09:09:30,589 PM [test-pekko.actor.default-dispatcher-11] [INFO] MockRaftActor - testCaptureSnapshotOnAppendEntriesWithUnapplied: applyState called: one [WARN] [07/01/2025 21:09:30.589] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnAppendEntriesWithUnapplied, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/01/2025 21:09:30.589] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:30,590 PM [test-pekko.actor.default-dispatcher-12] [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'. 09:09:30,594 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 09:09:30,594 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 5.516 ms 09:09:30,594 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 2 commands after 2.840 μs 09:09:30,594 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 09:09:30,594 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:09:30,595 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:09:30,595 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: updated meta to JournalMeta[replayFrom=1, applyTo=1] 09:09:30,595 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: 2 completion(s) pending 09:09:30,595 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 2 commands in 847.4 μs 09:09:30,595 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: waiting to receive commands 09:09:30,595 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnAppendEntriesWithUnapplied: running 2 completion(s) 09:09:30,595 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnAppendEntriesWithUnapplied: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:09:30,742 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:30,742 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:30,742 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:30,742 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:30,842 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:30,843 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:30,843 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:30,843 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:30,906 PM [test-pekko.actor.default-dispatcher-6] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:09:30,944 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:30,944 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:30,944 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:30,944 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,44 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,44 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,44 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,44 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,145 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,145 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,145 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,145 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,245 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,245 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,245 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,245 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,346 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,346 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,346 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,346 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,447 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,447 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,447 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,447 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,547 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,548 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,548 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,548 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,648 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,649 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,649 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,649 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,749 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,749 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,749 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,749 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,850 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,850 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,850 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,850 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:31,950 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:31,950 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:31,950 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:31,950 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:32,51 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:32,51 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:32,51 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:32,51 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:32,152 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:32,152 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:32,152 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:32,152 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:32,253 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:32,253 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:32,253 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:32,253 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:32,353 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:32,353 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:32,353 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:32,353 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:32,454 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:32,454 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:32,454 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:32,454 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:32,554 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/TermInfo.properties 09:09:32,555 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/journal-v1-1.log 09:09:32,555 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest770549104669505473/testCaptureSnapshotOnAppendEntriesWithUnapplied/metadata-v1-1.log 09:09:32,555 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: no eligible files found 09:09:32,656 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior478#2100684881] 09:09:32,660 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower479#480552077] 09:09:32,660 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader480#68944080] 09:09:32,660 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnAppendEntriesWithUnapplied] 09:09:32,660 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: terminating thread VirtualThread[#837,testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154]/waiting 09:09:32,660 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: received 1 commands after 2.065 s 09:09:32,661 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: completed 1 commands in 52.19 μs 09:09:32,661 PM [testCaptureSnapshotOnAppendEntriesWithUnapplied-writer-154] [DEBUG] JournalWriteTask - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal writer stopped 09:09:32,661 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:09:32,661 PM [test-pekko.actor.default-dispatcher-12] [INFO] PekkoRaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: journal closed 09:09:32,661 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:09:32,661 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] RaftStorage - testCaptureSnapshotOnAppendEntriesWithUnapplied: stopped executor with 0 remaining tasks 09:09:32,665 PM [main] [INFO] FollowerTest - Starting testFirstAppendEntriesWithNoPrevIndexAndReplicatedToAllPresentInSnapshotButCalculatedPrevEntryMissing 09:09:32,666 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:32,666 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:32,667 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=105, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=105, term=2, command=foo]]} 09:09:32,668 PM [main] [INFO] Follower - follower (Follower): Cannot append entries because the calculated previousIndex 104 was not found in the in-memory journal - lastIndex: 100, snapshotIndex: 100, snapshotTerm: -1 09:09:32,668 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:32,668 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 105 09:09:32,669 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior481#-1772993604] 09:09:32,679 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower482#982616589] 09:09:32,680 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader483#1139864114] 09:09:32,681 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesSenderPrevLogIndexIsInTheSnapshot 09:09:32,682 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:32,682 PM [main] [INFO] Follower - follower (Follower): Term 3 in "AppendEntries{term=3, leaderId=leader, prevLogIndex=1, prevLogTerm=3, leaderCommit=8, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:09:32,683 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 7 09:09:32,684 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 8 09:09:32,684 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): -1, lastIndex(): 7 09:09:32,684 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 0 from log. Cannot apply state. Ignoring 0 to 8 09:09:32,684 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior484#179201681] 09:09:32,695 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower485#-1376345664] 09:09:32,695 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader486#-1049984990] 09:09:32,697 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesCorrectReceiverLogEntries 09:09:32,697 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:32,698 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 09:09:32,699 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 09:09:32,699 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:09:32,699 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:09:32,699 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:32,699 PM [main] [INFO] Follower - follower (Follower): Removing entries from log starting at 2, commitIndex: -1, lastApplied: -1 09:09:32,699 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:09:32,699 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log two-1 09:09:32,699 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:09:32,699 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 4 09:09:32,699 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 3 09:09:32,699 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:32,700 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:09:32,700 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): -1, lastIndex(): 3 09:09:32,700 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:09:32,700 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:32,700 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:09:32,700 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:09:32,700 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:09:32,700 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:09:32,700 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:09:32,701 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:09:32,701 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior487#-1808014570] 09:09:32,712 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower488#1696013181] 09:09:32,712 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader489#1768580786] 09:09:32,714 PM [main] [INFO] FollowerTest - Starting testHandleOutOfSequenceInstallSnapshot 09:09:32,714 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:32,715 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=3, lastIncludedTerm=1, datasize=50, chunk=3/3, lastChunkHashCode=OptionalInt.empty} 09:09:32,715 PM [main] [DEBUG] Follower - follower (Follower): expected chunkIndex 1 got 3 09:09:32,716 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior490#-580116927] 09:09:32,726 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower491#779324779] 09:09:32,726 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader492#1556270759] 09:09:32,728 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshotFromDifferentLeader 09:09:32,728 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:32,729 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:09:32,731 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:32,731 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:09:32,731 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:09:32,732 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]}" message is greater than follower's term 1 - updating term 09:09:32,732 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=new-leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=3]]} 09:09:32,732 PM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress but the prior snapshot leaderId leader does not match the AppendEntries leaderId new-leader 09:09:32,732 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:32,732 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 09:09:32,733 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log 3 09:09:32,733 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 3 09:09:32,733 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 2 09:09:32,733 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:32,733 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader new-leader, need to catch up to 2 09:09:32,733 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 09:09:32,734 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:09:32,734 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:09:32,734 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior493#-919361640] 09:09:32,745 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower494#-285121492] 09:09:32,745 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader495#1288082793] 09:09:32,747 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesLeaderChangedAfterSyncUpComplete 09:09:32,747 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:32,748 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]}" message is greater than follower's term 1 - updating term 09:09:32,748 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=100, prevLogTerm=1, leaderCommit=101, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:32,748 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 100 was not found in it - lastIndex: 1, snapshotIndex: -1, snapshotTerm: -1 09:09:32,749 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:32,749 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 101 09:09:32,749 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 101 09:09:32,750 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=101, prevLogTerm=1, leaderCommit=102, replicatedToAllIndex=101, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:32,750 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 101 was not found in it - lastIndex: 101, snapshotIndex: -1, snapshotTerm: -1 09:09:32,750 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=101, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:32,751 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging 1 entries behind leader leader-1 and reached 101 (of expected 101) 09:09:32,751 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 100 09:09:32,751 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-2, prevLogIndex=45, prevLogTerm=1, leaderCommit=46, replicatedToAllIndex=100, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=101, term=2, command=foo]]} 09:09:32,751 PM [main] [INFO] Follower - follower (Follower): The log is not empty but the prevLogIndex 45 was not found in it - lastIndex: 100, snapshotIndex: -1, snapshotTerm: -1 09:09:32,751 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=2, success=false, followerId=follower, logLastIndex=100, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:32,752 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-2, need to catch up to 46 09:09:32,752 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior496#-1078994923] 09:09:32,762 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower497#-1090815230] 09:09:32,762 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader498#-1317722610] 09:09:32,765 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenNoLeaderMessageReceived 09:09:32,765 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:32,965 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:32,965 PM [main] [DEBUG] Follower - follower (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.150:17355, Removed) 09:09:32,965 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout - switching to Candidate 09:09:32,966 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:09:32,966 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:09:32,966 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:09:32,966 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior499#-1172317614] 09:09:32,977 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower500#2058356593] 09:09:32,977 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader501#1078534239] 09:09:32,980 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:32,980 PM [main] [DEBUG] PeerInfos - follower: Updated server config: isVoting: false, peers: [] 09:09:33,131 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:33,131 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior502#1168049121] 09:09:33,142 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower503#-1213557373] 09:09:33,142 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader504#269501317] 09:09:33,144 PM [main] [INFO] FollowerTest - Starting testHandleRequestVoteWhenSenderTermEqualToCurrentTermAndVotedForIsNull 09:09:33,144 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:33,145 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1000, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 09:09:33,145 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=true} 09:09:33,146 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior505#-880456327] 09:09:33,156 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower506#-1148491810] 09:09:33,156 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader507#-1739526930] 09:09:33,157 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesAddNewEntries 09:09:33,158 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:33,159 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader-1, prevLogIndex=2, prevLogTerm=1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=10, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=3, term=1, command=three], DefaultLogEntry[index=4, term=1, command=four]]} 09:09:33,160 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:09:33,160 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 09:09:33,160 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log three 09:09:33,160 PM [main] [DEBUG] Follower - follower (Follower): Append entry to log four 09:09:33,160 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 5 09:09:33,160 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 4 09:09:33,160 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:33,160 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 4 09:09:33,160 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): -1, lastIndex(): 4 09:09:33,161 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:09:33,161 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:33,161 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 1 09:09:33,161 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 0 to 1 09:09:33,161 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 2 09:09:33,161 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 1 to 2 09:09:33,161 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 3 09:09:33,161 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 2 to 3 09:09:33,161 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 4 09:09:33,161 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from 3 to 4 09:09:33,162 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior508#107386925] 09:09:33,172 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower509#1654305472] 09:09:33,172 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader510#1461871283] 09:09:33,175 PM [main] [INFO] FollowerTest - Starting testReceivingAppendEntriesDuringInstallSnapshot 09:09:33,175 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:33,176 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot: InstallSnapshot{term=1, leaderId=leader, lastIncludedIndex=1, lastIncludedTerm=1, datasize=50, chunk=1/2, lastChunkHashCode=OptionalInt.empty} 09:09:33,176 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 1 09:09:33,176 PM [main] [DEBUG] SnapshotTracker - follower (Follower): addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 09:09:33,177 PM [main] [DEBUG] Follower - follower (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=1, followerId=follower, chunkIndex=1, success=true} 09:09:33,178 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=1, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=1, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=1, term=2, command=3]]} 09:09:33,178 PM [main] [DEBUG] Follower - follower (Follower): snapshot install is in progress, replying immediately with AppendEntriesReply{term=1, success=true, followerId=follower, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:33,179 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior511#-1050165394] 09:09:33,190 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower512#-696057389] 09:09:33,190 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader513#490361073] 09:09:33,192 PM [main] [INFO] FollowerTest - Starting testHandleAppendEntriesWhenOutOfSyncLogDetectedRequestForceInstallSnapshot 09:09:33,192 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:33,193 PM [main] [INFO] Follower - follower (Follower): Term 2 in "AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]}" message is greater than follower's term 1 - updating term 09:09:33,194 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader, prevLogIndex=1, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[DefaultLogEntry[index=2, term=2, command=two-1], DefaultLogEntry[index=3, term=2, command=three]]} 09:09:33,194 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 2 09:09:33,194 PM [main] [DEBUG] Follower - follower (Follower): matchEntry DefaultLogEntry[index=2, term=2, command=two-1] is present: existingEntryTerm: 1 09:09:33,195 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to 3 09:09:33,195 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior514#-1499691946] 09:09:33,206 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower515#-1046627161] 09:09:33,206 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader516#-21361771] 09:09:33,208 PM [main] [INFO] FollowerTest - Starting testCaptureSnapshotOnMiddleEntryInAppendEntries 09:09:33,209 PM [test-pekko.actor.default-dispatcher-6] [INFO] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Starting recovery with journal batch size 1000 09:09:33,209 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor 09:09:33,209 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: started executor [WARN] [07/01/2025 21:09:33.209] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries]: org.opendaylight.controller.cluster.common.actor.Monitor@a852bac [INFO] [pekkoDeadLetter][07/01/2025 21:09:33.209] [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'. 09:09:33,209 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: metadata journal open: replayFrom=1 applyTo=0 09:09:33,209 PM [test-pekko.actor.default-dispatcher-7] [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'. 09:09:33,210 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: firstIndex=1 lastIndex=0 replayFrom=1 fileEntries=0 09:09:33,210 PM [test-pekko.actor.default-dispatcher-6] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal open: applyTo=0 09:09:33,210 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer started 09:09:33,210 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:09:33,211 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] PropertiesTermInfoStore - /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties does not exist 09:09:33,211 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:33,211 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:33,211 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:33,211 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:09:33,211 PM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 09:09:33,216 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] PropertiesTermInfoStore - testCaptureSnapshotOnMiddleEntryInAppendEntries: Set currentTerm=1, votedFor=null 09:09:33,216 PM [test-pekko.actor.default-dispatcher-7] [INFO] PekkoRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: Local TermInfo store seeded with TermInfo{term=1} 09:09:33,216 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Pekko recovery completed with org.opendaylight.controller.cluster.raft.RecoveryLog@c18754a 09:09:33,216 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to -1 09:09:33,216 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: empty journal: appending 0 entries 09:09:33,216 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=0] 09:09:33,216 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] JournalRecovery - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal recovery completedin 279.0 μs with journalIndex=1 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [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]]} 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Number of entries to be appended = 3 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log one 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=0, term=1, command=one] 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log two 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=1, term=1, command=two] 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Append entry to log three 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: Append log entry and persist DefaultLogEntry[index=2, term=1, command=three] 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Log size is now 3 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Commit index set to 2 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [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} 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - testCaptureSnapshotOnMiddleEntryInAppendEntries: Last sync leader does not match current leader leader, need to catch up to 2 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] Follower - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 0 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from -1 to 0 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 0 data one 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: one 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 1 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 0 to 1 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 1 data two 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: two 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActorBehavior - testCaptureSnapshotOnMiddleEntryInAppendEntries (Follower): Setting last applied to 2 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractReplicatedLog - testCaptureSnapshotOnMiddleEntryInAppendEntries: Moving last applied index from 1 to 2 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [DEBUG] RaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: Applying state for log index 2 data three 09:09:33,217 PM [test-pekko.actor.default-dispatcher-7] [INFO] MockRaftActor - testCaptureSnapshotOnMiddleEntryInAppendEntries: applyState called: three [WARN] [07/01/2025 21:09:33.217] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] unhandled message from Actor[pekko://test/deadLetters]: FollowerInitialSyncUpStatus[memberId=testCaptureSnapshotOnMiddleEntryInAppendEntries, initialSyncDone=false] [INFO] [pekkoDeadLetter][07/01/2025 21:09:33.217] [test-pekko.actor.default-dispatcher-7] [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'. 09:09:33,217 PM [test-pekko.actor.default-dispatcher-12] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 09:09:33,217 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 4 commands after 7.519 ms 09:09:33,224 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: updated meta to JournalMeta[replayFrom=1, applyTo=3] 09:09:33,224 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: 4 completion(s) pending 09:09:33,224 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 4 commands in 6.724 ms 09:09:33,224 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: waiting to receive commands 09:09:33,224 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorageCompleter - testCaptureSnapshotOnMiddleEntryInAppendEntries: running 4 completion(s) 09:09:33,224 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=0, term=1, command=one, pending=false} 09:09:33,224 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=1, term=1, command=two, pending=false} 09:09:33,224 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] ReplicatedLogImpl - testCaptureSnapshotOnMiddleEntryInAppendEntries: persist complete JournaledLogEntry{index=2, term=1, command=three, pending=false} 09:09:33,369 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:33,369 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:33,369 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:33,369 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:33,469 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:33,469 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:33,469 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:33,470 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:33,517 PM [test-pekko.actor.default-dispatcher-7] [INFO] DefaultConfigParamsImpl - Trying to use custom RaftPolicy org.opendaylight.controller.cluster.raft.policy.DisableElectionsRaftPolicy 09:09:33,570 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:33,570 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:33,570 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:33,570 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:33,671 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:33,671 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:33,671 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:33,671 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:33,772 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:33,772 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:33,772 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:33,772 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:33,872 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:33,872 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:33,872 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:33,872 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:33,973 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:33,973 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:33,973 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:33,973 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,74 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,74 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,74 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,74 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,175 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,175 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,175 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,175 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,275 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,275 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,275 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,275 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,376 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,376 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,376 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,376 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,476 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,476 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,476 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,476 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,577 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,577 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,577 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,577 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,677 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,677 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,677 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,677 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,778 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,778 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,778 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,778 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,879 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,879 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,879 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,879 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:34,979 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:34,979 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:34,979 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:34,980 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:35,80 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:35,80 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:35,80 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:35,80 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:35,181 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/TermInfo.properties 09:09:35,181 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/journal-v1-1.log 09:09:35,181 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: skipping unrecognized file /tmp/org.opendaylight.controller.cluster.raft.behaviors.FollowerTest2608939287602676555/testCaptureSnapshotOnMiddleEntryInAppendEntries/metadata-v1-1.log 09:09:35,181 PM [awaitility-thread] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: no eligible files found 09:09:35,282 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior517#-1086838472] 09:09:35,284 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower518#-1673112406] 09:09:35,284 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader519#342000717] 09:09:35,284 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/testCaptureSnapshotOnMiddleEntryInAppendEntries] 09:09:35,284 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: terminating thread VirtualThread[#839,testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155]/waiting 09:09:35,285 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: received 1 commands after 2.061 s 09:09:35,285 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: completed 1 commands in 31.97 μs 09:09:35,285 PM [testCaptureSnapshotOnMiddleEntryInAppendEntries-writer-155] [DEBUG] JournalWriteTask - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal writer stopped 09:09:35,285 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] EntryJournalV1 - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:09:35,285 PM [test-pekko.actor.default-dispatcher-15] [INFO] PekkoRaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: journal closed 09:09:35,285 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:09:35,285 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] RaftStorage - testCaptureSnapshotOnMiddleEntryInAppendEntries: stopped executor with 0 remaining tasks 09:09:35,288 PM [main] [INFO] FollowerTest - Starting testHandleElectionTimeoutWhenLeaderMessageReceived 09:09:35,288 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:35,589 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader, need to catch up to -1 09:09:35,719 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:35,719 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 130 < election timeout PT0.4S 09:09:35,970 PM [main] [DEBUG] SyncStatusTracker - follower: Lagging -2 entries behind leader leader and reached 1 (of expected -1) 09:09:36,170 PM [main] [DEBUG] Follower - follower (Follower): Received ElectionTimeout but lastLeaderMessageInterval 200 < election timeout PT0.4S 09:09:36,170 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior520#870259054] 09:09:36,181 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower521#-430802319] 09:09:36,181 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader522#1216267608] 09:09:36,183 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:36,183 PM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 09:09:36,183 PM [main] [DEBUG] Follower - follower (Follower): Received TimeoutNow - switching to Candidate 09:09:36,183 PM [main] [DEBUG] Candidate - follower (Candidate): Election: Candidate has following voting peers: [] 09:09:36,183 PM [main] [INFO] Candidate - follower (Candidate): Starting new election term 2 09:09:36,183 PM [main] [INFO] RaftActorBehavior - follower (Follower) :- Switching from behavior Follower to Candidate, election term: 2 09:09:36,184 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior523#45543935] 09:09:36,194 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower524#-1237529400] 09:09:36,194 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader525#1167180937] 09:09:36,196 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:36,196 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 09:09:36,197 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 09:09:36,197 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior526#-1315147950] 09:09:36,207 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower527#-1908007097] 09:09:36,207 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader528#-1125694193] 09:09:36,209 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:36,210 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 09:09:36,210 PM [main] [DEBUG] Follower - follower (Follower): Number of entries to be appended = 1 09:09:36,210 PM [main] [DEBUG] Follower - follower (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 09:09:36,210 PM [main] [DEBUG] Follower - follower (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 09:09:36,210 PM [main] [DEBUG] Follower - follower (Follower): Log size is now 1 09:09:36,210 PM [main] [DEBUG] Follower - follower (Follower): Commit index set to 0 09:09:36,210 PM [main] [DEBUG] Follower - follower (Follower): handleAppendEntries returning : AppendEntriesReply{term=2, success=true, followerId=follower, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:36,210 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 2 09:09:36,210 PM [main] [DEBUG] Follower - follower (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 0 09:09:36,210 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Setting last applied to 0 09:09:36,210 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:36,210 PM [main] [WARN] RaftActorBehavior - follower (Follower): Missing index 1 from log. Cannot apply state. Ignoring 1 to 2 09:09:36,210 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior529#510973310] 09:09:36,221 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower530#-639778111] 09:09:36,221 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader531#329019057] 09:09:36,223 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:36,223 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 09:09:36,224 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 09:09:36,224 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior532#1347678382] 09:09:36,234 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower533#902416524] 09:09:36,234 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader534#719771303] 09:09:36,236 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:36,236 PM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 1 - updating term 09:09:36,237 PM [main] [INFO] Follower - follower (Follower): The prevLogIndex 0 was found in the log but the term 1 is not equal to the append entries prevLogTerm 0 - lastIndex: 0, snapshotIndex: -1, snapshotTerm: -1 09:09:36,237 PM [main] [INFO] Follower - follower (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=100, success=false, followerId=follower, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 09:09:36,237 PM [main] [DEBUG] SyncStatusTracker - follower: Last sync leader does not match current leader leader-1, need to catch up to 1 09:09:36,237 PM [main] [INFO] Follower - follower (Follower): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than follower's term 1 - updating term 09:09:36,238 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 09:09:36,238 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Cluster state: [] 09:09:36,238 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 09:09:36,238 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than follower's term 1 - updating term 09:09:36,238 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} - currentTerm: 100, votedFor: null, lastIndex: 0, lastTerm: 1 09:09:36,239 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=100, voteGranted=true} 09:09:36,239 PM [main] [INFO] Follower - follower (Follower): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than follower's term 1 - updating term 09:09:36,240 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior535#-401097424] 09:09:36,250 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower536#-1426836672] 09:09:36,250 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader537#-1094413960] 09:09:36,252 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:36,252 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:36,253 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 0 09:09:36,253 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:36,253 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 0 for term 1 09:09:36,253 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:09:36,253 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:09:36,254 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 2 09:09:36,254 PM [main] [DEBUG] SnapshotManager - test: fakeSnapshot purging log to 1 for term 1 09:09:36,254 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior538#2081113205] 09:09:36,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower539#289149726] 09:09:36,265 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader540#-503457944] 09:09:36,268 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:36,269 PM [main] [INFO] RaftActorBehavior - follower (Follower): Cannot append entries because sender's term 100 is less than 1000 09:09:36,269 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior541#-1984897569] 09:09:36,280 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower542#1292914516] 09:09:36,280 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader543#-460253482] 09:09:36,283 PM [main] [DEBUG] AbstractReplicatedLog - : Moving last applied index from -1 to 1 09:09:36,286 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 09:09:36,286 PM [main] [DEBUG] RaftActorBehavior - follower (Follower): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 09:09:36,286 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior544#1679239518] 09:09:36,297 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower545#1012814755] 09:09:36,297 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader546#-1133455492] [INFO] [07/01/2025 21:09:36.298] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 09:09:36,298 PM [test-pekko.actor.default-dispatcher-15] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [07/01/2025 21:09:36.300] [test-pekko.actor.default-dispatcher-7] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.150:17355) [INFO] [pekkoDeadLetter][07/01/2025 21:09:36.300] [test-pekko.actor.default-dispatcher-15] [pekko://test/system/cluster/core/daemon] Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#936560289] was unhandled. [7] 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'. 09:09:36,300 PM [test-pekko.actor.default-dispatcher-15] [INFO] LocalActorRef - pekkoDeadLetter Message [org.apache.pekko.cluster.ClusterUserAction$Leave] to Actor[pekko://test/system/cluster/core/daemon#936560289] was unhandled. [7] 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'. 09:09:36,301 PM [test-pekko.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.150:17355] - Exiting completed 09:09:36,301 PM [test-pekko.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.150:17355] - Shutting down... 09:09:36,301 PM [test-pekko.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.150:17355] - Successfully shut down [INFO] [07/01/2025 21:09:36.300] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.150:17355] - Exiting completed [INFO] [07/01/2025 21:09:36.300] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.150:17355] - Shutting down... [INFO] [07/01/2025 21:09:36.300] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.150:17355] - Successfully shut down 09:09:36,303 PM [test-pekko.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 09:09:36,303 PM [test-pekko.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [07/01/2025 21:09:36.302] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.150:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [07/01/2025 21:09:36.303] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.150:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 09:09:36,305 PM [test-pekko.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [07/01/2025 21:09:36.305] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.150:17355/system/remoting-terminator] Remoting shut down. [DEBUG] [07/01/2025 21:09:36.305] [test-pekko.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger