[DEBUG] [03/06/2024 13:49:20.861] [main] [EventStream(akka://test)] logger log1-TestEventListener started 01:49:20,862 PM [test-akka.actor.default-dispatcher-4] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/06/2024 13:49:20.862] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/06/2024 13:49:20.862] [main] [EventStream(akka://test)] Default Loggers started 01:49:20,877 PM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.2:25520] with UID [8836600979954582536] [INFO] [03/06/2024 13:49:20.876] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.2:25520] with UID [8836600979954582536] 01:49:20,877 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.2:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/06/2024 13:49:20.877] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.2:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/06/2024 13:49:20.879] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.2:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/06/2024 13:49:20.879] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.2:25520] - Started up successfully [INFO] [03/06/2024 13:49:20.880] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.2:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/06/2024 13:49:20.880] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.2:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:49:20,881 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.2:25520] - Registered cluster JMX MBean [akka:type=Cluster] 01:49:20,881 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.2:25520] - Started up successfully 01:49:20,881 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.2:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 01:49:20,881 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.2:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:49:20,890 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testReplicationAndSnapshots starting [WARN] [03/06/2024 13:49:20.894] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@1dc17160 [INFO] [akkaDeadLetter][03/06/2024 13:49:20.895] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower568] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:20,895 PM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower568] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:20,896 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 01:49:20,897 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:49:20,907 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower569 with journal batch size 1000 [WARN] [03/06/2024 13:49:20.907] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower569]: org.opendaylight.controller.cluster.common.actor.Monitor@2b7bb712 [INFO] [akkaDeadLetter][03/06/2024 13:49:20.907] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower569] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:20,907 PM [test-akka.actor.default-dispatcher-4] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower569] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:20,908 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/06/2024 13:49:21.008] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader567]: org.opendaylight.controller.cluster.common.actor.Monitor@5863dd87 [INFO] [akkaDeadLetter][03/06/2024 13:49:21.008] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader567] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,8 PM [test-akka.actor.default-dispatcher-4] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader567] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,9 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader567 with journal batch size 1000 01:49:21,12 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Set currentTerm=5, votedFor=leader567 01:49:21,12 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Received ReplicatedLogEntry for recovery: index: 0, size: 4 01:49:21,12 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Received ReplicatedLogEntry for recovery: index: 1, size: 3 01:49:21,12 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Received ReplicatedLogEntry for recovery: index: 2, size: 3 01:49:21,12 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Received apply journal entries for recovery, applying to state: 0 to 2 01:49:21,12 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Moving last applied index from -1 to 2 01:49:21,13 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Recovery completed in 86.50 μs - Switching actor to Follower - last log index = 2, last log term = 5, snapshot index = -1, snapshot term = -1, journal size = 3 01:49:21,108 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - verifyLeaderRecoveryAndInitialization starting 01:49:21,489 PM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:49:21,489 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.2:25520, Removed) 01:49:21,489 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Follower): Received ElectionTimeout - switching to Candidate 01:49:21,489 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Candidate): Election: Candidate has following voting peers: [follower568, follower569] 01:49:21,489 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Set currentTerm=6, votedFor=leader567 01:49:21,489 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Candidate): Starting new election term 6 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Candidate): Sending RequestVote [term=6, candidateId=leader567, lastLogIndex=2, lastLogTerm=5] to peer follower568 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Candidate): Sending RequestVote [term=6, candidateId=leader567, lastLogIndex=2, lastLogTerm=5] to peer follower569 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Follower) :- Switching from behavior Follower to Candidate, election term: 6 01:49:21,490 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:21,490 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Cluster state: [] 01:49:21,490 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader567, lastLogIndex=2, lastLogTerm=5] with higher term appears reachable, updating term. 01:49:21,490 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader567, lastLogIndex=2, lastLogTerm=5]" message is greater than follower's term 0 - updating term 01:49:21,490 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=6, votedFor=null 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:49:21,490 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): In requestVote: RequestVote [term=6, candidateId=leader567, lastLogIndex=2, lastLogTerm=5] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:21,490 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=6, votedFor=leader567 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Cluster state: [] 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Candidate in requestVote:RequestVote [term=6, candidateId=leader567, lastLogIndex=2, lastLogTerm=5] with higher term appears reachable, updating term. 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Term 6 in "RequestVote [term=6, candidateId=leader567, lastLogIndex=2, lastLogTerm=5]" message is greater than follower's term 0 - updating term 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Set currentTerm=6, votedFor=null 01:49:21,490 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): In requestVote: RequestVote [term=6, candidateId=leader567, lastLogIndex=2, lastLogTerm=5] - currentTerm: 6, votedFor: null, lastIndex: -1, lastTerm: -1 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Set currentTerm=6, votedFor=leader567 01:49:21,490 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): requestVote returning: RequestVoteReply [term=6, voteGranted=true] 01:49:21,491 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Candidate): RaftRPC message received RequestVoteReply [term=6, voteGranted=true], my term is 6 01:49:21,491 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Candidate): handleRequestVoteReply: RequestVoteReply [term=6, voteGranted=true], current voteCount: 1 01:49:21,492 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Election: Leader has following peers: [follower568, follower569] 01:49:21,492 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:49:21,492 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:49:21,492 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): The followers log is empty and the senders prevLogIndex is 1 01:49:21,492 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Candidate) :- Switching from behavior Candidate to Leader, election term: 6 01:49:21,492 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,492 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower568: Last sync leader does not match current leader leader567, need to catch up to -1 [WARN] [03/06/2024 13:49:21.492] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6652f730 01:49:21,493 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): The followers log is empty and the senders prevLogIndex is 1 01:49:21,493 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=6, success=false, followerId=follower569, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,493 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower569: Last sync leader does not match current leader leader567, need to catch up to -1 01:49:21,493 PM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower568] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,494 PM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower569] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,495 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 01:49:21,495 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: -1, nextIndex: 0 01:49:21,495 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): follower follower568 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 01:49:21,495 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:49:21,495 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 0 is present for follower follower568 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader567, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=5, payload=zero], SimpleReplicatedLogEntry [index=1, term=5, payload=one], SimpleReplicatedLogEntry [index=2, term=5, payload=two]]] 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=5, payload=zero], SimpleReplicatedLogEntry [index=1, term=5, payload=one], SimpleReplicatedLogEntry [index=2, term=5, payload=two]]] 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 3 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log zero 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=5, payload=zero] 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log one 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=5, payload=one] 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log two 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=5, payload=two] 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 3 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 2 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower568, logLastIndex=2, logLastTerm=5, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 2 (of expected -1) 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 0 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 0 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 0 data zero 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: zero 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 1 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 0 to 1 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 1 data one 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: one 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 2 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 1 to 2 [INFO] [akkaDeadLetter][03/06/2024 13:49:21.492] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower568] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower568] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 2 data two 01:49:21,496 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: two [WARN] [03/06/2024 13:49:21.496] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower569] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@69d10089 [INFO] [akkaDeadLetter][03/06/2024 13:49:21.493] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower569] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower569] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,497 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=6, success=false, followerId=follower569, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 01:49:21,497 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower569 updated: matchIndex: -1, nextIndex: 0 01:49:21,497 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): follower follower569 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 01:49:21,497 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:49:21,497 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 0 is present for follower follower569 01:49:21,497 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower569: AppendEntries [leaderId=leader567, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=5, payload=zero], SimpleReplicatedLogEntry [index=1, term=5, payload=one], SimpleReplicatedLogEntry [index=2, term=5, payload=two]]] 01:49:21,497 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 2, nextIndex: 3 01:49:21,497 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=5, payload=zero], SimpleReplicatedLogEntry [index=1, term=5, payload=one], SimpleReplicatedLogEntry [index=2, term=5, payload=two]]] 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Number of entries to be appended = 3 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Append entry to log zero 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=5, payload=zero] 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Append entry to log one 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=5, payload=one] 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Append entry to log two 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=5, payload=two] 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Log size is now 3 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Commit index set to 2 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower569, logLastIndex=2, logLastTerm=5, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 2 (of expected -1) 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Setting last applied to 0 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Moving last applied index from -1 to 0 01:49:21,497 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower569 updated: matchIndex: 2, nextIndex: 3 01:49:21,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Applying state for log index 0 data zero 01:49:21,498 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: fakeSnapshot purging log to 1 for term 6 01:49:21,498 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:49:21,498 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: applyState called: zero 01:49:21,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Setting last applied to 1 01:49:21,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Moving last applied index from 0 to 1 01:49:21,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Applying state for log index 1 data one 01:49:21,498 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: applyState called: one 01:49:21,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Setting last applied to 2 01:49:21,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Moving last applied index from 1 to 2 01:49:21,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Applying state for log index 2 data two 01:49:21,498 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: applyState called: two 01:49:21,498 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=0, term=5, payload=zero] 01:49:21,498 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=1, term=5, payload=one] 01:49:21,498 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=2, term=5, payload=two] 01:49:21,498 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=2 [WARN] [03/06/2024 13:49:21.498] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3200af46 [INFO] [akkaDeadLetter][03/06/2024 13:49:21.499] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower568] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower568] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,499 PM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower568] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,499 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: persist complete SimpleReplicatedLogEntry [index=0, term=5, payload=zero] 01:49:21,499 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: persist complete SimpleReplicatedLogEntry [index=1, term=5, payload=one] 01:49:21,499 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: persist complete SimpleReplicatedLogEntry [index=2, term=5, payload=two] 01:49:21,499 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Persisting ApplyJournalEntries with index=2 [WARN] [03/06/2024 13:49:21.499] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower569] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6dd5a1b3 [INFO] [akkaDeadLetter][03/06/2024 13:49:21.499] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower569] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower569] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,499 PM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower569] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:21,522 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - verifyLeaderRecoveryAndInitialization ending 01:49:21,522 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testFirstSnapshot starting 01:49:21,522 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persist data SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:49:21,522 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:49:21,522 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:49:21,522 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 01:49:21,522 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 3 is present for follower follower568 01:49:21,522 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader567, prevLogIndex=2, prevLogTerm=5, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:49:21,523 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: 1 01:49:21,523 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 3 is present for follower follower569 01:49:21,523 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower569: AppendEntries [leaderId=leader567, prevLogIndex=2, prevLogTerm=5, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:49:21,524 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:49:21,524 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=5, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:49:21,524 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: lastSequenceNumber prior to capture: 7 01:49:21,524 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: CaptureSnapshotReply received by actor 01:49:21,524 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=5, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader567, ServerConfigPayload=null] 01:49:21,524 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 5 01:49:21,524 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:49:21,524 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Snapshot success - sequence number: 7 01:49:21,525 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: SnapshotComplete received 01:49:21,525 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: handled a snapshot response 01:49:21,525 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: handled a journal response 01:49:21,608 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 3 is present for follower follower568 01:49:21,608 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 3 is present for follower follower569 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 3 is present for follower follower568 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader567, prevLogIndex=2, prevLogTerm=5, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 3 is present for follower follower569 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower569: AppendEntries [leaderId=leader567, prevLogIndex=2, prevLogTerm=5, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=2, prevLogTerm=5, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 1 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log three 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 4 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower568, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 2 (of expected -1) 01:49:21,729 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: fakeSnapshot purging log to 1 for term 6 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=2, prevLogTerm=5, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=6, payload=three]]] 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Number of entries to be appended = 1 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Append entry to log three 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Log size is now 4 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower569, logLastIndex=3, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 2 (of expected -1) 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: fakeSnapshot purging log to 1 for term 6 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 3, nextIndex: 4 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Setting last applied to 3 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Moving last applied index from 2 to 3 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Applying state for log index 3 data three 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: applyState called: three 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: fakeSnapshot purging log to 2 for term 6 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower569 updated: matchIndex: 3, nextIndex: 4 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 01:49:21,730 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persisting ApplyJournalEntries with index=3 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:49:21,732 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=3, term=6, payload=three] 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=5, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: lastSequenceNumber prior to capture: 7 01:49:21,732 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=5, lastIndex=3, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:49:21,732 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: lastSequenceNumber prior to capture: 7 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Commit index set to 3 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 3 (of expected -1) 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Setting last applied to 3 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Moving last applied index from 2 to 3 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Applying state for log index 3 data three 01:49:21,732 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 3 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: applyState called: three 01:49:21,732 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 3 (of expected -1) 01:49:21,732 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 01:49:21,732 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 3 01:49:21,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: CaptureSnapshotReply received by actor 01:49:21,732 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 2 to 3 01:49:21,732 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 3 data three 01:49:21,733 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=5, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader567, ServerConfigPayload=null] 01:49:21,733 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 5 01:49:21,733 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: three 01:49:21,733 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Persisting ApplyJournalEntries with index=3 01:49:21,733 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: CaptureSnapshotReply received by actor 01:49:21,733 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=6, lastAppliedIndex=2, lastAppliedTerm=5, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=6, electionVotedFor=leader567, ServerConfigPayload=null] 01:49:21,733 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 5 01:49:21,733 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=3 01:49:21,733 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:49:21,733 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Snapshot success - sequence number: 7 01:49:21,733 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: SnapshotComplete received 01:49:21,733 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:49:21,733 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Snapshot success - sequence number: 7 01:49:21,734 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotComplete received 01:49:21,734 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: handled a snapshot response 01:49:21,734 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a snapshot response 01:49:21,734 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: handled a journal response 01:49:21,734 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a journal response 01:49:21,775 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testFirstSnapshot ending 01:49:21,776 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testSubsequentReplications starting 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persist data SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 4 is present for follower follower568 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader567, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 4 is present for follower follower569 01:49:21,776 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower569: AppendEntries [leaderId=leader567, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:49:21,776 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 1 01:49:21,776 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:49:21,776 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log four 01:49:21,776 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persist data SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:49:21,776 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 3 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:49:21,776 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower568, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,776 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 3 (of expected -1) 01:49:21,776 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: fakeSnapshot purging log to 2 for term 6 01:49:21,776 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 4 is present for follower follower568 01:49:21,777 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=3, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=6, payload=four]]] 01:49:21,777 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Number of entries to be appended = 1 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 01:49:21,777 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 4 is present for follower follower569 01:49:21,777 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Append entry to log four 01:49:21,777 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:49:21,777 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Log size is now 3 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 4, nextIndex: 5 01:49:21,777 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower569, logLastIndex=4, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,777 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 3 (of expected -1) 01:49:21,777 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: fakeSnapshot purging log to 2 for term 6 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 5 is present for follower follower568 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader567, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower569 updated: matchIndex: 4, nextIndex: 5 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: 2 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 5 is present for follower follower569 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower569: AppendEntries [leaderId=leader567, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:49:21,777 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persist data SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:49:21,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Replicate message: identifier: MockIdentifier{value=six}, logIndex: 6, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:49:21,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:49:21,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Number of entries to be appended = 1 01:49:21,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 01:49:21,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Append entry to log five 01:49:21,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 5 is present for follower follower568 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 5, leaderLastIndex: 6, leaderSnapShotIndex: 2 01:49:21,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Log size is now 3 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 5 is present for follower follower569 01:49:21,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower569, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 3 (of expected -1) 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower569 updated: matchIndex: 5, nextIndex: 6 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 2 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 6 is present for follower follower569 01:49:21,777 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower569: AppendEntries [leaderId=leader567, prevLogIndex=5, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:49:21,778 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: persist complete SimpleReplicatedLogEntry [index=4, term=6, payload=four] 01:49:21,778 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 01:49:21,778 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Setting last applied to 4 01:49:21,778 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Moving last applied index from 3 to 4 01:49:21,778 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Applying state for log index 4 data four 01:49:21,778 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:49:21,778 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=5, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:49:21,778 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Number of entries to be appended = 1 01:49:21,778 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 01:49:21,778 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Append entry to log six 01:49:21,778 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:49:21,778 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Log size is now 4 01:49:21,778 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower569, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,778 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 3 (of expected -1) 01:49:21,778 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=4, prevLogTerm=6, leaderCommit=3, replicatedToAllIndex=2, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=6, payload=five]]] 01:49:21,778 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 1 01:49:21,778 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 01:49:21,778 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log five 01:49:21,778 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:49:21,778 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 3 01:49:21,778 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: applyState called: four 01:49:21,778 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower568, logLastIndex=5, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,778 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 3 (of expected -1) 01:49:21,778 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: fakeSnapshot purging log to 3 for term 6 01:49:21,778 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower569 updated: matchIndex: 6, nextIndex: 7 01:49:21,778 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 3 01:49:21,778 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persisting ApplyJournalEntries with index=4 01:49:21,778 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 5, nextIndex: 6 01:49:21,778 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 6, leaderLastIndex: 6, leaderSnapShotIndex: 3 01:49:21,778 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 6 is present for follower follower568 01:49:21,778 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader567, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:49:21,783 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:49:21,783 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 01:49:21,783 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Setting last applied to 5 01:49:21,783 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Moving last applied index from 4 to 5 01:49:21,783 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Applying state for log index 5 data five 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: applyState called: five 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: fakeSnapshot purging log to 4 for term 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persisting ApplyJournalEntries with index=5 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Commit index set to 4 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 4 (of expected -1) 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Applying to log - commitIndex: 6, lastAppliedIndex: 5 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Setting last applied to 4 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Moving last applied index from 3 to 4 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Applying state for log index 4 data four 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Setting last applied to 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Moving last applied index from 5 to 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Applying state for log index 6 data six 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: applyState called: six 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: fakeSnapshot purging log to 5 for term 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: applyState called: four 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: fakeSnapshot purging log to 3 for term 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Persisting ApplyJournalEntries with index=4 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persisting ApplyJournalEntries with index=6 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=5, term=6, payload=five] 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=5, prevLogTerm=6, leaderCommit=4, replicatedToAllIndex=3, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=6, term=6, payload=six]]] 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 1 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: 5, entries to be added from: 0 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log six 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 4 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 4 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower568, logLastIndex=6, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 4 (of expected -1) 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Commit index set to 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 4 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 3 to 4 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 6 (of expected -1) 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 4 data four 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Setting last applied to 5 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Moving last applied index from 4 to 5 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: four 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Applying state for log index 5 data five 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: fakeSnapshot purging log to 3 for term 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: applyState called: five 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Setting last applied to 6 01:49:21,784 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 6, nextIndex: 7 01:49:21,784 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Moving last applied index from 5 to 6 01:49:21,785 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Applying state for log index 6 data six 01:49:21,785 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 7, leaderLastIndex: 6, leaderSnapShotIndex: 5 01:49:21,785 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: applyState called: six 01:49:21,785 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: fakeSnapshot purging log to 5 for term 6 01:49:21,785 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Persisting ApplyJournalEntries with index=6 01:49:21,785 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=6, term=6, payload=six] 01:49:21,785 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=4 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 6 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 6 (of expected -1) 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 6, context.getLastApplied(): 4, lastIndex(): 6 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 5 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 4 to 5 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 5 data five 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: five 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 6 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 5 to 6 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 6 data six 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: six 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: fakeSnapshot purging log to 5 for term 6 01:49:21,786 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=6 01:49:21,826 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testSubsequentReplications ending 01:49:21,827 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testSecondSnapshot starting 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persist data SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Replicate message: identifier: MockIdentifier{value=seven}, logIndex: 7, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 5 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 7 is present for follower follower568 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader567, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=5, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 7, leaderLastIndex: 7, leaderSnapShotIndex: 5 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): sendAppendEntries: 7 is present for follower follower569 01:49:21,827 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=5, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Sending AppendEntries to follower follower569: AppendEntries [leaderId=leader567, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=5, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 01:49:21,827 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 1 01:49:21,827 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 01:49:21,827 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log seven 01:49:21,827 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:49:21,827 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 2 01:49:21,827 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries: AppendEntries [leaderId=leader567, prevLogIndex=6, prevLogTerm=6, leaderCommit=6, replicatedToAllIndex=5, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=7, term=6, payload=seven]]] 01:49:21,827 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower568, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,827 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 6 (of expected -1) 01:49:21,827 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Number of entries to be appended = 1 01:49:21,827 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): After cleanup, lastIndex: 6, entries to be added from: 0 01:49:21,827 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Append entry to log seven 01:49:21,827 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Append log entry and persist SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 7, nextIndex: 8 01:49:21,827 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Log size is now 2 01:49:21,827 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): handleAppendEntries returning : AppendEntriesReply [term=6, success=true, followerId=follower569, logLastIndex=7, logLastTerm=6, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:49:21,827 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 5 01:49:21,827 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 6 (of expected -1) 01:49:21,828 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower569 updated: matchIndex: 7, nextIndex: 8 01:49:21,828 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Checking sendAppendEntries for follower follower569: active: true, followerNextIndex: 8, leaderLastIndex: 7, leaderSnapShotIndex: 5 01:49:21,828 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:49:21,828 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:49:21,828 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: lastSequenceNumber prior to capture: 14 01:49:21,828 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:49:21,828 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: CaptureSnapshotReply received by actor 01:49:21,828 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:49:21,828 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: lastSequenceNumber prior to capture: 14 01:49:21,828 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: CaptureSnapshotReply received by actor 01:49:21,828 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: 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=leader567, ServerConfigPayload=null] 01:49:21,828 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 6 01:49:21,828 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: 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=leader567, ServerConfigPayload=null] 01:49:21,828 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 6 01:49:21,828 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: persist complete SimpleReplicatedLogEntry [index=7, term=6, payload=seven] 01:49:21,828 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=6, lastAppliedTerm=6, lastIndex=7, lastTerm=6, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:49:21,828 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: lastSequenceNumber prior to capture: 15 01:49:21,828 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Applying to log - commitIndex: 7, lastAppliedIndex: 6 01:49:21,828 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567 (Leader): Setting last applied to 7 01:49:21,828 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Moving last applied index from 6 to 7 01:49:21,828 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Applying state for log index 7 data seven 01:49:21,828 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 01:49:21,828 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Snapshot success - sequence number: 14 01:49:21,829 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: applyState called: seven 01:49:21,829 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotComplete received 01:49:21,829 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Persisting ApplyJournalEntries with index=7 01:49:21,829 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 01:49:21,829 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Snapshot success - sequence number: 14 01:49:21,829 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a journal response 01:49:21,829 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: SnapshotComplete received 01:49:21,829 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a snapshot response 01:49:21,829 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: handled a snapshot response 01:49:21,829 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: handled a journal response 01:49:21,969 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 7 01:49:21,969 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Commit index set to 7 01:49:21,969 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 7 (of expected -1) 01:49:21,969 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 7 (of expected -1) 01:49:21,969 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 01:49:21,969 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 7, context.getLastApplied(): 6, lastIndex(): 7 01:49:21,969 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 7 01:49:21,969 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569 (Follower): Setting last applied to 7 01:49:21,969 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 6 to 7 01:49:21,969 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Moving last applied index from 6 to 7 01:49:21,969 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 7 data seven 01:49:21,969 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Applying state for log index 7 data seven 01:49:21,969 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: seven 01:49:21,969 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: applyState called: seven 01:49:21,970 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: Persisting ApplyJournalEntries with index=7 01:49:21,970 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=7 01:49:21,979 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: CaptureSnapshotReply received by actor 01:49:21,979 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: 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=leader567, ServerConfigPayload=null] 01:49:21,979 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 6 01:49:21,979 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: SaveSnapshotSuccess received for snapshot, sequenceNr: 15 01:49:21,979 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Snapshot success - sequence number: 15 01:49:21,979 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: SnapshotComplete received 01:49:21,980 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: handled a snapshot response 01:49:21,980 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: handled a journal response 01:49:22,89 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 7 (of expected -1) 01:49:22,89 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 7 (of expected -1) 01:49:22,89 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: fakeSnapshot purging log to 6 for term 6 01:49:22,209 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 7 (of expected -1) 01:49:22,209 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 7 (of expected -1) 01:49:22,209 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: fakeSnapshot purging log to 6 for term 6 01:49:22,209 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower569: fakeSnapshot purging log to 6 for term 6 01:49:22,329 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower569: Lagging 0 entries behind leader leader567 and reached 7 (of expected -1) 01:49:22,329 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader567 and reached 7 (of expected -1) 01:49:22,332 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testSecondSnapshot ending 01:49:22,332 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testLeaderReinstatement starting [WARN] [03/06/2024 13:49:22.345] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader567]: org.opendaylight.controller.cluster.common.actor.Monitor@81baafc [INFO] [akkaDeadLetter][03/06/2024 13:49:22.345] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader567] to Actor[akka://test/user/termination-monitor] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:22,345 PM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader567] to Actor[akka://test/user/termination-monitor] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:22,346 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader567 with journal batch size 1000 01:49:22,346 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: SnapshotOffer called. 01:49:22,346 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Moving last applied index from -1 to 6 01:49:22,346 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Set currentTerm=6, votedFor=leader567 01:49:22,347 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader567 in 153.8 μs: snapshotIndex=6, snapshotTerm=6, journal-size=1 01:49:22,348 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Received apply journal entries for recovery, applying to state: 7 to 7 01:49:22,349 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Moving last applied index from 6 to 7 01:49:22,349 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader567: Recovery completed in 2.243 ms - Switching actor to Follower - last log index = 7, last log term = 6, snapshot index = 6, snapshot term = 6, journal size = 1 01:49:22,445 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testLeaderReinstatement ending 01:49:22,445 PM [main] [INFO] ReplicationAndSnapshotsIntegrationTest - testReplicationAndSnapshots ending 01:49:22,446 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector570#-842129725] 01:49:22,457 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] 01:49:22,457 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower569-collector571#55623768] 01:49:22,457 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower569] 01:49:22,458 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader567-collector572#-666676995] 01:49:22,458 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader567] 01:49:22,458 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader567-collector573#1783549026] 01:49:22,458 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader567] [INFO] [03/06/2024 13:49:22.459] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:49:22,460 PM [test-akka.actor.default-dispatcher-4] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:49:22,461 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.2:25520] - Exiting completed 01:49:22,462 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.2:25520] - Shutting down... 01:49:22,462 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.2:25520] - Successfully shut down [WARN] [03/06/2024 13:49:22.462] [test-akka.actor.default-dispatcher-5] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.2:25520) [INFO] [03/06/2024 13:49:22.461] [test-akka.actor.internal-dispatcher-8] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.2:25520] - Exiting completed [INFO] [03/06/2024 13:49:22.461] [test-akka.actor.internal-dispatcher-8] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.2:25520] - Shutting down... [INFO] [03/06/2024 13:49:22.461] [test-akka.actor.internal-dispatcher-8] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.2:25520] - Successfully shut down [INFO] [akkaDeadLetter][03/06/2024 13:49:22.462] [test-akka.actor.default-dispatcher-15] [akka://test/system/cluster/core/daemon] Message [akka.cluster.ClusterUserAction$Leave] to Actor[akka://test/system/cluster/core/daemon#389882566] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:49:22,462 PM [test-akka.actor.default-dispatcher-15] [INFO] LocalActorRef - Message [akka.cluster.ClusterUserAction$Leave] to Actor[akka://test/system/cluster/core/daemon#389882566] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [03/06/2024 13:49:22.465] [test-akka.remote.default-remote-dispatcher-6] [akka://test@10.30.171.2:25520/system/remoting-terminator] Shutting down remote daemon. 01:49:22,466 PM [test-akka.actor.default-dispatcher-4] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 01:49:22,466 PM [test-akka.actor.default-dispatcher-4] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/06/2024 13:49:22.466] [test-akka.remote.default-remote-dispatcher-6] [akka://test@10.30.171.2:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports.