[DEBUG] [10/17/2024 10:15:12.120] [main] [EventStream(akka://test)] logger log1-TestEventListener started 10:15:12,131 AM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/17/2024 10:15:12.133] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [10/17/2024 10:15:12.133] [main] [EventStream(akka://test)] Default Loggers started [INFO] [10/17/2024 10:15:12.732] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.78:25520] with UID [5825963410650340611] 10:15:12,736 AM [test-akka.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.78:25520] with UID [5825963410650340611] [INFO] [10/17/2024 10:15:12.758] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.78:25520] - Starting up, Akka version [2.6.21] ... 10:15:12,759 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.78:25520] - Starting up, Akka version [2.6.21] ... [INFO] [10/17/2024 10:15:12.842] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.78:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [10/17/2024 10:15:12.842] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.78:25520] - Started up successfully 10:15:12,846 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.78:25520] - Registered cluster JMX MBean [akka:type=Cluster] 10:15:12,846 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.78:25520] - Started up successfully [INFO] [10/17/2024 10:15:12.918] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.78:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [10/17/2024 10:15:12.919] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.78:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 10:15:12,920 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.78:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 10:15:12,920 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.78:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 10:15:13,212 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 10:15:13,212 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/17/2024 10:15:13.289] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower2]: org.opendaylight.controller.cluster.common.actor.Monitor@16a4846d [INFO] [akkaDeadLetter][10/17/2024 10:15:13.292] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower2] 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'. 10:15:13,304 AM [test-akka.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower2] 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'. 10:15:14,330 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower2 with journal batch size 1000 [WARN] [10/17/2024 10:15:14.351] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [10/17/2024 10:15:14.352] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) 10:15:14,357 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. 10:15:14,358 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. 10:15:14,358 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. 10:15:14,358 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. 10:15:14,358 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. [WARN] [10/17/2024 10:15:14.363] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [10/17/2024 10:15:14.363] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [10/17/2024 10:15:14.363] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [INFO] [akkaDeadLetter][10/17/2024 10:15:14.356] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. [INFO] [akkaDeadLetter][10/17/2024 10:15:14.357] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. [INFO] [akkaDeadLetter][10/17/2024 10:15:14.357] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. [INFO] [akkaDeadLetter][10/17/2024 10:15:14.357] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. [INFO] [akkaDeadLetter][10/17/2024 10:15:14.357] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. 10:15:14,421 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:15:14,459 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower3 with journal batch size 1000 [WARN] [10/17/2024 10:15:14.459] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower3]: org.opendaylight.controller.cluster.common.actor.Monitor@146ca80c [INFO] [akkaDeadLetter][10/17/2024 10:15:14.460] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower3] to Actor[akka://test/user/termination-monitor] was not delivered. [7] 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'. 10:15:14,461 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower3] to Actor[akka://test/user/termination-monitor] was not delivered. [7] 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'. 10:15:14,464 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 10:15:14.573] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader1]: org.opendaylight.controller.cluster.common.actor.Monitor@3b6348bc [INFO] [akkaDeadLetter][10/17/2024 10:15:14.573] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader1] 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'. 10:15:14,574 AM [test-akka.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader1] 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'. 10:15:14,577 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader1 with journal batch size 1000 10:15:14,582 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:15:14,691 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:15:14,691 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Received TimeoutNow - switching to Candidate 10:15:14,713 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Election: Candidate has following voting peers: [follower2, follower3] 10:15:14,714 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=1, votedFor=leader1 10:15:14,716 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Starting new election term 1 10:15:14,717 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower2 10:15:14,724 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower3 10:15:14,724 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:15:14,727 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:15:14,730 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:15:14,732 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Cluster state: [] 10:15:14,733 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:15:14,733 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:15:14,733 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=null 10:15:14,733 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:15:14,733 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=leader1 10:15:14,733 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:15:14,741 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 10:15:14,741 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:15:14,741 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:15:14,741 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=null 10:15:14,741 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:15:14,741 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=leader1 10:15:14,741 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:15:14,751 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:15:14,751 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:15:14,759 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Election: Leader has following peers: [follower2, follower3] 10:15:14,759 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:14,760 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:14,760 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:15:14,763 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader leader1, need to catch up to -1 10:15:14,764 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: -1, nextIndex: 0 10:15:14,764 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/17/2024 10:15:14.768] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@eb21fa1 [INFO] [akkaDeadLetter][10/17/2024 10:15:14.768] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower3] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] 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'. 10:15:14,768 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] 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'. 10:15:14,769 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower2: Last sync leader does not match current leader leader1, need to catch up to -1 [WARN] [10/17/2024 10:15:14.769] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower2] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@39c510b0 10:15:14,772 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: -1, nextIndex: 0 [INFO] [akkaDeadLetter][10/17/2024 10:15:14.773] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower2] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:15:14,773 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:15:14,776 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:14,810 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 10:15:14,812 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:14,817 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:14,818 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:14,821 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:14,821 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower2 10:15:14,821 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:14,829 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:14,829 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower3 10:15:14,829 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:14,829 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:14,829 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 10:15:14,829 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:15:14,830 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log zero 10:15:14,830 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:14,830 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 1 10:15:14,831 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:14,831 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 10:15:14,832 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:15:14,832 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log zero 10:15:14,832 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:14,832 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 1 10:15:14,832 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower3, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:14,842 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 10:15:14,842 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 0, nextIndex: 1 10:15:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:14,843 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:15:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 0 10:15:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from -1 to 0 10:15:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 0 data zero [WARN] [10/17/2024 10:15:14.843] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4a3ebb14 10:15:14,844 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: zero 10:15:14,830 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower2, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:14,844 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 10:15:14,844 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=0 10:15:14,845 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 0, nextIndex: 1 10:15:14,845 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:14,845 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [10/17/2024 10:15:14.846] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower2] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@73338e0d 10:15:14,852 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Commit index set to 0 10:15:14,852 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 10:15:14,853 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:15:14,853 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Setting last applied to 0 10:15:14,853 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from -1 to 0 10:15:14,853 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 0 data zero 10:15:14,853 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: zero 10:15:14,853 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=0 10:15:14,997 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 10:15:14,998 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 0 10:15:14,998 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 10:15:14,999 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:15:14,999 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 0 10:15:14,999 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from -1 to 0 10:15:14,999 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 0 data zero 10:15:15,0 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: zero 10:15:15,7 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=0 10:15:15,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:15,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:15,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:15,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:15,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower2 10:15:15,22 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:15,23 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:15,23 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower3 10:15:15,23 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:15,23 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:15,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 10:15:15,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:15:15,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log one 10:15:15,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:15,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 2 10:15:15,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower2, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:15,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 10:15:15,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:15,25 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 1, nextIndex: 2 10:15:15,25 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:15,27 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:15,27 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:15:15,27 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 1 10:15:15,27 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 0 to 1 10:15:15,27 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 1 data one 10:15:15,28 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: one 10:15:15,28 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:15,28 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 0 for term 1 10:15:15,29 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=1 10:15:15,24 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 10:15:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:15:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log one 10:15:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 2 10:15:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower3, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 10:15:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 10:15:15,32 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:15:15,33 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:15,82 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 10:15:15,84 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 10:15:15,84 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:15:15,84 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:15:15,85 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:15,85 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:15,85 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 10:15:15,85 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:15,86 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:15,86 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 10:15:15,86 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:15,88 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:15:15,237 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 10:15:15,238 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:15,239 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 10:15:15,239 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:15,357 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 10:15:15,357 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:15,358 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 10:15:15,358 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:15,958 AM [test-akka.actor.default-dispatcher-6] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: At least 1 followers need to be active, Switching leader1 from Leader to IsolatedLeader 10:15:15,960 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Election: Leader has following peers: [follower2, follower3] 10:15:15,960 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:15,960 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:15,961 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 10:15:15,963 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower2 10:15:15,964 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:15:15,964 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Received TimeoutNow - switching to Candidate 10:15:15,964 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Election: Candidate has following voting peers: [follower3, leader1] 10:15:15,964 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=2, votedFor=follower2 10:15:15,965 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Starting new election term 2 10:15:15,965 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer follower3 10:15:15,965 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:15:15,965 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 10:15:15,965 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 10:15:15,965 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 10:15:15,965 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=null 10:15:15,966 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 10:15:15,966 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=follower2 10:15:15,966 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:15:15,968 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer leader1 10:15:15,968 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:15:15,970 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:15:15,970 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:15:15,970 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 10:15:15,973 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Election: Leader has following peers: [follower3, leader1] 10:15:15,973 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:15,973 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:15,974 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader follower2, need to catch up to -1 [WARN] [10/17/2024 10:15:15.975] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@74d79710 10:15:15,976 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 10:15:15,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 10:15:15,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:15:15,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:15,977 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 0 (of expected -1) [WARN] [10/17/2024 10:15:15.977] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@66be4e23 10:15:15,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:15,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:15,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Replicate message: identifier: null, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.persisted.NoopPayload, isSendImmediate: true 10:15:15,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:15,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 10:15:15,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=follower2, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3]]] 10:15:15,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:15,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3]]] 10:15:15,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 10:15:15,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:15:15,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:15,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:15,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 3 10:15:15,980 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower3, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:15,980 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 0 (of expected -1) 10:15:15,980 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:15:15,980 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 10:15:15,980 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 2, nextIndex: 3 10:15:15,980 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:15:15,980 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:15,982 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:15,982 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:15:15,982 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 10:15:15,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 1 10:15:15,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 0 to 1 10:15:15,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 1 data one 10:15:15,984 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: one 10:15:15,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 2 10:15:15,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 1 to 2 10:15:15,984 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:15,985 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 10:15:15,985 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Election: Leader has following peers: [leader1, follower3] 10:15:15,986 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:15,986 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:15,986 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 10:15:15,986 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 2 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 1 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 0 to 1 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 1 data one 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: one 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 2 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 1 to 2 10:15:15,987 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:15,988 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=2 10:15:15,988 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=2 10:15:16,29 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 10:15:16,30 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:16,30 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:16,30 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:16,31 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:15:16,31 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:15:16,31 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 3 is present for follower follower3 10:15:16,31 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=follower2, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:15:16,32 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:15:16,32 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 10:15:16,33 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 10:15:16,34 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log two-new 10:15:16,34 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:16,34 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 4 10:15:16,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower3, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:16,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) 10:15:16,35 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 3, nextIndex: 4 10:15:16,36 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:15:16,37 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:16,37 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 10:15:16,37 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Setting last applied to 3 10:15:16,37 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 2 to 3 10:15:16,37 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 3 data two-new 10:15:16,38 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:16,38 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: two-new 10:15:16,39 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=3 10:15:16,217 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 3 10:15:16,218 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,218 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 10:15:16,218 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 3 10:15:16,218 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 2 to 3 10:15:16,218 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 3 data two-new 10:15:16,219 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: two-new 10:15:16,219 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=3 10:15:16,253 AM [main] [INFO] IsolationScenarioTest - Removing isolation 10:15:16,317 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Cannot append entries because sender's term 1 is less than 2 10:15:16,318 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cannot append entries because sender's term 1 is less than 2 10:15:16,318 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower2, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 10:15:16,318 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=2, votedFor=null 10:15:16,319 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 10:15:16,340 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Last sync leader does not match current leader follower2, need to catch up to -1 10:15:16,341 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,341 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply: follower leader1 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 10:15:16,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:15:16,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 1 is present for follower leader1 10:15:16,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Sending AppendEntries to follower leader1: AppendEntries [leaderId=follower2, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] [WARN] [10/17/2024 10:15:16.343] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@43ce1351 10:15:16,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:15:16,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Number of entries to be appended = 3 10:15:16,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 10:15:16,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] is present: existingEntryTerm: 1 10:15:16,344 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 10:15:16,344 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:15:16,344 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:16,344 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:16,344 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log two-new 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Log size is now 3 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Commit index set to 3 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader1, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 2 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 1 to 2 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 3 10:15:16,345 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 2 to 3 10:15:16,346 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 3 data two-new 10:15:16,346 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: two-new 10:15:16,347 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader1 updated: matchIndex: 3, nextIndex: 4 10:15:16,347 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: fakeSnapshot purging log to 2 for term 2 10:15:16,347 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 10:15:16,351 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:16,351 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:16,353 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=2, lastIndex=3, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 10:15:16,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: lastSequenceNumber prior to capture: 10 10:15:16,366 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=3 10:15:16,366 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: CaptureSnapshotReply received by actor 10:15:16,375 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=2, lastAppliedIndex=3, lastAppliedTerm=2, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two-new]], electionTerm=2, electionVotedFor=null, ServerConfigPayload=null] 10:15:16,380 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 [WARN] [10/17/2024 10:15:16.380] [test-akka.actor.default-dispatcher-5] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@cc784ee 10:15:16,381 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 10:15:16,381 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Snapshot success - sequence number: 10 10:15:16,383 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SnapshotComplete received 10:15:16,386 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a snapshot response 10:15:16,394 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a journal response 10:15:16,457 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,457 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 2 for term 2 10:15:16,457 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,457 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: fakeSnapshot purging log to 2 for term 2 10:15:16,577 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,578 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,697 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,698 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,817 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,937 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:16,938 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,57 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,57 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,179 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,179 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,297 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,298 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,417 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,418 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,537 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,537 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,658 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,658 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,777 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,777 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,897 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:17,897 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,17 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,17 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,136 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,137 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,257 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,257 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,377 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,497 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,497 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,617 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,736 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,736 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,857 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,857 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,977 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:18,977 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,97 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,97 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,217 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,217 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,337 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,457 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,457 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,577 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,577 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,697 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,697 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,818 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,818 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,937 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:19,937 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,57 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,177 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,177 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,297 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,297 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,417 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,417 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,537 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,537 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,657 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,657 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,777 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,897 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:20,897 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,18 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,137 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,137 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,257 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,258 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,469 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 10:15:21,483 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-notifier4#1388936136] 10:15:21,497 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,498 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 10:15:21,514 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-collector5#857079199] 10:15:21,515 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower2] 10:15:21,516 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower3-collector6#17037516] 10:15:21,517 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower3] 10:15:21,517 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-notifier7#1394362816] 10:15:21,518 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-collector8#1011413901] 10:15:21,518 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader1] 10:15:21,522 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 10:15:21,522 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/17/2024 10:15:21.530] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower10]: org.opendaylight.controller.cluster.common.actor.Monitor@60b7f9a5 10:15:21,531 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower10 with journal batch size 1000 10:15:21,534 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 10:15:21.640] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower11]: org.opendaylight.controller.cluster.common.actor.Monitor@743dbea4 10:15:21,641 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower11 with journal batch size 1000 10:15:21,646 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 10:15:21.749] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader9]: org.opendaylight.controller.cluster.common.actor.Monitor@125dca57 10:15:21,750 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader9 with journal batch size 1000 10:15:21,759 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:15:21,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:15:21,849 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Received TimeoutNow - switching to Candidate 10:15:21,850 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Election: Candidate has following voting peers: [follower10, follower11] 10:15:21,850 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=1, votedFor=leader9 10:15:21,850 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Starting new election term 1 10:15:21,850 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower10 10:15:21,850 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower11 10:15:21,850 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:15:21,851 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Cluster state: [] 10:15:21,851 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:15:21,851 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:15:21,851 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:15:21,851 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=null 10:15:21,851 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:15:21,851 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=leader9 10:15:21,851 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:15:21,852 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:15:21,852 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 10:15:21,852 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:15:21,852 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:15:21,852 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=null 10:15:21,852 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:15:21,852 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=leader9 10:15:21,852 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:15:21,856 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:15:21,856 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:15:21,856 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Election: Leader has following peers: [follower10, follower11] 10:15:21,856 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:21,857 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:21,857 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:15:21,857 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader leader9, need to catch up to -1 10:15:21,857 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower10: Last sync leader does not match current leader leader9, need to catch up to -1 10:15:21,857 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/17/2024 10:15:21.857] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@57d830fa 10:15:21,857 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:21,857 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/17/2024 10:15:21.857] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower10] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@67b78b32 10:15:21,857 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:21,858 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 10:15:21,859 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:21,859 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:21,859 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:21,859 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:21,859 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower10 10:15:21,859 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:21,859 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:21,859 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 10:15:21,859 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:21,860 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:21,860 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:21,860 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:21,860 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:21,860 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower10 10:15:21,860 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:21,860 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 10:15:21,860 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:21,860 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:21,860 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 10:15:21,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:15:21,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log zero 10:15:21,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:21,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 1 10:15:21,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower11, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:21,861 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 10:15:21,861 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 0, nextIndex: 1 10:15:21,860 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:21,861 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:15:21,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 10:15:21,861 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 0 10:15:21,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:15:21,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log zero 10:15:21,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:21,861 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from -1 to 0 10:15:21,861 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 0 data zero 10:15:21,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 1 10:15:21,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower10, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:21,861 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 10:15:21,861 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: zero 10:15:21,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:21,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower11 10:15:21,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:21,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 0, nextIndex: 1 10:15:21,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:21,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower10 10:15:21,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:21,862 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=0 10:15:21,863 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:21,865 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:21,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:21,865 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:21,865 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 10:15:21,865 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:15:21,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:21,865 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log one 10:15:21,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 10:15:21,865 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:21,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:15:21,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log one 10:15:21,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:21,865 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 10:15:21,865 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 0 10:15:21,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 2 10:15:21,865 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 0 10:15:21,865 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower11, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:21,866 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower10, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:21,866 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 0 (of expected -1) 10:15:21,866 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 0 (of expected -1) 10:15:21,866 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:15:21,866 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:15:21,866 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 0 10:15:21,866 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 0 10:15:21,866 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from -1 to 0 10:15:21,866 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 0 data zero 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 1 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 0 to 1 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 1 data one 10:15:21,866 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: zero 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: one 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: fakeSnapshot purging log to 0 for term 1 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 1, nextIndex: 2 [WARN] [10/17/2024 10:15:21.866] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@dfe081 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:15:21,866 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=1 [WARN] [10/17/2024 10:15:21.866] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower10] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@12520f94 10:15:21,866 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from -1 to 0 10:15:21,866 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 0 data zero 10:15:21,867 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: zero 10:15:21,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:21,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=0 10:15:21,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 1 10:15:21,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 10:15:21,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 10:15:21,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 1 10:15:21,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 0 to 1 10:15:21,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 1 data one 10:15:21,869 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: one 10:15:21,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: fakeSnapshot purging log to 0 for term 1 10:15:21,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=1 10:15:21,869 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:21,870 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 1 10:15:21,870 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 10:15:21,870 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 10:15:21,870 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 1 10:15:21,870 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 0 to 1 10:15:21,870 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 1 data one 10:15:21,870 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: one 10:15:21,870 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 0 for term 1 10:15:21,870 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=0 10:15:21,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=1 10:15:21,910 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 10:15:21,910 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 10:15:21,910 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:15:21,910 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:15:21,910 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:21,911 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:21,911 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 10:15:21,911 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:21,911 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:21,911 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 10:15:21,911 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:21,913 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:15:21,976 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 10:15:21,976 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 10:15:22,97 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 10:15:22,97 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:22,97 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 10:15:22,97 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:22,216 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 10:15:22,217 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:22,217 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 10:15:22,217 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:22,457 AM [test-akka.actor.default-dispatcher-6] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: At least 1 followers need to be active, Switching leader9 from Leader to IsolatedLeader 10:15:22,457 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Election: Leader has following peers: [follower10, follower11] 10:15:22,457 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:22,457 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:22,457 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 10:15:22,470 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower10 10:15:22,470 AM [test-akka.actor.default-dispatcher-7] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:15:22,470 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Received TimeoutNow - switching to Candidate 10:15:22,470 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Election: Candidate has following voting peers: [leader9, follower11] 10:15:22,471 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=2, votedFor=follower10 10:15:22,471 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Starting new election term 2 10:15:22,471 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer leader9 10:15:22,471 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer follower11 10:15:22,471 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:15:22,471 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:15:22,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 10:15:22,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 10:15:22,472 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 10:15:22,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=null 10:15:22,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 10:15:22,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=follower10 10:15:22,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:15:22,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:15:22,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:15:22,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Election: Leader has following peers: [leader9, follower11] 10:15:22,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:15:22,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:15:22,476 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:15:22,476 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader follower10, need to catch up to -1 10:15:22,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 10:15:22,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 [WARN] [10/17/2024 10:15:22.476] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5f26d96f 10:15:22,476 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) [WARN] [10/17/2024 10:15:22.477] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@351eaad8 10:15:22,521 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 10:15:22,521 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:15:22,521 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:15:22,521 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:22,522 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:22,522 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:22,522 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 2 is present for follower follower11 10:15:22,522 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=follower10, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 10:15:22,523 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=follower10, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 10:15:22,523 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 10:15:22,523 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:15:22,523 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log two-new 10:15:22,523 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:15:22,523 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 10:15:22,523 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower11, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:22,523 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) 10:15:22,524 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 2, nextIndex: 3 10:15:22,524 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:22,524 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:15:22,524 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 10:15:22,524 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Setting last applied to 2 10:15:22,524 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 1 to 2 10:15:22,524 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 2 data two-new 10:15:22,524 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: two-new 10:15:22,524 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=2 10:15:22,525 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:15:22,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 2 10:15:22,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 10:15:22,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:15:22,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 2 10:15:22,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 1 to 2 10:15:22,707 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 2 data two-new 10:15:22,708 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: two-new 10:15:22,708 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=2 10:15:22,724 AM [main] [INFO] IsolationScenarioTest - Removing isolation 10:15:22,816 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Cannot append entries because sender's term 1 is less than 2 10:15:22,816 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cannot append entries because sender's term 1 is less than 2 10:15:22,816 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower10, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 10:15:22,817 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=2, votedFor=null 10:15:22,817 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 10:15:22,826 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader9: Last sync leader does not match current leader follower10, need to catch up to -1 10:15:22,826 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply: follower leader9 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 10:15:22,826 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 10:15:22,827 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:22,827 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 1 is present for follower leader9 10:15:22,827 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Sending AppendEntries to follower leader9: AppendEntries [leaderId=follower10, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] [WARN] [10/17/2024 10:15:22.827] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3c012266 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): handleAppendEntries: AppendEntries [leaderId=follower10, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Number of entries to be appended = 2 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] is present: existingEntryTerm: 1 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Append entry to log two-new 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Log size is now 2 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Commit index set to 2 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader9, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader9: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Setting last applied to 2 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 1 to 2 10:15:22,827 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 2 data two-new 10:15:22,827 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader9 updated: matchIndex: 2, nextIndex: 3 10:15:22,828 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 1 for term 2 10:15:22,828 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:15:22,828 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: two-new 10:15:22,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 10:15:22,829 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=2 [WARN] [10/17/2024 10:15:22.829] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2bdccf93 10:15:22,876 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 10:15:22,876 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-notifier12#1384756186] 10:15:22,889 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-collector13#-339904452] 10:15:22,890 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower10] 10:15:22,891 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower11-collector14#1483205467] 10:15:22,892 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower11] 10:15:22,892 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-notifier15#-797209472] 10:15:22,893 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-collector16#1086357359] 10:15:22,893 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader9] 10:15:22,896 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 10:15:22,896 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/17/2024 10:15:22.900] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower18]: org.opendaylight.controller.cluster.common.actor.Monitor@7862e222 10:15:22,901 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower18 with journal batch size 1000 10:15:22,903 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/17/2024 10:15:23.006] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower19]: org.opendaylight.controller.cluster.common.actor.Monitor@10d3eb58 10:15:23,7 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower19 with journal batch size 1000 10:15:23,10 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:15:23,111 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader17 with journal batch size 1000 [WARN] [10/17/2024 10:15:23.111] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader17]: org.opendaylight.controller.cluster.common.actor.Monitor@a31cfde 10:15:23,114 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:15:23,115 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:15:23,115 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Received TimeoutNow - switching to Candidate 10:15:23,115 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Election: Candidate has following voting peers: [follower18, follower19] 10:15:23,115 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=1, votedFor=leader17 10:15:23,116 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Starting new election term 1 10:15:23,116 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower18 10:15:23,116 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower19 10:15:23,116 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:15:23,116 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:15:23,116 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Cluster state: [] 10:15:23,116 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:15:23,116 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:15:23,116 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:15:23,116 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=null 10:15:23,116 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 10:15:23,116 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:15:23,116 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:15:23,116 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:15:23,116 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=null 10:15:23,116 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=leader17 10:15:23,116 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:15:23,116 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:15:23,116 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=leader17 10:15:23,116 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:15:23,118 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:15:23,118 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:15:23,118 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Election: Leader has following peers: [follower18, follower19] 10:15:23,118 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:23,118 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:23,118 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower18: Last sync leader does not match current leader leader17, need to catch up to -1 10:15:23,118 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [10/17/2024 10:15:23.118] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@33d593ca 10:15:23,119 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Last sync leader does not match current leader leader17, need to catch up to -1 10:15:23,119 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/17/2024 10:15:23.119] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@c0c68bf 10:15:23,119 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:23,119 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: -1, nextIndex: 0 10:15:23,119 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:15:23,168 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 10:15:23,169 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:23,169 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:23,169 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:23,169 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:23,169 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower18 10:15:23,169 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower19 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:23,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:23,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 10:15:23,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:15:23,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log zero 10:15:23,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:23,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 1 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:15:23,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower18, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:15:23,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log zero 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:23,170 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 0, nextIndex: 1 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 1 10:15:23,170 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower19, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:23,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:23,171 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 10:15:23,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 0, nextIndex: 1 10:15:23,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:15:23,171 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:15:23,171 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:15:23,171 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 0 10:15:23,171 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from -1 to 0 10:15:23,172 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 0 data zero 10:15:23,172 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [10/17/2024 10:15:23.172] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@73a85a57 10:15:23,172 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: zero 10:15:23,172 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=0 10:15:23,172 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [10/17/2024 10:15:23.172] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@50c54f10 10:15:23,356 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 0 10:15:23,356 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Commit index set to 0 10:15:23,356 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 10:15:23,356 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:15:23,356 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 10:15:23,356 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 0 10:15:23,356 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:15:23,356 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from -1 to 0 10:15:23,356 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Setting last applied to 0 10:15:23,356 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 0 data zero 10:15:23,356 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from -1 to 0 10:15:23,356 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 0 data zero 10:15:23,357 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: zero 10:15:23,357 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: zero 10:15:23,357 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=0 10:15:23,357 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=0 10:15:23,372 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:23,372 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:23,372 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:23,372 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:23,372 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower18 10:15:23,373 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:23,373 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:23,373 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower19 10:15:23,373 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:23,373 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:23,373 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 10:15:23,373 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:15:23,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 10:15:23,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:15:23,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log one 10:15:23,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:23,374 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:15:23,374 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log one 10:15:23,374 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:23,374 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 2 10:15:23,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 2 10:15:23,374 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower18, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:23,374 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:23,374 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 10:15:23,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower19, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:23,374 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 10:15:23,374 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 1, nextIndex: 2 10:15:23,374 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:15:23,374 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 1 10:15:23,374 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 0 to 1 10:15:23,374 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 1 data one 10:15:23,374 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: one 10:15:23,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: fakeSnapshot purging log to 0 for term 1 10:15:23,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:15:23,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 10:15:23,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:15:23,375 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:23,375 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:15:23,375 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=1 10:15:23,423 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 10:15:23,424 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 10:15:23,424 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:15:23,424 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:15:23,424 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:23,424 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:23,424 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 10:15:23,424 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 10:15:23,425 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:15:23,426 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:15:23,426 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:23,426 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 10:15:23,426 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 10:15:23,426 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 10:15:23,426 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 10:15:23,426 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:15:23,427 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 7 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader17, ServerConfigPayload=null] 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 7 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 10:15:23,428 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 10:15:23,476 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 10:15:23,476 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 10:15:23,596 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 10:15:23,597 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:15:23,597 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 10:15:23,597 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:15:23,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 10:15:23,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:15:23,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 10:15:23,716 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:15:24,316 AM [test-akka.actor.default-dispatcher-5] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: At least 1 followers need to be active, Switching leader17 from Leader to IsolatedLeader 10:15:24,317 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Election: Leader has following peers: [follower18, follower19] 10:15:24,317 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 10:15:24,317 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 10:15:24,318 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 10:15:24,336 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower18 10:15:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:15:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Received TimeoutNow - switching to Candidate 10:15:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Election: Candidate has following voting peers: [follower19, leader17] 10:15:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=2, votedFor=follower18 10:15:24,337 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Starting new election term 2 10:15:24,337 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer follower19 10:15:24,338 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer leader17 10:15:24,338 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:15:24,338 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 10:15:24,338 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 10:15:24,338 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:15:24,338 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 10:15:24,338 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=null 10:15:24,338 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 10:15:24,338 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=follower18 10:15:24,338 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 10:15:24,340 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 10:15:24,340 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 10:15:24,340 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 10:15:24,340 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Election: Leader has following peers: [follower19, leader17] 10:15:24,340 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:24,340 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:15:24,340 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 10:15:24,340 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Last sync leader does not match current leader follower18, need to catch up to -1 10:15:24,341 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:24,341 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:24,341 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Replicate message: identifier: null, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.persisted.NoopPayload, isSendImmediate: true [WARN] [10/17/2024 10:15:24.341] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@759805c9 10:15:24,341 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:24,341 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:24,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging -1 entries behind leader follower18 and reached 0 (of expected -1) 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 [WARN] [10/17/2024 10:15:24.342] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@55894a10 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3]]] 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3]]] 10:15:24,342 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:24,342 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 3 10:15:24,342 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:24,342 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:24,343 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 0 (of expected -1) 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 2, nextIndex: 3 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 1 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 0 to 1 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 1 data one 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: one 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 2 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 1 to 2 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:24,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:24,344 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 10:15:24,344 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Election: Leader has following peers: [leader17, follower19] 10:15:24,344 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:24,344 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:15:24,344 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 10:15:24,345 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=2 10:15:24,345 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:24,345 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 2 10:15:24,345 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 10:15:24,345 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 10:15:24,345 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 1 10:15:24,345 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 0 to 1 10:15:24,345 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 1 data one 10:15:24,346 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: one 10:15:24,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 2 10:15:24,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 1 to 2 10:15:24,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:24,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 10:15:24,346 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=2 10:15:24,387 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 10:15:24,387 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:24,387 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:24,388 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:15:24,388 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 10:15:24,388 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:15:24,388 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log two-new 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 10:15:24,388 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:15:24,388 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:15:24,389 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 10:15:24,389 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 4 10:15:24,389 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:15:24,389 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:24,389 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 10:15:24,389 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:15:24,389 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 10:15:24,389 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 3, nextIndex: 4 10:15:24,389 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:15:24,389 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 4 is present for follower follower19 10:15:24,389 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, prevLogIndex=3, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:15:24,390 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:24,390 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 10:15:24,390 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 3 10:15:24,390 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 2 to 3 10:15:24,390 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 3 data two-new 10:15:24,390 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: two-new 10:15:24,391 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=3 10:15:24,390 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=3, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 2 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log three-new 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log four-new 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:15:24,391 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 6 10:15:24,391 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:24,391 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 10:15:24,391 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 5, nextIndex: 6 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 3 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 4 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 3 to 4 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 4 data three-new 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: three-new 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 5 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 4 to 5 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 5 data four-new 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: four-new 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:15:24,392 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=5 10:15:24,392 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:15:24,392 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 5 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 2, lastIndex(): 5 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 3 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 2 to 3 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 3 data two-new 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: two-new 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 4 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 3 to 4 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 4 data three-new 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: three-new 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 5 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 4 to 5 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 5 data four-new 10:15:24,393 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: four-new 10:15:24,393 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=5 10:15:24,438 AM [main] [INFO] IsolationScenarioTest - Removing isolation 10:15:24,456 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Term 2 in "AppendEntries [leaderId=follower18, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than leader's term 1 - switching to Follower 10:15:24,456 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=2, votedFor=null 10:15:24,456 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 10:15:24,576 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:24,576 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Last sync leader does not match current leader follower18, need to catch up to -1 10:15:24,577 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply: follower leader17 last log term 1 for index 4 conflicts with the leader's 2 - set the follower's next index to 3 10:15:24,577 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:15:24,577 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower leader17 [WARN] [10/17/2024 10:15:24.577] [test-akka.actor.default-dispatcher-7] [akka://test/user/leader17] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@15f5d8f0 10:15:24,577 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower leader17: AppendEntries [leaderId=follower18, prevLogIndex=2, prevLogTerm=2, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:15:24,577 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=2, prevLogTerm=2, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:15:24,577 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): The prevLogIndex 2 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 4, snapshotIndex: 1, snapshotTerm: 1 10:15:24,577 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=2, success=false, followerId=leader17, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:24,577 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 4 entries behind leader follower18 and reached 1 (of expected -1) [WARN] [10/17/2024 10:15:24.578] [test-akka.actor.default-dispatcher-7] [akka://test/user/leader17] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5f878c25 10:15:24,578 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=2, success=false, followerId=leader17, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 10:15:24,578 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): follower leader17 last log term 1 conflicts with the leader's 2 - dec next index to 2 10:15:24,578 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: -1 10:15:24,578 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 2 is present for follower leader17 10:15:24,578 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower leader17: AppendEntries [leaderId=follower18, prevLogIndex=1, prevLogTerm=1, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:15:24,578 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=1, prevLogTerm=1, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 10:15:24,578 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Number of entries to be appended = 4 10:15:24,578 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] is present: existingEntryTerm: 1 10:15:24,578 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 10:15:24,578 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:15:24,578 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:24,578 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:24,578 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log two-new 10:15:24,578 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log three-new 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log four-new 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Log size is now 4 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Commit index set to 5 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader17, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 2 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 1 to 2 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 3 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 2 to 3 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 3 data two-new 10:15:24,579 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader17 updated: matchIndex: 5, nextIndex: 6 10:15:24,579 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: fakeSnapshot purging log to 4 for term 2 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: two-new 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 4 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 3 to 4 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 4 data three-new 10:15:24,579 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: three-new 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 5 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 4 to 5 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 5 data four-new 10:15:24,579 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: four-new 10:15:24,581 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@270239d3] 10:15:24,581 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 10:15:24,581 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 10:15:24,582 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 10:15:24,582 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=5, lastAppliedTerm=2, lastIndex=5, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 10:15:24,582 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 14 10:15:24,582 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=5 10:15:24,582 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 10:15:24,582 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting of snapshot done: Snapshot [lastIndex=5, lastTerm=2, lastAppliedIndex=5, lastAppliedTerm=2, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two-new, three-new, four-new]], electionTerm=2, electionVotedFor=null, ServerConfigPayload=null] 10:15:24,582 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 10:15:24,582 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 10:15:24,583 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 10:15:24,583 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 14 10:15:24,583 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 10:15:24,584 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 10:15:24,584 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 10:15:24,696 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:24,696 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:24,697 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: fakeSnapshot purging log to 4 for term 2 10:15:24,817 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:24,817 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:24,936 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:24,936 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,57 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,177 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,177 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,297 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,297 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,416 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,416 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,537 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,537 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,656 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,656 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,777 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,777 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,897 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:25,897 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,16 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,16 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,137 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,137 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,256 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,256 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,377 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,377 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,496 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,617 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,617 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,737 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,737 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,857 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,857 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,976 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:26,977 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,97 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,97 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,216 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,216 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,337 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,337 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,456 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,456 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,576 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,576 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,697 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,697 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,816 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,816 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,936 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:27,937 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,56 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,57 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,177 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,177 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,296 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,296 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,417 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,417 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,536 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,536 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,657 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,657 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,777 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,897 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:28,897 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,17 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,17 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,137 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,137 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,257 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,257 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,376 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,497 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,497 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,617 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,617 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 10:15:29,633 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 10:15:29,634 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-notifier20#-726563512] 10:15:29,646 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-collector21#1467732391] 10:15:29,647 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower18] 10:15:29,649 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower19-collector22#-451005046] 10:15:29,649 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower19] 10:15:29,650 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-notifier23#-531392038] 10:15:29,651 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-collector24#1571954357] 10:15:29,652 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader17] [INFO] [10/17/2024 10:15:29.656] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 10:15:29,657 AM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/17/2024 10:15:29.674] [test-akka.actor.default-dispatcher-6] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.78:25520) [INFO] [10/17/2024 10:15:29.672] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.78:25520] - Exiting completed [INFO] [10/17/2024 10:15:29.673] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.78:25520] - Shutting down... [INFO] [10/17/2024 10:15:29.674] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.78:25520] - Successfully shut down 10:15:29,675 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.78:25520] - Exiting completed 10:15:29,675 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.78:25520] - Shutting down... 10:15:29,675 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.78:25520] - Successfully shut down [INFO] [10/17/2024 10:15:29.695] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.78:25520/system/remoting-terminator] Shutting down remote daemon. 10:15:29,695 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [10/17/2024 10:15:29.697] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.78:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 10:15:29,697 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [10/17/2024 10:15:29.730] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.78:25520/system/remoting-terminator] Remoting shut down. 10:15:29,730 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [10/17/2024 10:15:29.731] [test-akka.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger