[DEBUG] [01/30/2025 00:07:23.079] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 12:07:23,81 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [01/30/2025 00:07:23.081] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [01/30/2025 00:07:23.081] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [01/30/2025 00:07:25.538] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.114:17355] with UID [3144708921839801182] 12:07:25,538 AM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.114:17355] with UID [3144708921839801182] [INFO] [01/30/2025 00:07:25.539] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.114:17355] - Starting up, Pekko version [1.0.3] ... 12:07:25,539 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.114:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [01/30/2025 00:07:25.542] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.114:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [01/30/2025 00:07:25.542] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.114:17355] - Started up successfully 12:07:25,542 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.114:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 12:07:25,542 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.114:17355] - Started up successfully [INFO] [01/30/2025 00:07:25.542] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.114:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [01/30/2025 00:07:25.542] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.114:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 12:07:25,543 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.114:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 12:07:25,543 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.114:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 12:07:25,557 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries starting: sending 2 new payloads [WARN] [01/30/2025 00:07:25.561] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower766]: org.opendaylight.controller.cluster.common.actor.Monitor@1d906dc5 [INFO] [pekkoDeadLetter][01/30/2025 00:07:25.561] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower766] 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'. 12:07:25,561 AM [test-pekko.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower766] 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'. 12:07:25,564 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower766 with journal batch size 1000 [WARN] [01/30/2025 00:07:25.565] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower767]: org.opendaylight.controller.cluster.common.actor.Monitor@7a507511 [INFO] [pekkoDeadLetter][01/30/2025 00:07:25.565] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower767] to Actor[pekko://test/user/termination-monitor] was not delivered. [2] 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'. 12:07:25,565 AM [test-pekko.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower767] to Actor[pekko://test/user/termination-monitor] was not delivered. [2] 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'. 12:07:25,565 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower767 with journal batch size 1000 [WARN] [01/30/2025 00:07:25.566] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader765]: org.opendaylight.controller.cluster.common.actor.Monitor@5892f013 [INFO] [pekkoDeadLetter][01/30/2025 00:07:25.566] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/leader765] 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'. 12:07:25,567 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader765 with journal batch size 1000 12:07:25,567 AM [test-pekko.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/leader765] 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'. 12:07:25,568 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:25,568 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceTermInfoStore - leader765: Set currentTerm=5, votedFor=leader765 12:07:25,568 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:25,569 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:25,569 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Snapshot capture initiated after recovery due to migrated messages 12:07:25,569 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 12:07:25,569 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=-1, lastAppliedTerm=-1, lastIndex=-1, lastTerm=-1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 12:07:25,569 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: lastSequenceNumber prior to capture: 1 12:07:25,570 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: CaptureSnapshotReply received by actor 12:07:25,570 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Persisting of snapshot done: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=5, electionVotedFor=leader765, ServerConfigPayload=null] 12:07:25,570 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:07:25,570 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:25,570 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Snapshot success - sequence number: -1 12:07:25,570 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: SnapshotComplete received 12:07:25,570 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: handled a journal response 12:07:25,571 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: handled a snapshot response 12:07:26,35 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:07:26,35 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.114:17355, Removed) 12:07:26,35 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Follower): Received ElectionTimeout - switching to Candidate 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Candidate): Election: Candidate has following voting peers: [follower766, follower767] 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceTermInfoStore - leader765: Set currentTerm=6, votedFor=leader765 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Candidate): Starting new election term 6 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Candidate): Sending RequestVote{term=6, candidateId=leader765, lastLogIndex=-1, lastLogTerm=-1} to peer follower766 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Candidate): Sending RequestVote{term=6, candidateId=leader765, lastLogIndex=-1, lastLogTerm=-1} to peer follower767 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Cluster state: [] 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader765, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader765, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceTermInfoStore - follower766: Set currentTerm=6, votedFor=null 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): In requestVote: RequestVote{term=6, candidateId=leader765, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceTermInfoStore - follower766: Set currentTerm=6, votedFor=leader765 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Cluster state: [] 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader765, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader765, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceTermInfoStore - follower767: Set currentTerm=6, votedFor=null 12:07:26,36 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): In requestVote: RequestVote{term=6, candidateId=leader765, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:26,37 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceTermInfoStore - follower767: Set currentTerm=6, votedFor=leader765 12:07:26,37 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:26,37 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Candidate): RaftRPC message received RequestVoteReply{term=6, voteGranted=true}, my term is 6 12:07:26,37 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Candidate): handleRequestVoteReply: RequestVoteReply{term=6, voteGranted=true}, current voteCount: 1 12:07:26,37 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Election: Leader has following peers: [follower766, follower767] 12:07:26,37 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower766: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:26,37 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower767: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:26,37 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 12:07:26,37 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower766: Last sync leader does not match current leader leader765, need to catch up to -1 12:07:26,37 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower767: Last sync leader does not match current leader leader765, need to catch up to -1 12:07:26,37 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower766 updated: matchIndex: -1, nextIndex: 0 12:07:26,37 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower766: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/30/2025 00:07:26.037] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/follower766] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3a12bb20 12:07:26,38 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower767 updated: matchIndex: -1, nextIndex: 0 12:07:26,38 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower767: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/30/2025 00:07:26.038] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/follower767] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3dfb8937 12:07:26,38 AM [test-pekko.actor.default-dispatcher-11] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower766] 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'. [INFO] [pekkoDeadLetter][01/30/2025 00:07:26.038] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower766] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower766] 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'. 12:07:26,38 AM [test-pekko.actor.default-dispatcher-11] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower767] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][01/30/2025 00:07:26.038] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower767] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower767] was unhandled. [5] 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'. 12:07:26,73 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:07:26,73 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:26,73 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:26,73 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:07:26,73 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower766: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:26,73 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): sendAppendEntries: 0 is present for follower follower766 12:07:26,73 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Sending AppendEntries to follower follower766: AppendEntries{term=6, leaderId=leader765, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:26,74 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader765, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:26,74 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Number of entries to be appended = 1 12:07:26,74 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:26,74 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Append entry to log zero 12:07:26,74 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:26,74 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Log size is now 1 12:07:26,74 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower766, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:26,74 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower766: Lagging 0 entries behind leader leader765 and reached -1 (of expected -1) 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower767: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): sendAppendEntries: 0 is present for follower follower767 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Sending AppendEntries to follower follower767: AppendEntries{term=6, leaderId=leader765, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower766 updated: matchIndex: 0, nextIndex: 1 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower766: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower766: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): sendAppendEntries: 1 is present for follower follower766 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Sending AppendEntries to follower follower766: AppendEntries{term=6, leaderId=leader765, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower767: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:26,74 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): sendAppendEntries: 0 is present for follower follower767 12:07:26,75 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:26,75 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader765, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:26,75 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Number of entries to be appended = 1 [WARN] [01/30/2025 00:07:26.075] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower766] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@18aee802 12:07:26,75 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:07:26,75 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Append entry to log one 12:07:26,75 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:26,75 AM [test-pekko.actor.default-dispatcher-15] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower766] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][01/30/2025 00:07:26.075] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower766] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower766] 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'. 12:07:26,75 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Log size is now 2 12:07:26,75 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower766, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:26,75 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower766: Lagging 0 entries behind leader leader765 and reached -1 (of expected -1) 12:07:26,75 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower766 updated: matchIndex: 1, nextIndex: 2 12:07:26,75 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower766: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:26,75 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:26,75 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:07:26,75 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Setting last applied to 0 12:07:26,75 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Moving last applied index from -1 to 0 12:07:26,75 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Applying state for log index 0 data zero 12:07:26,76 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:26,76 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: applyState called: zero 12:07:26,76 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PersistenceEntryStore - leader765: Persisting ApplyJournalEntries with index=0 12:07:26,76 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:26,76 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:07:26,76 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Setting last applied to 1 12:07:26,76 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Moving last applied index from 0 to 1 12:07:26,76 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: Applying state for log index 1 data one 12:07:26,76 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: applyState called: one 12:07:26,77 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PersistenceEntryStore - leader765: Persisting ApplyJournalEntries with index=1 12:07:26,156 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): sendAppendEntries: 0 is present for follower follower767 12:07:26,156 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Sending AppendEntries to follower follower767: AppendEntries{term=6, leaderId=leader765, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:26,275 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): sendAppendEntries: 0 is present for follower follower767 12:07:26,275 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Sending AppendEntries to follower follower767: AppendEntries{term=6, leaderId=leader765, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:26,275 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Commit index set to 1 12:07:26,275 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower766: Lagging 0 entries behind leader leader765 and reached 1 (of expected -1) 12:07:26,275 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:07:26,275 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Setting last applied to 0 12:07:26,275 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Moving last applied index from -1 to 0 12:07:26,275 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Applying state for log index 0 data zero 12:07:26,276 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: applyState called: zero 12:07:26,276 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766 (Follower): Setting last applied to 1 12:07:26,276 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Moving last applied index from 0 to 1 12:07:26,276 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: Applying state for log index 1 data one 12:07:26,276 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: applyState called: one 12:07:26,276 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - follower766: Persisting ApplyJournalEntries with index=1 12:07:26,396 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): sendAppendEntries: 0 is present for follower follower767 12:07:26,396 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Sending AppendEntries to follower follower767: AppendEntries{term=6, leaderId=leader765, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:26,396 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower766: Lagging 0 entries behind leader leader765 and reached 1 (of expected -1) 12:07:26,425 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries: new entries applied - resuming follower follower767 12:07:26,516 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower767: Lagging 0 entries behind leader leader765 and reached -1 (of expected -1) 12:07:26,516 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower766: Lagging 0 entries behind leader leader765 and reached 1 (of expected -1) 12:07:26,516 AM [test-pekko.actor.default-dispatcher-15] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply{term=6, success=true, followerId=follower767, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5}, timeSinceLastActivity : 478, lastApplied : 1, commitIndex : 1 [WARN] [01/30/2025 00:07:26.516] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower767] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@46684865 12:07:26,516 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): sendAppendEntries: 0 is present for follower follower767 12:07:26,516 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Sending AppendEntries to follower follower767: AppendEntries{term=6, leaderId=leader765, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:26,516 AM [test-pekko.actor.default-dispatcher-18] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower767] 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'. 12:07:26,516 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader765, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero], SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:26,516 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Number of entries to be appended = 2 12:07:26,516 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:26,516 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Append entry to log zero 12:07:26,516 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:26,516 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Append entry to log one 12:07:26,516 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Log size is now 2 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Commit index set to 1 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower767, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower767: Lagging 0 entries behind leader leader765 and reached 1 (of expected -1) 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Setting last applied to 0 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: Moving last applied index from -1 to 0 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: Applying state for log index 0 data zero 12:07:26,517 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower767 updated: matchIndex: 1, nextIndex: 2 12:07:26,517 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765: fakeSnapshot purging log to 0 for term 6 12:07:26,517 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader765 (Leader): Checking sendAppendEntries for follower follower767: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: applyState called: zero 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767 (Follower): Setting last applied to 1 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: Moving last applied index from 0 to 1 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: Applying state for log index 1 data one [INFO] [pekkoDeadLetter][01/30/2025 00:07:26.516] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower767] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower767] 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'. 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: applyState called: one 12:07:26,517 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:26,518 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:26,518 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PersistenceEntryStore - follower767: Persisting ApplyJournalEntries with index=1 12:07:26,635 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower767: Lagging 0 entries behind leader leader765 and reached 1 (of expected -1) 12:07:26,635 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower767: fakeSnapshot purging log to 0 for term 6 12:07:26,635 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower766: Lagging 0 entries behind leader leader765 and reached 1 (of expected -1) 12:07:26,635 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower766: fakeSnapshot purging log to 0 for term 6 12:07:26,681 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testReplicationsWithLaggingFollowerCaughtUpViaAppendEntries complete 12:07:26,681 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower766-collector768#1546803723] 12:07:26,682 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower766] 12:07:26,682 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower767-collector769#905509430] 12:07:26,683 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower767] 12:07:26,683 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader765-collector770#1142565152] 12:07:26,683 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader765] 12:07:26,684 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot starting 12:07:26,686 AM [test-pekko.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower775] to Actor[pekko://test/user/termination-monitor] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [01/30/2025 00:07:26.686] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower775]: org.opendaylight.controller.cluster.common.actor.Monitor@2da9f3a8 [INFO] [pekkoDeadLetter][01/30/2025 00:07:26.685] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower775] to Actor[pekko://test/user/termination-monitor] was not delivered. [8] 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'. 12:07:26,686 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower775 with journal batch size 1000 12:07:26,687 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:26,688 AM [test-pekko.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower776] to Actor[pekko://test/user/termination-monitor] was not delivered. [9] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [01/30/2025 00:07:26.688] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower776]: org.opendaylight.controller.cluster.common.actor.Monitor@2cddfbe3 [INFO] [pekkoDeadLetter][01/30/2025 00:07:26.688] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower776] to Actor[pekko://test/user/termination-monitor] was not delivered. [9] 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'. 12:07:26,688 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower776 with journal batch size 1000 12:07:26,689 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/30/2025 00:07:26.691] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader774]: org.opendaylight.controller.cluster.common.actor.Monitor@703f7f1a 12:07:26,691 AM [test-pekko.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/leader774] to Actor[pekko://test/user/termination-monitor] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][01/30/2025 00:07:26.691] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/leader774] to Actor[pekko://test/user/termination-monitor] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. 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'. 12:07:26,692 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader774 with journal batch size 1000 12:07:26,692 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - leader774: Set currentTerm=5, votedFor=leader774 12:07:26,692 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:26,692 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Snapshot capture initiated after recovery due to migrated messages 12:07:26,693 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 12:07:26,693 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=-1, lastAppliedTerm=-1, lastIndex=-1, lastTerm=-1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 12:07:26,693 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: lastSequenceNumber prior to capture: 1 12:07:26,693 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: CaptureSnapshotReply received by actor 12:07:26,693 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persisting of snapshot done: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=5, electionVotedFor=leader774, ServerConfigPayload=null] 12:07:26,693 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:07:26,693 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:26,693 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Snapshot success - sequence number: -1 12:07:26,693 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: SnapshotComplete received 12:07:26,693 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: handled a snapshot response 12:07:26,693 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: handled a journal response 12:07:27,165 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:07:27,165 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.114:17355, Removed) 12:07:27,166 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Follower): Received ElectionTimeout - switching to Candidate 12:07:27,166 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Candidate): Election: Candidate has following voting peers: [follower776, follower775] 12:07:27,166 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - leader774: Set currentTerm=6, votedFor=leader774 12:07:27,166 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Candidate): Starting new election term 6 12:07:27,166 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Candidate): Sending RequestVote{term=6, candidateId=leader774, lastLogIndex=-1, lastLogTerm=-1} to peer follower776 12:07:27,166 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Candidate): Sending RequestVote{term=6, candidateId=leader774, lastLogIndex=-1, lastLogTerm=-1} to peer follower775 12:07:27,166 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:27,166 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:27,166 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:07:27,166 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Cluster state: [] 12:07:27,166 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader774, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:27,166 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader774, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:27,166 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] PersistenceTermInfoStore - follower775: Set currentTerm=6, votedFor=null 12:07:27,167 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): In requestVote: RequestVote{term=6, candidateId=leader774, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:27,167 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] PersistenceTermInfoStore - follower775: Set currentTerm=6, votedFor=leader774 12:07:27,167 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:27,167 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Cluster state: [] 12:07:27,167 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader774, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:27,167 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader774, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:27,167 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower776: Set currentTerm=6, votedFor=null 12:07:27,167 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Candidate): RaftRPC message received RequestVoteReply{term=6, voteGranted=true}, my term is 6 12:07:27,167 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Candidate): handleRequestVoteReply: RequestVoteReply{term=6, voteGranted=true}, current voteCount: 1 12:07:27,167 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): In requestVote: RequestVote{term=6, candidateId=leader774, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:27,167 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower776: Set currentTerm=6, votedFor=leader774 12:07:27,167 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:27,167 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Election: Leader has following peers: [follower776, follower775] 12:07:27,167 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:27,167 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:27,168 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower775: Last sync leader does not match current leader leader774, need to catch up to -1 12:07:27,168 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 12:07:27,168 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower775 updated: matchIndex: -1, nextIndex: 0 12:07:27,168 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/30/2025 00:07:27.168] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower775] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7ea6dc6b 12:07:27,168 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower776 updated: matchIndex: -1, nextIndex: 0 12:07:27,168 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:27,168 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower776: Last sync leader does not match current leader leader774, need to catch up to -1 [WARN] [01/30/2025 00:07:27.169] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/follower776] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1078c914 12:07:27,196 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:07:27,196 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:27,196 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:27,197 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:07:27,197 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:27,197 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 0 is present for follower follower776 12:07:27,197 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Sending AppendEntries to follower follower776: AppendEntries{term=6, leaderId=leader774, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader774, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Number of entries to be appended = 1 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Append entry to log zero 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Log size is now 1 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower776, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader774 and reached -1 (of expected -1) 12:07:27,197 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:27,197 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 0 is present for follower follower775 12:07:27,197 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Sending AppendEntries to follower follower775: AppendEntries{term=6, leaderId=leader774, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader774, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Number of entries to be appended = 1 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Append entry to log zero 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Log size is now 1 12:07:27,197 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower775, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:27,197 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached -1 (of expected -1) [WARN] [01/30/2025 00:07:27.198] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/follower776] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@337efcca 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower776 updated: matchIndex: 0, nextIndex: 1 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower775 updated: matchIndex: 0, nextIndex: 1 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:27,198 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] [WARN] [01/30/2025 00:07:27.198] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/follower775] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4e888bde 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 1 is present for follower follower776 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Sending AppendEntries to follower follower776: AppendEntries{term=6, leaderId=leader774, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 1 is present for follower follower775 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Sending AppendEntries to follower follower775: AppendEntries{term=6, leaderId=leader774, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:27,198 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader774, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:27,198 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Number of entries to be appended = 1 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:27,198 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:07:27,198 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Append entry to log one 12:07:27,198 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Setting last applied to 0 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Moving last applied index from -1 to 0 12:07:27,198 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Applying state for log index 0 data zero 12:07:27,198 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Log size is now 2 12:07:27,198 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower775, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached -1 (of expected -1) 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: applyState called: zero 12:07:27,198 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader774, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower775 updated: matchIndex: 1, nextIndex: 2 12:07:27,199 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Number of entries to be appended = 1 12:07:27,199 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:07:27,199 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Append entry to log one 12:07:27,199 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:27,199 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Log size is now 2 12:07:27,199 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower776, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - leader774: Persisting ApplyJournalEntries with index=0 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower776 updated: matchIndex: 1, nextIndex: 2 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Commit index set to 0 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 0 (of expected -1) 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Setting last applied to 0 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Moving last applied index from -1 to 0 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Applying state for log index 0 data zero 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: applyState called: zero 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Setting last applied to 1 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Moving last applied index from 0 to 1 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Applying state for log index 1 data one 12:07:27,199 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - follower775: Persisting ApplyJournalEntries with index=0 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: applyState called: one 12:07:27,199 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader774 and reached -1 (of expected -1) 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: fakeSnapshot purging log to 0 for term 6 12:07:27,199 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - leader774: Persisting ApplyJournalEntries with index=1 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Commit index set to 0 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader774 and reached 0 (of expected -1) 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Setting last applied to 0 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Moving last applied index from -1 to 0 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Applying state for log index 0 data zero 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: applyState called: zero 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Commit index set to 1 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Setting last applied to 1 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Moving last applied index from 0 to 1 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Applying state for log index 1 data one 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: applyState called: one 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: fakeSnapshot purging log to 0 for term 6 12:07:27,200 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower776: Persisting ApplyJournalEntries with index=0 12:07:27,201 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower776: Persisting ApplyJournalEntries with index=1 12:07:27,406 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,406 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Commit index set to 1 12:07:27,406 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,406 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:07:27,406 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Setting last applied to 1 12:07:27,406 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Moving last applied index from 0 to 1 12:07:27,406 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Applying state for log index 1 data one 12:07:27,406 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: applyState called: one 12:07:27,406 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: fakeSnapshot purging log to 0 for term 6 12:07:27,406 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower775: Persisting ApplyJournalEntries with index=1 12:07:27,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,526 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,645 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,765 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,886 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,954 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:27,954 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:27,954 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:07:27,954 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:27,954 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:27,954 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 2 is present for follower follower775 12:07:27,954 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Sending AppendEntries to follower follower775: AppendEntries{term=6, leaderId=leader774, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:27,955 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader774, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:07:27,955 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Number of entries to be appended = 1 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 2 is present for follower follower775 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:07:27,955 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:07:27,955 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Append entry to log two 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:07:27,955 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:27,955 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Log size is now 2 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 2 is present for follower follower775 12:07:27,955 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower775, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:27,955 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower775 updated: matchIndex: 2, nextIndex: 3 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 3 is present for follower follower775 12:07:27,955 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Sending AppendEntries to follower follower775: AppendEntries{term=6, leaderId=leader774, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]} 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 3 is present for follower follower775 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 12:07:27,956 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:07:27,956 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:27,956 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader774, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]} 12:07:27,956 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Number of entries to be appended = 2 12:07:27,956 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:07:27,956 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Append entry to log three 12:07:27,956 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Append entry to log four 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Log size is now 4 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower775, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,957 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 3, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:07:27,957 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 3 is present for follower follower775 12:07:27,957 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower775 updated: matchIndex: 4, nextIndex: 5 12:07:27,957 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:07:27,957 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 5 is present for follower follower775 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:27,957 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Sending AppendEntries to follower follower775: AppendEntries{term=6, leaderId=leader774, prevLogIndex=4, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]} 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader774, prevLogIndex=4, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]} 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Number of entries to be appended = 2 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Append entry to log five 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Append entry to log six 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Log size is now 6 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower775, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:27,957 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 1 (of expected -1) 12:07:27,958 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower775 updated: matchIndex: 6, nextIndex: 7 12:07:27,958 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:07:27,958 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:27,958 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:07:27,958 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Setting last applied to 2 12:07:27,958 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Moving last applied index from 1 to 2 12:07:27,958 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Applying state for log index 2 data two 12:07:27,958 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:27,958 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:27,958 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: applyState called: two 12:07:27,958 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: fakeSnapshot purging log to 1 for term 6 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - leader774: Persisting ApplyJournalEntries with index=2 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: lastSequenceNumber prior to capture: 8 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Setting last applied to 3 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Moving last applied index from 2 to 3 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Applying state for log index 3 data three 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: applyState called: three 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: CaptureSnapshotReply received by actor 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=6, unAppliedEntries size=4, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader774, ServerConfigPayload=null] 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - leader774: Persisting ApplyJournalEntries with index=3 12:07:27,959 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Setting last applied to 4 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Moving last applied index from 3 to 4 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Applying state for log index 4 data four 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: applyState called: four 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - leader774: Persisting ApplyJournalEntries with index=4 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Setting last applied to 5 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Moving last applied index from 4 to 5 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Applying state for log index 5 data five 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: applyState called: five 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - leader774: Persisting ApplyJournalEntries with index=5 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Setting last applied to 6 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Moving last applied index from 5 to 6 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Applying state for log index 6 data six 12:07:27,960 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: applyState called: six 12:07:27,961 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - leader774: Persisting ApplyJournalEntries with index=6 12:07:27,961 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:27,961 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Snapshot success - sequence number: -1 12:07:27,961 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: SnapshotComplete received 12:07:27,961 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: handled a journal response 12:07:27,962 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: handled a snapshot response 12:07:28,4 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot: sending 1 more payload to trigger second snapshot 12:07:28,4 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:28,4 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:28,5 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, isSendImmediate: true 12:07:28,5 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:07:28,5 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:07:28,5 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 7 is present for follower follower775 12:07:28,5 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Sending AppendEntries to follower follower775: AppendEntries{term=6, leaderId=leader774, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]} 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader774, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]} 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Number of entries to be appended = 1 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Append entry to log seven 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Log size is now 7 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Commit index set to 6 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower775, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 6 (of expected -1) 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 1, lastIndex(): 7 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Setting last applied to 2 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Moving last applied index from 1 to 2 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Applying state for log index 2 data two 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: applyState called: two 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Setting last applied to 3 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Moving last applied index from 2 to 3 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Applying state for log index 3 data three 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: applyState called: three 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Setting last applied to 4 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Moving last applied index from 3 to 4 12:07:28,5 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Applying state for log index 4 data four 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: applyState called: four 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Setting last applied to 5 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Moving last applied index from 4 to 5 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Applying state for log index 5 data five 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: applyState called: five 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Setting last applied to 6 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Moving last applied index from 5 to 6 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Applying state for log index 6 data six 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: applyState called: six 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: fakeSnapshot purging log to 1 for term 6 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - follower775: Persisting ApplyJournalEntries with index=6 12:07:28,6 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower775 updated: matchIndex: 7, nextIndex: 8 12:07:28,6 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:07:28,6 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: lastSequenceNumber prior to capture: 17 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Setting last applied to 7 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Moving last applied index from 6 to 7 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Applying state for log index 7 data seven 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: applyState called: seven 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: CaptureSnapshotReply received by actor 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persisting of snapshot done: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=6, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two, three, four, five, six]], electionTerm=6, electionVotedFor=leader774, ServerConfigPayload=null] 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - leader774: Persisting ApplyJournalEntries with index=7 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:28,7 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Snapshot success - sequence number: -1 12:07:28,8 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: SnapshotComplete received 12:07:28,8 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: handled a snapshot response 12:07:28,8 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: handled a journal response 12:07:28,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Commit index set to 7 12:07:28,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 7 (of expected -1) 12:07:28,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 12:07:28,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Setting last applied to 7 12:07:28,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Moving last applied index from 6 to 7 12:07:28,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Applying state for log index 7 data seven 12:07:28,126 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: applyState called: seven 12:07:28,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - follower775: Persisting ApplyJournalEntries with index=7 12:07:28,155 AM [main] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Updated server config: isVoting: true, peers: [PeerInfo [id=follower776, address=pekko://test/user/follower776, votingState=NON_VOTING], PeerInfo [id=follower775, address=pekko://test/user/follower775, votingState=NON_VOTING]] 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persist data SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]]] 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]]] 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Replicate message: identifier: MockIdentifier{value=serverConfig}, logIndex: 8, isSendImmediate: true 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower776: active: false, followerNextIndex: 2, leaderLastIndex: 8, leaderSnapShotIndex: 6 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 8, leaderLastIndex: 8, leaderSnapShotIndex: 6 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendAppendEntries: 8 is present for follower follower775 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Sending AppendEntries to follower follower775: AppendEntries{term=6, leaderId=leader774, prevLogIndex=7, prevLogTerm=6, leaderCommit=7, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]]]]} 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader774, prevLogIndex=7, prevLogTerm=6, leaderCommit=7, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]]]]} 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Number of entries to be appended = 1 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): After cleanup, lastIndex: 7, entries to be added from: 0 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Append entry to log ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]] 12:07:28,156 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Append log entry and persist SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]]] 12:07:28,157 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Updated server config: isVoting: false, peers: [PeerInfo [id=leader774, address=pekko://test/user/leader774, votingState=VOTING], PeerInfo [id=follower776, address=pekko://test/user/follower776, votingState=NON_VOTING]] 12:07:28,157 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Log size is now 7 12:07:28,157 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower775, logLastIndex=8, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:28,157 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower775 updated: matchIndex: 8, nextIndex: 9 12:07:28,157 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Checking sendAppendEntries for follower follower775: active: true, followerNextIndex: 9, leaderLastIndex: 8, leaderSnapShotIndex: 6 12:07:28,157 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]]] 12:07:28,157 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Applying to log - commitIndex: 8, lastAppliedIndex: 7 12:07:28,157 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Setting last applied to 8 12:07:28,157 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Moving last applied index from 7 to 8 12:07:28,157 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]] 12:07:28,157 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - leader774: Persisting ApplyJournalEntries with index=8 12:07:28,157 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 7 (of expected -1) 12:07:28,158 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: persist complete SimpleReplicatedLogEntry [index=8, term=6, payload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]]] 12:07:28,365 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Commit index set to 8 12:07:28,365 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 8 (of expected -1) 12:07:28,365 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 8, context.getLastApplied(): 7, lastIndex(): 8 12:07:28,365 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775 (Follower): Setting last applied to 8 12:07:28,365 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Moving last applied index from 7 to 8 12:07:28,365 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: Applying state for log index 8 data ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=leader774, isVoting=true], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=follower776, isVoting=false]]] 12:07:28,365 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower775: Persisting ApplyJournalEntries with index=8 12:07:28,407 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 12:07:28,485 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 8 (of expected -1) 12:07:28,485 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower776: Lagging -2 entries behind leader leader774 and reached 1 (of expected -1) 12:07:28,485 AM [test-pekko.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply{term=6, success=true, followerId=follower776, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5}, timeSinceLastActivity : 959, lastApplied : 8, commitIndex : 8 12:07:28,485 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Initiating install snapshot to follower follower776: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 8, leader log size: 2 12:07:28,485 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=8, lastAppliedTerm=6, lastIndex=8, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower776 12:07:28,485 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: lastSequenceNumber prior to capture: 20 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: CaptureSnapshotReply received by actor 12:07:28,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower776: Lagging -2 entries behind leader leader774 and reached 1 (of expected -1) 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Persisting of snapshot done: Snapshot [lastIndex=8, lastTerm=6, lastAppliedIndex=8, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two, three, four, five, six, seven]], electionTerm=6, electionVotedFor=leader774, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower776, isVoting=false], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=leader774, isVoting=true]]]] 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): sendInstallSnapshot 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader774 (Leader): Snapshot 431 bytes, total chunks to send: 1 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader774 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): next snapshot chunk size for follower follower776: 431 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): InstallSnapshot sent to follower Vector(user, follower776), Chunk: 1/1 12:07:28,486 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): handleInstallSnapshot: InstallSnapshot{term=6, leaderId=leader774, lastIncludedIndex=8, lastIncludedTerm=6, datasize=431, chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower776, isVoting=false], ServerInfo[peerId=follower775, isVoting=false], ServerInfo[peerId=leader774, isVoting=true]]]} 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:28,486 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower776: Lagging 7 entries behind leader leader774 and reached 1 (of expected -1) 12:07:28,486 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: Snapshot success - sequence number: -1 12:07:28,486 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:07:28,486 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): Snapshot received from leader: leader774 12:07:28,487 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Applying snapshot on follower: org.opendaylight.controller.cluster.io.FileBackedOutputStream$1@104e3491 12:07:28,487 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: SnapshotComplete received 12:07:28,487 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: handled a journal response 12:07:28,487 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: handled a snapshot response 12:07:28,487 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Converted InstallSnapshot from leader: leader774 to state 12:07:28,487 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 6 12:07:28,487 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: SaveSnapshotSuccess received for snapshot, sequenceNr: 6 12:07:28,487 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Snapshot success - sequence number: 6 12:07:28,487 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Moving last applied index from 1 to 8 12:07:28,487 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PersistenceTermInfoStore - follower776: Set currentTerm=6, votedFor=leader774 12:07:28,487 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: Updated server config: isVoting: false, peers: [PeerInfo [id=leader774, address=pekko://test/user/leader774, votingState=VOTING], PeerInfo [id=follower775, address=pekko://test/user/follower775, votingState=NON_VOTING]] 12:07:28,488 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: applySnapshot called 12:07:28,488 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776 (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=6, followerId=follower776, chunkIndex=1, success=true} 12:07:28,488 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): handleInstallSnapshotReply: InstallSnapshotReply{term=6, followerId=follower776, chunkIndex=1, success=true} 12:07:28,488 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: SnapshotComplete received 12:07:28,488 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader774 (Leader): Snapshot successfully installed on follower follower776 (last chunk 1) - matchIndex set to 8, nextIndex set to 9 12:07:28,488 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader774: fakeSnapshot purging log to 7 for term 6 12:07:28,488 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: handled a journal response 12:07:28,488 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower776: handled a snapshot response 12:07:28,605 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower776: Lagging 0 entries behind leader leader774 and reached 8 (of expected -1) 12:07:28,605 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower775: Lagging 0 entries behind leader leader774 and reached 8 (of expected -1) 12:07:28,605 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower775: fakeSnapshot purging log to 7 for term 6 12:07:28,609 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 12:07:28,609 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaInstallSnapshot complete 12:07:28,609 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower775-collector777#-806904525] 12:07:28,620 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower775] 12:07:28,620 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower776-collector778#1473714534] 12:07:28,621 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower776] 12:07:28,621 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader774-collector779#372828414] 12:07:28,621 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader774] 12:07:28,622 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries starting [WARN] [01/30/2025 00:07:28.624] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower784]: org.opendaylight.controller.cluster.common.actor.Monitor@bc2af8b 12:07:28,624 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower784 with journal batch size 1000 12:07:28,626 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/30/2025 00:07:28.626] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower785]: org.opendaylight.controller.cluster.common.actor.Monitor@7d7691c6 12:07:28,626 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower785 with journal batch size 1000 12:07:28,627 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/30/2025 00:07:28.628] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader783]: org.opendaylight.controller.cluster.common.actor.Monitor@a67b186 12:07:28,633 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader783 with journal batch size 1000 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - leader783: Set currentTerm=5, votedFor=leader783 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Snapshot capture initiated after recovery due to migrated messages 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=-1, lastAppliedTerm=-1, lastIndex=-1, lastTerm=-1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: lastSequenceNumber prior to capture: 1 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: CaptureSnapshotReply received by actor 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Persisting of snapshot done: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=5, electionVotedFor=leader783, ServerConfigPayload=null] 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:07:28,634 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:28,635 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Snapshot success - sequence number: -1 12:07:28,635 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: SnapshotComplete received 12:07:28,635 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: handled a snapshot response 12:07:28,635 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: handled a journal response 12:07:29,125 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:07:29,125 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.114:17355, Removed) 12:07:29,125 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Follower): Received ElectionTimeout - switching to Candidate 12:07:29,125 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Candidate): Election: Candidate has following voting peers: [follower784, follower785] 12:07:29,125 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - leader783: Set currentTerm=6, votedFor=leader783 12:07:29,125 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Candidate): Starting new election term 6 12:07:29,125 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Candidate): Sending RequestVote{term=6, candidateId=leader783, lastLogIndex=-1, lastLogTerm=-1} to peer follower784 12:07:29,125 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Candidate): Sending RequestVote{term=6, candidateId=leader783, lastLogIndex=-1, lastLogTerm=-1} to peer follower785 12:07:29,125 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:29,125 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:07:29,125 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Cluster state: [] 12:07:29,125 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader783, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:29,125 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader783, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:29,125 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - follower784: Set currentTerm=6, votedFor=null 12:07:29,125 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): In requestVote: RequestVote{term=6, candidateId=leader783, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:29,125 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - follower784: Set currentTerm=6, votedFor=leader783 12:07:29,126 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:29,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:29,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Cluster state: [] 12:07:29,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader783, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:29,126 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader783, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:29,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower785: Set currentTerm=6, votedFor=null 12:07:29,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): In requestVote: RequestVote{term=6, candidateId=leader783, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:29,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower785: Set currentTerm=6, votedFor=leader783 12:07:29,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:29,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Candidate): RaftRPC message received RequestVoteReply{term=6, voteGranted=true}, my term is 6 12:07:29,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Candidate): handleRequestVoteReply: RequestVoteReply{term=6, voteGranted=true}, current voteCount: 1 12:07:29,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Election: Leader has following peers: [follower784, follower785] 12:07:29,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:29,126 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:29,126 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 12:07:29,127 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower784: Last sync leader does not match current leader leader783, need to catch up to -1 12:07:29,127 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower785: Last sync leader does not match current leader leader783, need to catch up to -1 [WARN] [01/30/2025 00:07:29.127] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower785] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5f06efbb [WARN] [01/30/2025 00:07:29.127] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower784] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@21d979c5 12:07:29,127 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower784 updated: matchIndex: -1, nextIndex: 0 12:07:29,127 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:29,127 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower785 updated: matchIndex: -1, nextIndex: 0 12:07:29,127 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:29,137 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:07:29,137 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:29,137 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:29,137 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:07:29,137 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:29,137 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 0 is present for follower follower784 12:07:29,137 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower784: AppendEntries{term=6, leaderId=leader783, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:29,138 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader783, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:29,138 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Number of entries to be appended = 1 12:07:29,138 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:29,138 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Append entry to log zero 12:07:29,138 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:29,138 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Log size is now 1 12:07:29,138 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower784, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:29,138 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached -1 (of expected -1) 12:07:29,138 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:29,138 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 0 is present for follower follower785 12:07:29,138 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower785: AppendEntries{term=6, leaderId=leader783, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader783, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Number of entries to be appended = 1 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Append entry to log zero 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Log size is now 1 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower785, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower785: Lagging 0 entries behind leader leader783 and reached -1 (of expected -1) 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [01/30/2025 00:07:29.138] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower784] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1e7ddaf8 12:07:29,138 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [01/30/2025 00:07:29.139] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower785] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7f768f1a 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower784 updated: matchIndex: 0, nextIndex: 1 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower785 updated: matchIndex: 0, nextIndex: 1 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 1 is present for follower follower784 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower784: AppendEntries{term=6, leaderId=leader783, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 1 is present for follower follower785 12:07:29,139 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower785: AppendEntries{term=6, leaderId=leader783, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:29,139 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader783, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:29,139 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Number of entries to be appended = 1 12:07:29,139 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:07:29,139 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Append entry to log one 12:07:29,139 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:29,139 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader783, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:29,139 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Number of entries to be appended = 1 12:07:29,139 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:07:29,139 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Log size is now 2 12:07:29,139 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Append entry to log one 12:07:29,139 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:29,139 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower784, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:29,140 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached -1 (of expected -1) 12:07:29,140 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Log size is now 2 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower784 updated: matchIndex: 1, nextIndex: 2 12:07:29,140 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower785, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:29,140 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower785: Lagging 0 entries behind leader leader783 and reached -1 (of expected -1) 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower785 updated: matchIndex: 1, nextIndex: 2 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Setting last applied to 0 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Moving last applied index from -1 to 0 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Applying state for log index 0 data zero 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: applyState called: zero 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader783: Persisting ApplyJournalEntries with index=0 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Setting last applied to 1 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Moving last applied index from 0 to 1 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Applying state for log index 1 data one 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: applyState called: one 12:07:29,140 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: fakeSnapshot purging log to 0 for term 6 12:07:29,141 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader783: Persisting ApplyJournalEntries with index=1 12:07:29,141 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:29,141 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Commit index set to 1 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Commit index set to 1 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower785: Lagging 0 entries behind leader leader783 and reached 1 (of expected -1) 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 1 (of expected -1) 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Setting last applied to 0 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Moving last applied index from -1 to 0 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Setting last applied to 0 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Applying state for log index 0 data zero 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Moving last applied index from -1 to 0 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Applying state for log index 0 data zero 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: applyState called: zero 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: applyState called: zero 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Setting last applied to 1 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Moving last applied index from 0 to 1 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Applying state for log index 1 data one 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Setting last applied to 1 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Moving last applied index from 0 to 1 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Applying state for log index 1 data one 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: applyState called: one 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: applyState called: one 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: fakeSnapshot purging log to 0 for term 6 12:07:29,245 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: fakeSnapshot purging log to 0 for term 6 12:07:29,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - follower785: Persisting ApplyJournalEntries with index=1 12:07:29,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - follower784: Persisting ApplyJournalEntries with index=1 12:07:29,365 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 1 (of expected -1) 12:07:29,365 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower785: Lagging 0 entries behind leader leader783 and reached 1 (of expected -1) 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 2 is present for follower follower784 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower784: AppendEntries{term=6, leaderId=leader783, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 2 is present for follower follower785 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower785: AppendEntries{term=6, leaderId=leader783, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:29,389 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader783, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:29,389 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Number of entries to be appended = 1 12:07:29,389 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:07:29,389 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Append entry to log two 12:07:29,389 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:29,389 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Log size is now 2 12:07:29,389 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower784, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:29,389 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 1 (of expected -1) 12:07:29,389 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower784 updated: matchIndex: 2, nextIndex: 3 12:07:29,390 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:29,390 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:29,390 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:07:29,390 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:29,390 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Setting last applied to 2 12:07:29,390 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Moving last applied index from 1 to 2 12:07:29,390 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Applying state for log index 2 data two 12:07:29,390 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: applyState called: two 12:07:29,390 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: fakeSnapshot purging log to 1 for term 6 12:07:29,390 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader783: Persisting ApplyJournalEntries with index=2 12:07:29,485 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 2 is present for follower follower785 12:07:29,485 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower785: AppendEntries{term=6, leaderId=leader783, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:29,606 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 2 is present for follower follower785 12:07:29,606 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower785: AppendEntries{term=6, leaderId=leader783, prevLogIndex=1, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:29,606 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Commit index set to 2 12:07:29,606 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 2 (of expected -1) 12:07:29,606 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:07:29,606 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Setting last applied to 2 12:07:29,606 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Moving last applied index from 1 to 2 12:07:29,606 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Applying state for log index 2 data two 12:07:29,606 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: applyState called: two 12:07:29,606 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: fakeSnapshot purging log to 1 for term 6 12:07:29,606 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - follower784: Persisting ApplyJournalEntries with index=2 12:07:29,640 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:29,640 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:29,641 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:07:29,641 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:07:29,641 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 3 is present for follower follower784 12:07:29,641 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower784: AppendEntries{term=6, leaderId=leader783, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]} 12:07:29,641 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:07:29,641 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 2 is present for follower follower785 12:07:29,641 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader783, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]} 12:07:29,641 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Number of entries to be appended = 1 12:07:29,641 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:07:29,641 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Append entry to log three 12:07:29,641 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:29,641 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Log size is now 2 12:07:29,641 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower784, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:29,641 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 2 (of expected -1) 12:07:29,641 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower784 updated: matchIndex: 3, nextIndex: 4 12:07:29,641 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:07:29,641 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: lastSequenceNumber prior to capture: 9 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Setting last applied to 3 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Moving last applied index from 2 to 3 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Applying state for log index 3 data three 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: applyState called: three 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: CaptureSnapshotReply received by actor 12:07:29,642 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader783, ServerConfigPayload=null] 12:07:29,643 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 12:07:29,643 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader783: Persisting ApplyJournalEntries with index=3 12:07:29,643 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:29,643 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Snapshot success - sequence number: -1 12:07:29,643 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: SnapshotComplete received 12:07:29,643 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: handled a journal response 12:07:29,643 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: handled a snapshot response 12:07:29,691 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries: sending 2 more payloads 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 4 is present for follower follower784 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower784: AppendEntries{term=6, leaderId=leader783, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]} 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 2 is present for follower follower785 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower785: AppendEntries{term=6, leaderId=leader783, prevLogIndex=1, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two], SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four]]} 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader783, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]} 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Number of entries to be appended = 1 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Append entry to log four 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Log size is now 3 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 1 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Commit index set to 3 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 4 is present for follower follower784 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower784, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 1 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 3 (of expected -1) 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 2 is present for follower follower785 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Setting last applied to 3 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Moving last applied index from 2 to 3 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Applying state for log index 3 data three 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower784 updated: matchIndex: 4, nextIndex: 5 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 1 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 5 is present for follower follower784 12:07:29,691 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: applyState called: three 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower784: AppendEntries{term=6, leaderId=leader783, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]} 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Setting last applied to 4 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Moving last applied index from 3 to 4 12:07:29,691 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Applying state for log index 4 data four 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: applyState called: four 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader783: Persisting ApplyJournalEntries with index=4 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - follower784: Persisting ApplyJournalEntries with index=3 12:07:29,692 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader783, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]} 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Number of entries to be appended = 1 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Append entry to log five 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Log size is now 4 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower784, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:29,692 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 3 (of expected -1) 12:07:29,692 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower784 updated: matchIndex: 5, nextIndex: 6 12:07:29,692 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:07:29,692 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Setting last applied to 5 12:07:29,692 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Moving last applied index from 4 to 5 12:07:29,692 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: Applying state for log index 5 data five 12:07:29,692 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: applyState called: five 12:07:29,692 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower784: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 1 12:07:29,692 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:29,692 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Commit index set to 5 12:07:29,693 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - leader783: Persisting ApplyJournalEntries with index=5 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 5 (of expected -1) 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 5 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Setting last applied to 4 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Moving last applied index from 3 to 4 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Applying state for log index 4 data four 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: applyState called: four 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784 (Follower): Setting last applied to 5 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Moving last applied index from 4 to 5 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: Applying state for log index 5 data five 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: applyState called: five 12:07:29,693 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower784: Persisting ApplyJournalEntries with index=5 12:07:29,725 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 2 is present for follower follower785 12:07:29,725 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower785: AppendEntries{term=6, leaderId=leader783, prevLogIndex=1, prevLogTerm=6, leaderCommit=5, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two], SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five]]} 12:07:29,846 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower785: Lagging -2 entries behind leader leader783 and reached 1 (of expected -1) 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply{term=6, success=true, followerId=follower785, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5}, timeSinceLastActivity : 480, lastApplied : 5, commitIndex : 5 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): sendAppendEntries: 2 is present for follower follower785 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Sending AppendEntries to follower follower785: AppendEntries{term=6, leaderId=leader783, prevLogIndex=1, prevLogTerm=6, leaderCommit=5, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two], SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five]]} 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader783, prevLogIndex=1, prevLogTerm=6, leaderCommit=5, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two], SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five]]} 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Number of entries to be appended = 4 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Append entry to log two 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Append entry to log three 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Append entry to log four 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Append entry to log five 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Log size is now 5 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Commit index set to 5 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower785, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower785: Lagging 0 entries behind leader leader783 and reached 5 (of expected -1) 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Setting last applied to 2 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Moving last applied index from 1 to 2 12:07:29,846 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Applying state for log index 2 data two 12:07:29,846 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower785 updated: matchIndex: 5, nextIndex: 6 12:07:29,846 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783: fakeSnapshot purging log to 4 for term 6 12:07:29,847 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader783 (Leader): Checking sendAppendEntries for follower follower785: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: applyState called: two 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Setting last applied to 3 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Moving last applied index from 2 to 3 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Applying state for log index 3 data three 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: applyState called: three 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Setting last applied to 4 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Moving last applied index from 3 to 4 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Applying state for log index 4 data four 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: applyState called: four 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785 (Follower): Setting last applied to 5 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Moving last applied index from 4 to 5 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: Applying state for log index 5 data five 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: applyState called: five 12:07:29,847 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: fakeSnapshot purging log to 1 for term 6 12:07:29,847 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 5 (of expected -1) 12:07:29,847 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:29,848 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:29,848 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:29,848 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:29,848 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceEntryStore - follower785: Persisting ApplyJournalEntries with index=5 12:07:29,966 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 5 (of expected -1) 12:07:29,966 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower784: fakeSnapshot purging log to 4 for term 6 12:07:29,966 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower785: Lagging 0 entries behind leader leader783 and reached 5 (of expected -1) 12:07:29,966 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower785: fakeSnapshot purging log to 4 for term 6 12:07:30,85 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower785: Lagging 0 entries behind leader leader783 and reached 5 (of expected -1) 12:07:30,85 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 5 (of expected -1) 12:07:30,221 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower784: Lagging 0 entries behind leader leader783 and reached 5 (of expected -1) 12:07:30,221 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower785: Lagging 0 entries behind leader leader783 and reached 5 (of expected -1) 12:07:30,244 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotWithLaggingFollowerCaughtUpViaAppendEntries complete 12:07:30,244 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower784-collector786#1454985977] 12:07:30,255 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower784] 12:07:30,256 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower785-collector787#2043301763] 12:07:30,256 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower785] 12:07:30,256 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader783-collector788#612853731] 12:07:30,256 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader783] 12:07:30,257 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation starting [WARN] [01/30/2025 00:07:30.259] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower793]: org.opendaylight.controller.cluster.common.actor.Monitor@34cae97b 12:07:30,259 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower793 with journal batch size 1000 12:07:30,260 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/30/2025 00:07:30.260] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower794]: org.opendaylight.controller.cluster.common.actor.Monitor@3ec783ff 12:07:30,261 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower794 with journal batch size 1000 12:07:30,262 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/30/2025 00:07:30.263] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader792]: org.opendaylight.controller.cluster.common.actor.Monitor@2ad7a170 12:07:30,263 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader792 with journal batch size 1000 12:07:30,264 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceTermInfoStore - leader792: Set currentTerm=5, votedFor=leader792 12:07:30,264 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:30,264 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Snapshot capture initiated after recovery due to migrated messages 12:07:30,264 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 12:07:30,264 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=-1, lastAppliedTerm=-1, lastIndex=-1, lastTerm=-1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 12:07:30,264 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: lastSequenceNumber prior to capture: 1 12:07:30,265 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: CaptureSnapshotReply received by actor 12:07:30,265 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persisting of snapshot done: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=5, electionVotedFor=leader792, ServerConfigPayload=null] 12:07:30,265 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:07:30,265 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:30,265 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Snapshot success - sequence number: -1 12:07:30,265 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SnapshotComplete received 12:07:30,265 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a snapshot response 12:07:30,265 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a journal response 12:07:30,695 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:07:30,695 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.114:17355, Removed) 12:07:30,695 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Follower): Received ElectionTimeout - switching to Candidate 12:07:30,695 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): Election: Candidate has following voting peers: [follower794, follower793] 12:07:30,695 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] PersistenceTermInfoStore - leader792: Set currentTerm=6, votedFor=leader792 12:07:30,696 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): Starting new election term 6 12:07:30,696 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): Sending RequestVote{term=6, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1} to peer follower794 12:07:30,696 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): Sending RequestVote{term=6, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1} to peer follower793 12:07:30,696 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:07:30,696 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:30,696 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:30,696 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Cluster state: [] 12:07:30,696 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:30,696 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Cluster state: [] 12:07:30,696 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:30,696 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:30,696 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower794: Set currentTerm=6, votedFor=null 12:07:30,696 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:30,696 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - follower793: Set currentTerm=6, votedFor=null 12:07:30,696 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): In requestVote: RequestVote{term=6, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:30,696 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - follower793: Set currentTerm=6, votedFor=leader792 12:07:30,696 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): In requestVote: RequestVote{term=6, candidateId=leader792, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:30,696 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower794: Set currentTerm=6, votedFor=leader792 12:07:30,696 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:30,696 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:30,697 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): RaftRPC message received RequestVoteReply{term=6, voteGranted=true}, my term is 6 12:07:30,697 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate): handleRequestVoteReply: RequestVoteReply{term=6, voteGranted=true}, current voteCount: 1 12:07:30,697 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Election: Leader has following peers: [follower794, follower793] 12:07:30,697 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:30,697 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:30,697 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 12:07:30,697 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower793: Last sync leader does not match current leader leader792, need to catch up to -1 12:07:30,698 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower794: Last sync leader does not match current leader leader792, need to catch up to -1 12:07:30,698 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower793 updated: matchIndex: -1, nextIndex: 0 [WARN] [01/30/2025 00:07:30.698] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower793] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@39904822 [WARN] [01/30/2025 00:07:30.698] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower794] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5aa9143d 12:07:30,698 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:30,698 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower794 updated: matchIndex: -1, nextIndex: 0 12:07:30,698 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:30,717 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:07:30,717 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:30,717 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:30,718 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:07:30,718 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:30,718 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 0 is present for follower follower794 12:07:30,718 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower794: AppendEntries{term=6, leaderId=leader792, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:30,718 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader792, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:30,718 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Number of entries to be appended = 1 12:07:30,718 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:30,718 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Append entry to log zero 12:07:30,718 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:30,718 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Log size is now 1 12:07:30,718 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower794, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:30,718 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower794: Lagging 0 entries behind leader leader792 and reached -1 (of expected -1) 12:07:30,719 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:30,719 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 0 is present for follower follower793 12:07:30,719 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower793: AppendEntries{term=6, leaderId=leader792, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:30,719 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader792, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:30,719 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Number of entries to be appended = 1 12:07:30,719 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:30,719 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Append entry to log zero 12:07:30,719 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:30,719 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:30,719 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Log size is now 1 12:07:30,719 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower793, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:30,719 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached -1 (of expected -1) 12:07:30,719 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower794 updated: matchIndex: 0, nextIndex: 1 12:07:30,719 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] [WARN] [01/30/2025 00:07:30.720] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower794] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4253a81f [WARN] [01/30/2025 00:07:30.720] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower793] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@247d0378 12:07:30,719 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower793 updated: matchIndex: 0, nextIndex: 1 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 1 is present for follower follower794 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower794: AppendEntries{term=6, leaderId=leader792, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 1 is present for follower follower793 12:07:30,720 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower793: AppendEntries{term=6, leaderId=leader792, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:30,720 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader792, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:30,720 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Number of entries to be appended = 1 12:07:30,720 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:07:30,720 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Append entry to log one 12:07:30,720 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:30,720 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader792, prevLogIndex=0, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:30,721 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Number of entries to be appended = 1 12:07:30,721 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:07:30,721 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Append entry to log one 12:07:30,721 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:30,721 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Log size is now 2 12:07:30,721 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower794, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:30,721 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower794: Lagging 0 entries behind leader leader792 and reached -1 (of expected -1) 12:07:30,721 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Log size is now 2 12:07:30,721 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower793, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:30,721 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached -1 (of expected -1) 12:07:30,721 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower794 updated: matchIndex: 1, nextIndex: 2 12:07:30,721 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:30,721 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower793 updated: matchIndex: 1, nextIndex: 2 12:07:30,721 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:30,721 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:30,721 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:30,721 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:07:30,721 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Setting last applied to 0 12:07:30,721 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from -1 to 0 12:07:30,721 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Applying state for log index 0 data zero 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: applyState called: zero 12:07:30,722 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] PersistenceEntryStore - leader792: Persisting ApplyJournalEntries with index=0 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Setting last applied to 1 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from 0 to 1 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Applying state for log index 1 data one 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: applyState called: one 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: fakeSnapshot purging log to 0 for term 6 12:07:30,722 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] PersistenceEntryStore - leader792: Persisting ApplyJournalEntries with index=1 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Commit index set to 1 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Commit index set to 1 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 1 (of expected -1) 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Setting last applied to 0 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from -1 to 0 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Applying state for log index 0 data zero 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower794: Lagging 0 entries behind leader leader792 and reached 1 (of expected -1) 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Setting last applied to 0 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Moving last applied index from -1 to 0 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Applying state for log index 0 data zero 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: applyState called: zero 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Setting last applied to 1 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from 0 to 1 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Applying state for log index 1 data one 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: applyState called: one 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: applyState called: zero 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: fakeSnapshot purging log to 0 for term 6 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Setting last applied to 1 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Moving last applied index from 0 to 1 12:07:30,935 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Applying state for log index 1 data one 12:07:30,935 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PersistenceEntryStore - follower793: Persisting ApplyJournalEntries with index=1 12:07:30,936 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: applyState called: one 12:07:30,936 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: fakeSnapshot purging log to 0 for term 6 12:07:30,936 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower794: Persisting ApplyJournalEntries with index=1 12:07:31,55 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 1 (of expected -1) 12:07:31,55 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower794: Lagging 0 entries behind leader leader792 and reached 1 (of expected -1) 12:07:31,175 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 1 (of expected -1) [WARN] [01/30/2025 00:07:31.175] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} [WARN] [01/30/2025 00:07:31.296] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 12:07:31,296 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 1 (of expected -1) [WARN] [01/30/2025 00:07:31.415] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 12:07:31,416 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 1 (of expected -1) 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 2 is present for follower follower793 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower793: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} [WARN] [01/30/2025 00:07:31.475] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: false, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 2 is present for follower follower793 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] [WARN] [01/30/2025 00:07:31.475] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:07:31,475 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 2 is present for follower follower793 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] [WARN] [01/30/2025 00:07:31.476] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: false, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:07:31,476 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:31,476 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Number of entries to be appended = 1 12:07:31,476 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:07:31,476 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Append entry to log two 12:07:31,476 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: 0 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 2 is present for follower follower793 [WARN] [01/30/2025 00:07:31.476] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:31,476 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Log size is now 2 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 12:07:31,476 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower793, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: false, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:07:31,476 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 1 (of expected -1) 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 2, leaderLastIndex: 6, leaderSnapShotIndex: 0 [WARN] [01/30/2025 00:07:31.476] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=1, prevLogTerm=6, leaderCommit=-1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 2 is present for follower follower793 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower793 updated: matchIndex: 2, nextIndex: 3 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 3, leaderLastIndex: 6, leaderSnapShotIndex: 0 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 3 is present for follower follower793 12:07:31,476 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:31,476 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower793: AppendEntries{term=6, leaderId=leader792, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]} 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Setting last applied to 2 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from 1 to 2 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Applying state for log index 2 data two 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: applyState called: two 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: fakeSnapshot purging log to 1 for term 6 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader792, prevLogIndex=2, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three], SimpleReplicatedLogEntry [index=4, term=6, payload=four], SimpleReplicatedLogEntry [index=5, term=6, payload=five], SimpleReplicatedLogEntry [index=6, term=6, payload=six]]} 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Number of entries to be appended = 4 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader792: Persisting ApplyJournalEntries with index=2 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Append entry to log three 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Append entry to log four 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=4, mandatoryTrim=false] 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Append entry to log five 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: lastSequenceNumber prior to capture: 8 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Append entry to log six 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:31,477 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: CaptureSnapshotReply received by actor 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Log size is now 6 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower793, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:31,477 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 1 (of expected -1) 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=6, unAppliedEntries size=4, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader792, ServerConfigPayload=null] 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower793 updated: matchIndex: 6, nextIndex: 7 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Setting last applied to 3 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from 2 to 3 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Applying state for log index 3 data three 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: applyState called: three 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 2 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader792: Persisting ApplyJournalEntries with index=3 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Setting last applied to 4 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from 3 to 4 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Applying state for log index 4 data four 12:07:31,478 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: applyState called: four 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader792: Persisting ApplyJournalEntries with index=4 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Setting last applied to 5 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from 4 to 5 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Applying state for log index 5 data five 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: applyState called: five 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader792: Persisting ApplyJournalEntries with index=5 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Commit index set to 3 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 3 (of expected -1) 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 6 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Setting last applied to 2 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from 1 to 2 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Applying state for log index 2 data two 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: applyState called: two 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Setting last applied to 3 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from 2 to 3 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Applying state for log index 3 data three 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Setting last applied to 6 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from 5 to 6 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Applying state for log index 6 data six 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: applyState called: three 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: fakeSnapshot purging log to 1 for term 6 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: applyState called: six 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Commit index set to 5 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 5 (of expected -1) 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 6 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Setting last applied to 4 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from 3 to 4 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Applying state for log index 4 data four 12:07:31,479 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - leader792: Persisting ApplyJournalEntries with index=6 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: applyState called: four 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Setting last applied to 5 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from 4 to 5 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Applying state for log index 5 data five 12:07:31,479 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: applyState called: five 12:07:31,480 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:31,480 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Snapshot success - sequence number: -1 12:07:31,480 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - follower793: Persisting ApplyJournalEntries with index=3 12:07:31,480 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SnapshotComplete received 12:07:31,480 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a snapshot response 12:07:31,480 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a journal response 12:07:31,480 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - follower793: Persisting ApplyJournalEntries with index=5 12:07:31,480 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Commit index set to 6 12:07:31,481 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 6 (of expected -1) 12:07:31,481 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 5, lastIndex(): 6 12:07:31,481 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Setting last applied to 6 12:07:31,481 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from 5 to 6 12:07:31,481 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Applying state for log index 6 data six 12:07:31,481 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: applyState called: six 12:07:31,481 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - follower793: Persisting ApplyJournalEntries with index=6 12:07:31,525 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderInstallsSnapshotWithRestartedFollowerDuringSnapshotInstallation: sending 1 more payload to trigger second snapshot 12:07:31,525 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:31,525 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:31,525 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, isSendImmediate: true 12:07:31,525 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: false, followerNextIndex: 2, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:07:31,525 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendAppendEntries: 7 is present for follower follower793 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Sending AppendEntries to follower follower793: AppendEntries{term=6, leaderId=leader792, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]} 12:07:31,526 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader792, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]} 12:07:31,526 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Number of entries to be appended = 1 12:07:31,526 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:31,526 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Append entry to log seven 12:07:31,526 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:07:31,526 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Log size is now 6 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: lastSequenceNumber prior to capture: 17 12:07:31,526 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower793, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:31,526 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 6 (of expected -1) 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower793 updated: matchIndex: 7, nextIndex: 8 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Setting last applied to 7 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Moving last applied index from 6 to 7 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Applying state for log index 7 data seven 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: applyState called: seven 12:07:31,526 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower793: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 2 12:07:31,526 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 12:07:31,527 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: CaptureSnapshotReply received by actor 12:07:31,527 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Commit index set to 7 12:07:31,527 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 7 (of expected -1) 12:07:31,527 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 12:07:31,527 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persisting of snapshot done: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=6, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two, three, four, five, six]], electionTerm=6, electionVotedFor=leader792, ServerConfigPayload=null] 12:07:31,527 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793 (Follower): Setting last applied to 7 12:07:31,527 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Moving last applied index from 6 to 7 12:07:31,527 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 6 12:07:31,527 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: Applying state for log index 7 data seven 12:07:31,527 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:07:31,527 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: applyState called: seven 12:07:31,527 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - leader792: Persisting ApplyJournalEntries with index=7 [WARN] [01/30/2025 00:07:31.527] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 12:07:31,527 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - follower793: Persisting ApplyJournalEntries with index=7 12:07:31,527 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:31,527 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Snapshot success - sequence number: -1 12:07:31,527 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SnapshotComplete received 12:07:31,528 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a snapshot response 12:07:31,528 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a journal response [WARN] [01/30/2025 00:07:31.535] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 12:07:31,578 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower794 with journal batch size 1000 [WARN] [01/30/2025 00:07:31.578] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower794]: org.opendaylight.controller.cluster.common.actor.Monitor@353d213a 12:07:31,580 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PersistenceTermInfoStore - follower794: Set currentTerm=6, votedFor=null 12:07:31,580 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PersistenceTermInfoStore - follower794: Set currentTerm=6, votedFor=leader792 12:07:31,580 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Received ReplicatedLogEntry for recovery: index: 0, size: 4 12:07:31,580 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Received ReplicatedLogEntry for recovery: index: 1, size: 3 12:07:31,580 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Received apply journal entries for recovery, applying to state: 0 to 1 12:07:31,580 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Moving last applied index from -1 to 1 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Recovery completed in 83.31 μs - Switching actor to Follower - last log index = 1, last log term = 6, snapshot index = -1, snapshot term = -1, journal size = 2 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Snapshot capture initiated after recovery due to migrated messages 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=6, lastIndex=1, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: lastSequenceNumber prior to capture: 5 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: CaptureSnapshotReply received by actor 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Persisting of snapshot done: Snapshot [lastIndex=1, lastTerm=6, lastAppliedIndex=1, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one]], electionTerm=6, electionVotedFor=leader792, ServerConfigPayload=null] 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Snapshot success - sequence number: -1 12:07:31,581 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: SnapshotComplete received 12:07:31,582 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: handled a snapshot response 12:07:31,582 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: handled a journal response 12:07:31,656 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower794: Last sync leader does not match current leader leader792, need to catch up to -1 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 7 (of expected -1) 12:07:31,656 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: fakeSnapshot purging log to 0 for term 6 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply{term=6, success=true, followerId=follower794, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5}, timeSinceLastActivity : 600, lastApplied : 7, commitIndex : 7 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Initiating install snapshot to follower follower794: follower nextIndex: 2, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 [WARN] [01/30/2025 00:07:31.656] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower794] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7337e608 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=7, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower794 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: lastSequenceNumber prior to capture: 18 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: CaptureSnapshotReply received by actor 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persisting of snapshot done: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=7, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two, three, four, five, six, seven]], electionTerm=6, electionVotedFor=leader792, ServerConfigPayload=null] 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendInstallSnapshot 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader792 (Leader): Snapshot 431 bytes, total chunks to send: 1 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader792 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): next snapshot chunk size for follower follower794: 431 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): InstallSnapshot sent to follower Vector(user, follower794), Chunk: 1/1 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:31,656 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Snapshot success - sequence number: -1 12:07:31,657 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SnapshotComplete received 12:07:31,657 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower794: Lagging -2 entries behind leader leader792 and reached 1 (of expected -1) 12:07:31,657 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): handleInstallSnapshot: InstallSnapshot{term=6, leaderId=leader792, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, chunk=1/1, lastChunkHashCode=OptionalInt[-1]} 12:07:31,657 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower794: Lagging 6 entries behind leader leader792 and reached 1 (of expected -1) 12:07:31,657 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:07:31,657 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Snapshot received from leader: leader792 12:07:31,657 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Applying snapshot on follower: org.opendaylight.controller.cluster.io.FileBackedOutputStream$1@7c3a7b6b [WARN] [01/30/2025 00:07:31.657] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower794] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1f4ac167 12:07:31,657 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Converted InstallSnapshot from leader: leader792 to state 12:07:31,657 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 5 12:07:31,657 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: SaveSnapshotSuccess received for snapshot, sequenceNr: 5 12:07:31,657 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Snapshot success - sequence number: 5 12:07:31,657 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Moving last applied index from 1 to 7 12:07:31,657 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower794: Set currentTerm=6, votedFor=leader792 12:07:31,657 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: applySnapshot called 12:07:31,657 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a snapshot response 12:07:31,657 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a journal response 12:07:31,657 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=6, followerId=follower794, chunkIndex=1, success=true} 12:07:31,658 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: SnapshotComplete received 12:07:31,658 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: handled a journal response 12:07:31,658 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleInstallSnapshotReply: InstallSnapshotReply{term=6, followerId=follower794, chunkIndex=1, success=true} 12:07:31,658 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: handled a snapshot response 12:07:31,658 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Snapshot successfully installed on follower follower794 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 12:07:31,775 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 7 (of expected -1) 12:07:31,775 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower793: fakeSnapshot purging log to 6 for term 6 [WARN] [01/30/2025 00:07:31.775] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower794] received dead letter from TestActor[pekko://test/user/leader792]: AppendEntries{term=6, leaderId=leader792, prevLogIndex=7, prevLogTerm=6, leaderCommit=7, replicatedToAllIndex=6, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} [WARN] [01/30/2025 00:07:31.781] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower794]: org.opendaylight.controller.cluster.common.actor.Monitor@18fe10ba 12:07:31,781 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower794 with journal batch size 1000 12:07:31,782 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:31,895 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower793: Lagging 0 entries behind leader leader792 and reached 7 (of expected -1) 12:07:31,895 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Term 6 in "AppendEntries{term=6, leaderId=leader792, prevLogIndex=7, prevLogTerm=6, leaderCommit=7, replicatedToAllIndex=6, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than follower's term 0 - updating term 12:07:31,895 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower794: Set currentTerm=6, votedFor=null 12:07:31,895 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): The followers log is empty and the senders prevLogIndex is 7 12:07:31,895 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=6, success=false, followerId=follower794, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:31,895 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower794: Last sync leader does not match current leader leader792, need to catch up to 7 12:07:31,895 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply{term=6, success=false, followerId=follower794, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5}, leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower794 updated: matchIndex: -1, nextIndex: 0 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): follower follower794 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Checking sendAppendEntries for follower follower794: active: true, followerNextIndex: 0, leaderLastIndex: 7, leaderSnapShotIndex: 6 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Initiating install snapshot to follower follower794: follower nextIndex: 0, leader snapshotIndex: 6, leader lastIndex: 7, leader log size: 1 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=7, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower794 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: lastSequenceNumber prior to capture: 18 [WARN] [01/30/2025 00:07:31.896] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/follower794] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5206e524 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: CaptureSnapshotReply received by actor 12:07:31,896 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Cannot append entries because the replicatedToAllIndex 6 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Persisting of snapshot done: Snapshot [lastIndex=7, lastTerm=6, lastAppliedIndex=7, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two, three, four, five, six, seven]], electionTerm=6, electionVotedFor=leader792, ServerConfigPayload=null] 12:07:31,896 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply{term=6, success=false, followerId=follower794, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 6 and term: 6 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): sendInstallSnapshot 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader792 (Leader): Snapshot 431 bytes, total chunks to send: 1 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader792 (Leader): Next chunk: total length=431, offset=0, size=431, hashCode=1645026355 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): next snapshot chunk size for follower follower794: 431 12:07:31,896 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): InstallSnapshot sent to follower Vector(user, follower794), Chunk: 1/1 12:07:31,897 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): handleInstallSnapshot: InstallSnapshot{term=6, leaderId=leader792, lastIncludedIndex=7, lastIncludedTerm=6, datasize=431, chunk=1/1, lastChunkHashCode=OptionalInt[-1]} 12:07:31,897 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:07:31,897 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply{term=6, success=false, followerId=follower794, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5}, leader snapshotIndex: 6, snapshotTerm: 6, replicatedToAllIndex: 6 12:07:31,897 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): Snapshot received from leader: leader792 12:07:31,897 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): follower follower794 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 12:07:31,897 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:31,897 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: Snapshot success - sequence number: -1 12:07:31,897 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Applying snapshot on follower: org.opendaylight.controller.cluster.io.FileBackedOutputStream$1@78e38e48 12:07:31,897 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: SnapshotComplete received 12:07:31,897 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a journal response 12:07:31,897 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Converted InstallSnapshot from leader: leader792 to state 12:07:31,897 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792: handled a snapshot response 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Snapshot success - sequence number: 1 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: Moving last applied index from -1 to 7 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - follower794: Set currentTerm=6, votedFor=null 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: applySnapshot called 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794 (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=6, followerId=follower794, chunkIndex=1, success=true} 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: SnapshotComplete received 12:07:31,898 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): handleInstallSnapshotReply: InstallSnapshotReply{term=6, followerId=follower794, chunkIndex=1, success=true} 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: handled a snapshot response 12:07:31,898 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower794: handled a journal response 12:07:31,898 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader792 (Leader): Snapshot successfully installed on follower follower794 (last chunk 1) - matchIndex set to 7, nextIndex set to 8 12:07:31,932 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower793-collector795#-802206444] 12:07:31,943 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower793] 12:07:31,943 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower794-collector796#816391211] 12:07:31,943 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower794] 12:07:31,944 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader792-collector797#1918269703] 12:07:31,944 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader792] 12:07:31,944 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower794-collector798#-1310837925] 12:07:31,944 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower794] 12:07:31,944 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower794-collector799#1227560199] 12:07:31,945 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower794] 12:07:31,946 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceededWithLaggingFollower starting [WARN] [01/30/2025 00:07:31.948] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower804]: org.opendaylight.controller.cluster.common.actor.Monitor@120e4789 12:07:31,948 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower804 with journal batch size 1000 [WARN] [01/30/2025 00:07:31.949] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower805]: org.opendaylight.controller.cluster.common.actor.Monitor@1e09b2bd 12:07:31,949 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:31,949 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower805 with journal batch size 1000 12:07:31,950 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/30/2025 00:07:31.951] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader803]: org.opendaylight.controller.cluster.common.actor.Monitor@65b4ad7d 12:07:31,951 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader803 with journal batch size 1000 12:07:31,952 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - leader803: Set currentTerm=5, votedFor=leader803 12:07:31,952 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:07:31,952 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Snapshot capture initiated after recovery due to migrated messages 12:07:31,952 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 12:07:31,952 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=-1, lastAppliedTerm=-1, lastIndex=-1, lastTerm=-1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 12:07:31,952 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: lastSequenceNumber prior to capture: 1 12:07:31,953 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: CaptureSnapshotReply received by actor 12:07:31,953 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persisting of snapshot done: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=5, electionVotedFor=leader803, ServerConfigPayload=null] 12:07:31,953 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 12:07:31,953 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:31,953 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Snapshot success - sequence number: -1 12:07:31,953 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: SnapshotComplete received 12:07:31,953 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: handled a journal response 12:07:31,954 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: handled a snapshot response 12:07:32,445 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:07:32,445 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(pekko://test@10.30.170.114:17355, Removed) 12:07:32,445 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Follower): Received ElectionTimeout - switching to Candidate 12:07:32,445 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate): Election: Candidate has following voting peers: [follower805, follower804] 12:07:32,445 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PersistenceTermInfoStore - leader803: Set currentTerm=6, votedFor=leader803 12:07:32,445 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate): Starting new election term 6 12:07:32,445 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate): Sending RequestVote{term=6, candidateId=leader803, lastLogIndex=-1, lastLogTerm=-1} to peer follower805 12:07:32,445 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate): Sending RequestVote{term=6, candidateId=leader803, lastLogIndex=-1, lastLogTerm=-1} to peer follower804 12:07:32,446 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 12:07:32,446 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:32,446 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Cluster state: [] 12:07:32,446 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:07:32,446 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader803, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:32,446 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader803, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:32,446 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower805: Set currentTerm=6, votedFor=null 12:07:32,446 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Cluster state: [] 12:07:32,446 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Candidate in requestVote:RequestVote{term=6, candidateId=leader803, lastLogIndex=-1, lastLogTerm=-1} with higher term appears reachable, updating term. 12:07:32,446 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Term 6 in "RequestVote{term=6, candidateId=leader803, lastLogIndex=-1, lastLogTerm=-1}" message is greater than follower's term 0 - updating term 12:07:32,446 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceTermInfoStore - follower804: Set currentTerm=6, votedFor=null 12:07:32,446 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): In requestVote: RequestVote{term=6, candidateId=leader803, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:32,446 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - follower805: Set currentTerm=6, votedFor=leader803 12:07:32,446 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:32,446 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): In requestVote: RequestVote{term=6, candidateId=leader803, lastLogIndex=-1, lastLogTerm=-1} - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 12:07:32,446 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceTermInfoStore - follower804: Set currentTerm=6, votedFor=leader803 12:07:32,446 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): requestVote returning: RequestVoteReply{term=6, voteGranted=true} 12:07:32,446 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate): RaftRPC message received RequestVoteReply{term=6, voteGranted=true}, my term is 6 12:07:32,446 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate): handleRequestVoteReply: RequestVoteReply{term=6, voteGranted=true}, current voteCount: 1 12:07:32,447 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Election: Leader has following peers: [follower805, follower804] 12:07:32,447 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:32,447 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:32,447 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 12:07:32,447 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower805: Last sync leader does not match current leader leader803, need to catch up to -1 12:07:32,447 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower805 updated: matchIndex: -1, nextIndex: 0 12:07:32,447 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/30/2025 00:07:32.447] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower805] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@24fb4533 12:07:32,448 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower804: Last sync leader does not match current leader leader803, need to catch up to -1 12:07:32,448 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower804 updated: matchIndex: -1, nextIndex: 0 [WARN] [01/30/2025 00:07:32.448] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower804] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@e50186 12:07:32,448 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:07:32,455 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - Leader created and elected 12:07:32,455 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persist data SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:32,455 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:32,455 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:07:32,455 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 0 is present for follower follower805 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower805: AppendEntries{term=6, leaderId=leader803, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 0 is present for follower follower804 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower804: AppendEntries{term=6, leaderId=leader803, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Number of entries to be appended = 1 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Append entry to log zero 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Log size is now 1 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower804, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:32,456 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached -1 (of expected -1) 12:07:32,456 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower804 updated: matchIndex: 0, nextIndex: 1 12:07:32,456 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:32,456 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:32,456 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:07:32,456 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Setting last applied to 0 12:07:32,456 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=6, payload=zero]]} 12:07:32,456 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from -1 to 0 12:07:32,456 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Number of entries to be appended = 1 12:07:32,456 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Applying state for log index 0 data zero 12:07:32,456 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:07:32,456 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Append entry to log zero 12:07:32,456 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:32,456 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: applyState called: zero 12:07:32,456 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Log size is now 1 12:07:32,456 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower805, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:32,456 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached -1 (of expected -1) 12:07:32,456 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PersistenceEntryStore - leader803: Persisting ApplyJournalEntries with index=0 12:07:32,457 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower805 updated: matchIndex: 0, nextIndex: 1 12:07:32,457 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:07:32,457 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:32,457 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: persist complete SimpleReplicatedLogEntry [index=0, term=6, payload=zero] 12:07:32,457 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Commit index set to 0 12:07:32,457 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 0 (of expected -1) [WARN] [01/30/2025 00:07:32.457] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/follower804] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@350c73ba 12:07:32,457 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:07:32,457 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Setting last applied to 0 12:07:32,457 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Moving last applied index from -1 to 0 12:07:32,457 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Applying state for log index 0 data zero 12:07:32,457 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: applyState called: zero 12:07:32,457 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower805: Persisting ApplyJournalEntries with index=0 [WARN] [01/30/2025 00:07:32.458] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower805] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@74b3e7 12:07:32,565 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 0 (of expected -1) 12:07:32,565 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Commit index set to 0 12:07:32,566 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 0 (of expected -1) 12:07:32,566 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:07:32,566 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Setting last applied to 0 12:07:32,566 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Moving last applied index from -1 to 0 12:07:32,566 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Applying state for log index 0 data zero 12:07:32,566 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: applyState called: zero 12:07:32,566 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower804: Persisting ApplyJournalEntries with index=0 12:07:32,686 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 0 (of expected -1) 12:07:32,686 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 0 (of expected -1) 12:07:32,806 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 0 (of expected -1) 12:07:32,925 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 0 (of expected -1) 12:07:33,45 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 0 (of expected -1) 12:07:33,113 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persist data SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:33,113 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:33,114 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:07:33,114 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:33,114 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:07:33,114 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 1 is present for follower follower804 12:07:33,114 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower804: AppendEntries{term=6, leaderId=leader803, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:33,114 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:33,114 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=0, prevLogTerm=6, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=1, term=6, payload=one]]} 12:07:33,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Number of entries to be appended = 1 12:07:33,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:07:33,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Append entry to log one 12:07:33,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:33,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Log size is now 2 12:07:33,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower804, logLastIndex=1, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:33,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 0 (of expected -1) 12:07:33,115 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower804 updated: matchIndex: 1, nextIndex: 2 12:07:33,115 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:07:33,115 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Setting last applied to 1 12:07:33,115 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from 0 to 1 12:07:33,115 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Applying state for log index 1 data one 12:07:33,115 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: applyState called: one 12:07:33,115 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: fakeSnapshot purging log to 0 for term 6 12:07:33,116 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:07:33,116 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceEntryStore - leader803: Persisting ApplyJournalEntries with index=1 12:07:33,116 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: persist complete SimpleReplicatedLogEntry [index=1, term=6, payload=one] 12:07:33,116 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Commit index set to 1 12:07:33,116 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 1 (of expected -1) 12:07:33,116 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:07:33,116 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Setting last applied to 1 12:07:33,116 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Moving last applied index from 0 to 1 12:07:33,116 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Applying state for log index 1 data one 12:07:33,116 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: applyState called: one 12:07:33,116 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: fakeSnapshot purging log to 0 for term 6 12:07:33,117 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower804: Persisting ApplyJournalEntries with index=1 12:07:33,285 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 1 (of expected -1) 12:07:33,405 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 1 (of expected -1) 12:07:33,525 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 1 (of expected -1) 12:07:33,569 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persist data SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:33,569 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:33,569 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:07:33,569 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:33,569 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:33,569 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 2 is present for follower follower804 12:07:33,570 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower804: AppendEntries{term=6, leaderId=leader803, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:33,570 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=1, prevLogTerm=6, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=2, term=6, payload=two]]} 12:07:33,570 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Number of entries to be appended = 1 12:07:33,570 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:07:33,570 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Append entry to log two 12:07:33,570 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:33,570 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Log size is now 2 12:07:33,570 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower804, logLastIndex=2, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:33,570 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 1 (of expected -1) 12:07:33,570 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower804 updated: matchIndex: 2, nextIndex: 3 12:07:33,570 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:07:33,571 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:33,571 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: persist complete SimpleReplicatedLogEntry [index=2, term=6, payload=two] 12:07:33,571 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=6, lastIndex=2, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:07:33,571 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: lastSequenceNumber prior to capture: 7 12:07:33,571 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:07:33,571 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Setting last applied to 2 12:07:33,571 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from 1 to 2 12:07:33,571 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Applying state for log index 2 data two 12:07:33,572 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: applyState called: two 12:07:33,572 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: CaptureSnapshotReply received by actor 12:07:33,572 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=6, lastAppliedIndex=1, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one]], electionTerm=6, electionVotedFor=leader803, ServerConfigPayload=null] 12:07:33,572 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: log data size 705 exceeds the memory threshold 700 - doing snapshotPreCommit with index 1 12:07:33,572 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 12:07:33,572 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PersistenceEntryStore - leader803: Persisting ApplyJournalEntries with index=2 12:07:33,572 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:33,572 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Snapshot success - sequence number: -1 12:07:33,572 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: SnapshotComplete received 12:07:33,572 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: handled a snapshot response 12:07:33,572 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: handled a journal response 12:07:33,765 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Commit index set to 2 12:07:33,765 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 2 (of expected -1) 12:07:33,765 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:07:33,765 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Setting last applied to 2 12:07:33,765 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Moving last applied index from 1 to 2 12:07:33,765 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Applying state for log index 2 data two 12:07:33,765 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: applyState called: two 12:07:33,765 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] PersistenceEntryStore - follower804: Persisting ApplyJournalEntries with index=2 12:07:33,771 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower starting 12:07:33,885 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 2 (of expected -1) 12:07:33,885 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower805: Lagging -1 entries behind leader leader803 and reached 0 (of expected -1) 12:07:33,885 AM [test-pekko.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply{term=6, success=true, followerId=follower805, logLastIndex=0, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5}, timeSinceLastActivity : 1199, lastApplied : 2, commitIndex : 2 12:07:33,885 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Initiating install snapshot to follower follower805: follower nextIndex: 1, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 12:07:33,885 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=6, lastIndex=2, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower805 12:07:33,885 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: lastSequenceNumber prior to capture: 8 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: CaptureSnapshotReply received by actor 12:07:33,886 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower805: Lagging -1 entries behind leader leader803 and reached 0 (of expected -1) 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=6, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader803, ServerConfigPayload=null] 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 6 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendInstallSnapshot 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader803 (Leader): Snapshot 345 bytes, total chunks to send: 1 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader803 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-119615070 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): next snapshot chunk size for follower follower805: 345 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): InstallSnapshot sent to follower Vector(user, follower805), Chunk: 1/1 12:07:33,886 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleInstallSnapshot: InstallSnapshot{term=6, leaderId=leader803, lastIncludedIndex=2, lastIncludedTerm=6, datasize=345, chunk=1/1, lastChunkHashCode=OptionalInt[-1]} 12:07:33,886 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower805: Lagging 2 entries behind leader leader803 and reached 0 (of expected -1) 12:07:33,886 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:07:33,886 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Snapshot received from leader: leader803 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:33,886 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Snapshot success - sequence number: -1 12:07:33,886 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Applying snapshot on follower: org.opendaylight.controller.cluster.io.FileBackedOutputStream$1@39c5ba1d 12:07:33,887 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: SnapshotComplete received 12:07:33,887 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: handled a snapshot response 12:07:33,887 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: handled a journal response 12:07:33,887 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Converted InstallSnapshot from leader: leader803 to state 12:07:33,887 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 4 12:07:33,887 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: SaveSnapshotSuccess received for snapshot, sequenceNr: 4 12:07:33,887 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Snapshot success - sequence number: 4 12:07:33,887 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Moving last applied index from 0 to 2 12:07:33,887 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] PersistenceTermInfoStore - follower805: Set currentTerm=6, votedFor=leader803 12:07:33,887 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: applySnapshot called 12:07:33,888 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleInstallSnapshot returning: InstallSnapshotReply{term=6, followerId=follower805, chunkIndex=1, success=true} 12:07:33,888 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleInstallSnapshotReply: InstallSnapshotReply{term=6, followerId=follower805, chunkIndex=1, success=true} 12:07:33,888 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Snapshot successfully installed on follower follower805 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 12:07:33,888 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: SnapshotComplete received 12:07:33,888 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: handled a snapshot response 12:07:33,888 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: handled a journal response 12:07:34,5 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 2 (of expected -1) 12:07:34,5 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: fakeSnapshot purging log to 1 for term 6 12:07:34,5 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 2 (of expected -1) 12:07:34,23 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyInstallSnapshotToLaggingFollower complete 12:07:34,23 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:34,23 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:34,23 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 3 is present for follower follower805 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower805: AppendEntries{term=6, leaderId=leader803, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]} 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 3 is present for follower follower804 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower804: AppendEntries{term=6, leaderId=leader803, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]} 12:07:34,24 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]} 12:07:34,24 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Number of entries to be appended = 1 12:07:34,24 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:07:34,24 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Append entry to log three 12:07:34,24 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:34,24 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=2, prevLogTerm=6, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]} 12:07:34,24 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Number of entries to be appended = 1 12:07:34,24 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:07:34,24 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Append entry to log three 12:07:34,24 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:34,24 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Log size is now 1 12:07:34,24 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower805, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:34,24 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 2 (of expected -1) 12:07:34,24 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Log size is now 2 12:07:34,24 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower804, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:34,24 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 2 (of expected -1) 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower805 updated: matchIndex: 3, nextIndex: 4 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower804 updated: matchIndex: 3, nextIndex: 4 12:07:34,24 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 1 12:07:34,25 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:34,25 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:34,25 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 12:07:34,25 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:07:34,25 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Setting last applied to 3 12:07:34,25 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from 2 to 3 12:07:34,25 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Applying state for log index 3 data three 12:07:34,25 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: applyState called: three 12:07:34,25 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: fakeSnapshot purging log to 2 for term 6 12:07:34,25 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PersistenceEntryStore - leader803: Persisting ApplyJournalEntries with index=3 12:07:34,125 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Commit index set to 3 12:07:34,126 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 3 (of expected -1) 12:07:34,126 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 12:07:34,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Commit index set to 3 12:07:34,126 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Setting last applied to 3 12:07:34,126 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Moving last applied index from 2 to 3 12:07:34,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 3 (of expected -1) 12:07:34,126 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Applying state for log index 3 data three 12:07:34,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 12:07:34,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Setting last applied to 3 12:07:34,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Moving last applied index from 2 to 3 12:07:34,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Applying state for log index 3 data three 12:07:34,126 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: applyState called: three 12:07:34,126 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: fakeSnapshot purging log to 2 for term 6 12:07:34,126 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: applyState called: three 12:07:34,126 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PersistenceEntryStore - follower804: Persisting ApplyJournalEntries with index=3 12:07:34,126 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower805: Persisting ApplyJournalEntries with index=3 12:07:34,175 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot starting: replicatedToAllIndex: 2 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 4 is present for follower follower805 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower805: AppendEntries{term=6, leaderId=leader803, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]} 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 4 is present for follower follower804 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower804: AppendEntries{term=6, leaderId=leader803, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]} 12:07:34,175 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]} 12:07:34,175 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Number of entries to be appended = 1 12:07:34,175 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:07:34,175 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Append entry to log four 12:07:34,175 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:34,175 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Log size is now 2 12:07:34,175 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower804, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:34,175 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 3 (of expected -1) 12:07:34,175 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower804 updated: matchIndex: 4, nextIndex: 5 12:07:34,176 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:34,176 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]} 12:07:34,176 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Number of entries to be appended = 1 12:07:34,176 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:07:34,176 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Append entry to log four 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=6, lastIndex=4, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: lastSequenceNumber prior to capture: 11 12:07:34,176 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:07:34,176 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Setting last applied to 4 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from 3 to 4 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Applying state for log index 4 data four 12:07:34,176 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Log size is now 2 12:07:34,176 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower805, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:34,176 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 3 (of expected -1) 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: applyState called: four 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: CaptureSnapshotReply received by actor 12:07:34,176 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persisting of snapshot done: Snapshot [lastIndex=4, lastTerm=6, lastAppliedIndex=3, lastAppliedTerm=6, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two, three]], electionTerm=6, electionVotedFor=leader803, ServerConfigPayload=null] 12:07:34,177 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 6 12:07:34,177 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 12:07:34,177 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower805 updated: matchIndex: 4, nextIndex: 5 12:07:34,177 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:07:34,177 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Commit index set to 4 12:07:34,177 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 4 (of expected -1) 12:07:34,177 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - leader803: Persisting ApplyJournalEntries with index=4 12:07:34,177 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 4 12:07:34,177 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Setting last applied to 4 12:07:34,177 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Moving last applied index from 3 to 4 12:07:34,177 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Applying state for log index 4 data four 12:07:34,177 AM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: applyState called: four 12:07:34,177 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: SaveSnapshotSuccess received for snapshot, sequenceNr: -1 12:07:34,177 AM [test-pekko.actor.default-dispatcher-15] [DEBUG] PersistenceEntryStore - follower805: Persisting ApplyJournalEntries with index=4 12:07:34,177 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Snapshot success - sequence number: -1 12:07:34,177 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: SnapshotComplete received 12:07:34,177 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: handled a snapshot response 12:07:34,178 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: handled a journal response 12:07:34,225 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:34,225 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:34,225 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:07:34,225 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:07:34,225 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 5 is present for follower follower805 12:07:34,225 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower805: AppendEntries{term=6, leaderId=leader803, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]} 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 5 is present for follower follower804 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower804: AppendEntries{term=6, leaderId=leader803, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]} 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]} 12:07:34,226 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=4, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]} 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Number of entries to be appended = 1 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Append entry to log five 12:07:34,226 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Number of entries to be appended = 1 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:34,226 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 12:07:34,226 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Append entry to log five 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Log size is now 3 12:07:34,226 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Commit index set to 4 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower804, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 4 (of expected -1) 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 5 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Setting last applied to 4 12:07:34,226 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Log size is now 3 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Moving last applied index from 3 to 4 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Applying state for log index 4 data four 12:07:34,226 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower805, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:34,226 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 4 (of expected -1) 12:07:34,226 AM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: applyState called: four 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower804 updated: matchIndex: 5, nextIndex: 6 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: fakeSnapshot purging log to 3 for term 6 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 3 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower805 updated: matchIndex: 5, nextIndex: 6 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 3 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, isSendImmediate: true 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 6 is present for follower follower805 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower805: AppendEntries{term=6, leaderId=leader803, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]} 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): sendAppendEntries: 6 is present for follower follower804 12:07:34,226 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Sending AppendEntries to follower follower804: AppendEntries{term=6, leaderId=leader803, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]} 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] PersistenceEntryStore - follower804: Persisting ApplyJournalEntries with index=4 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]} 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Number of entries to be appended = 1 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Append entry to log six 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Log size is now 4 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower804, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 4 (of expected -1) 12:07:34,227 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: fakeSnapshot purging log to 3 for term 6 12:07:34,227 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower804 updated: matchIndex: 6, nextIndex: 7 12:07:34,227 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:34,227 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries: AppendEntries{term=6, leaderId=leader803, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]} 12:07:34,227 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Number of entries to be appended = 1 12:07:34,227 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:34,227 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower804: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 3 12:07:34,227 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 12:07:34,227 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Append entry to log six 12:07:34,228 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:34,228 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Log size is now 4 12:07:34,228 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): handleAppendEntries returning : AppendEntriesReply{term=6, success=true, followerId=follower805, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5} 12:07:34,228 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 4 (of expected -1) 12:07:34,228 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: fakeSnapshot purging log to 3 for term 6 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower805 updated: matchIndex: 6, nextIndex: 7 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Checking sendAppendEntries for follower follower805: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 3 12:07:34,228 AM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Setting last applied to 5 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from 4 to 5 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Applying state for log index 5 data five 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: applyState called: five 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: fakeSnapshot purging log to 4 for term 6 12:07:34,228 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - leader803: Persisting ApplyJournalEntries with index=5 12:07:34,229 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 12:07:34,229 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 12:07:34,229 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Setting last applied to 6 12:07:34,229 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from 5 to 6 12:07:34,229 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Applying state for log index 6 data six 12:07:34,229 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: applyState called: six 12:07:34,229 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: fakeSnapshot purging log to 5 for term 6 12:07:34,229 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - leader803: Persisting ApplyJournalEntries with index=6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Commit index set to 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Commit index set to 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower805: Lagging 0 entries behind leader leader803 and reached 6 (of expected -1) 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower804: Lagging 0 entries behind leader leader803 and reached 6 (of expected -1) 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Setting last applied to 5 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Setting last applied to 5 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Moving last applied index from 4 to 5 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Moving last applied index from 4 to 5 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Applying state for log index 5 data five 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Applying state for log index 5 data five 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: applyState called: five 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: applyState called: five 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804 (Follower): Setting last applied to 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Moving last applied index from 5 to 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: Applying state for log index 6 data six 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805 (Follower): Setting last applied to 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Moving last applied index from 5 to 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: Applying state for log index 6 data six 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: applyState called: six 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower804: fakeSnapshot purging log to 5 for term 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: applyState called: six 12:07:34,366 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceEntryStore - follower804: Persisting ApplyJournalEntries with index=6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower805: fakeSnapshot purging log to 5 for term 6 12:07:34,366 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceEntryStore - follower805: Persisting ApplyJournalEntries with index=6 12:07:34,377 AM [main] [INFO] InMemoryJournal - Journal log for leader803: 12 = ApplyJournalEntries [toIndex=4] 13 = SimpleReplicatedLogEntry [index=5, term=6, payload=five] 14 = SimpleReplicatedLogEntry [index=6, term=6, payload=six] 15 = ApplyJournalEntries [toIndex=5] 16 = ApplyJournalEntries [toIndex=6] 12:07:34,378 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyReplicationsAndSnapshotWithNoLaggingAfterInstallSnapshot ending 12:07:34,378 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement starting: lastIndex: 6, snapshotIndex: 3, firstJournalEntryIndex: 4 [WARN] [01/30/2025 00:07:34.390] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader803]: org.opendaylight.controller.cluster.common.actor.Monitor@6710cc43 12:07:34,391 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader803 with journal batch size 1000 12:07:34,391 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: SnapshotOffer called. 12:07:34,391 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from -1 to 3 12:07:34,391 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] PersistenceTermInfoStore - leader803: Set currentTerm=6, votedFor=leader803 12:07:34,392 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader803 in 84.20 μs: snapshotIndex=3, snapshotTerm=6, journal-size=1 12:07:34,393 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Received apply journal entries for recovery, applying to state: 4 to 4 12:07:34,393 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from 3 to 4 12:07:34,393 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Received ReplicatedLogEntry for recovery: index: 5, size: 4 12:07:34,393 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Received ReplicatedLogEntry for recovery: index: 6, size: 3 12:07:34,393 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Received apply journal entries for recovery, applying to state: 5 to 5 12:07:34,393 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from 4 to 5 12:07:34,393 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Received apply journal entries for recovery, applying to state: 6 to 6 12:07:34,393 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Moving last applied index from 5 to 6 12:07:34,394 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803: Recovery completed in 2.155 ms - Switching actor to Follower - last log index = 6, last log term = 6, snapshot index = 3, snapshot term = 6, journal size = 3 12:07:34,394 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - verifyLeaderRecoveryAfterReinstatement ending 12:07:34,394 AM [main] [INFO] ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest - testLeaderSnapshotTriggeredByMemoryThresholdExceeded ending 12:07:34,394 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower804-collector806#762478537] 12:07:34,394 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Follower): Received TimeoutNow - switching to Candidate 12:07:34,394 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate): Election: Candidate has following voting peers: [] 12:07:34,394 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] PersistenceTermInfoStore - leader803: Set currentTerm=7, votedFor=leader803 12:07:34,394 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate): Starting new election term 7 12:07:34,395 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Follower) :- Switching from behavior Follower to Candidate, election term: 7 12:07:34,395 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate): Received ElectionTimeout 12:07:34,395 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Leader): Election: Leader has following peers: [] 12:07:34,395 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader803 (Candidate) :- Switching from behavior Candidate to Leader, election term: 7 12:07:34,404 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower804] 12:07:34,405 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower805-collector807#1551041388] 12:07:34,405 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower805] 12:07:34,405 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader803-collector808#287644232] 12:07:34,405 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader803] 12:07:34,405 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader803-collector809#949322898] 12:07:34,406 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader803] 12:07:34,407 AM [test-pekko.actor.default-dispatcher-16] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [01/30/2025 00:07:34.407] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [01/30/2025 00:07:34.407] [test-pekko.actor.default-dispatcher-18] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.114:17355) 12:07:34,408 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.114:17355] - Exiting completed 12:07:34,408 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.114:17355] - Shutting down... [INFO] [01/30/2025 00:07:34.408] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.114:17355] - Exiting completed [INFO] [01/30/2025 00:07:34.408] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.114:17355] - Shutting down... 12:07:34,408 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.114:17355] - Successfully shut down [INFO] [01/30/2025 00:07:34.408] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.114:17355] - Successfully shut down [INFO] [01/30/2025 00:07:34.409] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.114:17355/system/remoting-terminator] Shutting down remote daemon. 12:07:34,410 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [01/30/2025 00:07:34.410] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.114:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 12:07:34,410 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 12:07:34,412 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.