[DEBUG] [10/16/2024 20:30:41.399] [main] [EventStream(akka://test)] logger log1-TestEventListener started 08:30:41,414 PM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/16/2024 20:30:41.416] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [10/16/2024 20:30:41.421] [main] [EventStream(akka://test)] Default Loggers started [INFO] [10/16/2024 20:30:42.051] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.208:25520] with UID [-7660452680599668124] 08:30:42,54 PM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.208:25520] with UID [-7660452680599668124] [INFO] [10/16/2024 20:30:42.079] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.208:25520] - Starting up, Akka version [2.6.21] ... 08:30:42,81 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.208:25520] - Starting up, Akka version [2.6.21] ... [INFO] [10/16/2024 20:30:42.180] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.208:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [10/16/2024 20:30:42.180] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.208:25520] - Started up successfully 08:30:42,183 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.208:25520] - Registered cluster JMX MBean [akka:type=Cluster] 08:30:42,184 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.208:25520] - Started up successfully [INFO] [10/16/2024 20:30:42.234] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.208:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [10/16/2024 20:30:42.234] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.208:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 08:30:42,243 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.208:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 08:30:42,243 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.208:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 08:30:42,569 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 08:30:42,570 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/16/2024 20:30:42.670] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower2]: org.opendaylight.controller.cluster.common.actor.Monitor@7f66e7d1 [INFO] [akkaDeadLetter][10/16/2024 20:30:42.659] [test-akka.actor.default-dispatcher-5] [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'. 08:30:42,673 PM [test-akka.actor.default-dispatcher-11] [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'. 08:30:43,698 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower2 with journal batch size 1000 [WARN] [10/16/2024 20:30:43.718] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [10/16/2024 20:30:43.718] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [10/16/2024 20:30:43.718] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [10/16/2024 20:30:43.718] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [10/16/2024 20:30:43.718] [test-akka.actor.default-dispatcher-6] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [INFO] [akkaDeadLetter][10/16/2024 20:30:43.719] [test-akka.actor.default-dispatcher-6] [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/16/2024 20:30:43.719] [test-akka.actor.default-dispatcher-6] [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/16/2024 20:30:43.719] [test-akka.actor.default-dispatcher-6] [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/16/2024 20:30:43.719] [test-akka.actor.default-dispatcher-6] [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/16/2024 20:30:43.719] [test-akka.actor.default-dispatcher-6] [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'. 08:30:43,723 PM [test-akka.actor.default-dispatcher-13] [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'. 08:30:43,723 PM [test-akka.actor.default-dispatcher-13] [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'. 08:30:43,723 PM [test-akka.actor.default-dispatcher-13] [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'. 08:30:43,723 PM [test-akka.actor.default-dispatcher-13] [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'. 08:30:43,723 PM [test-akka.actor.default-dispatcher-13] [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'. 08:30:43,776 PM [test-akka.actor.default-dispatcher-6] [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 08:30:43,780 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower3 with journal batch size 1000 [WARN] [10/16/2024 20:30:43.781] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower3]: org.opendaylight.controller.cluster.common.actor.Monitor@695be752 [INFO] [akkaDeadLetter][10/16/2024 20:30:43.781] [test-akka.actor.default-dispatcher-5] [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'. 08:30:43,782 PM [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'. 08:30:43,795 PM [test-akka.actor.default-dispatcher-6] [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 08:30:43,893 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader1 with journal batch size 1000 [WARN] [10/16/2024 20:30:43.893] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader1]: org.opendaylight.controller.cluster.common.actor.Monitor@751aee81 [INFO] [akkaDeadLetter][10/16/2024 20:30:43.894] [test-akka.actor.default-dispatcher-5] [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'. 08:30:43,894 PM [test-akka.actor.default-dispatcher-5] [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'. 08:30:43,904 PM [test-akka.actor.default-dispatcher-12] [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 08:30:44,17 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:30:44,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Received TimeoutNow - switching to Candidate 08:30:44,36 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Election: Candidate has following voting peers: [follower2, follower3] 08:30:44,37 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=1, votedFor=leader1 08:30:44,39 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Starting new election term 1 08:30:44,40 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower2 08:30:44,45 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower3 08:30:44,46 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 08:30:44,48 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:30:44,50 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:30:44,59 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Cluster state: [] 08:30:44,59 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:30:44,59 PM [test-akka.actor.default-dispatcher-5] [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 08:30:44,59 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=null 08:30:44,60 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:30:44,60 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=leader1 08:30:44,60 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:30:44,62 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 08:30:44,62 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:30:44,62 PM [test-akka.actor.default-dispatcher-12] [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 08:30:44,62 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=null 08:30:44,62 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:30:44,62 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=leader1 08:30:44,62 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:30:44,74 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 08:30:44,74 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 08:30:44,84 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Election: Leader has following peers: [follower2, follower3] 08:30:44,84 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:44,85 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:44,85 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 08:30:44,85 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower2: Last sync leader does not match current leader leader1, need to catch up to -1 08:30:44,88 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: -1, nextIndex: 0 08:30:44,88 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:44,89 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader leader1, need to catch up to -1 08:30:44,90 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: -1, nextIndex: 0 08:30:44,90 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/16/2024 20:30:44.093] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower2] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3fe065b1 [INFO] [akkaDeadLetter][10/16/2024 20:30:44.093] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower2] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] 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'. 08:30:44,94 PM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] 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'. [WARN] [10/16/2024 20:30:44.096] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6514ca9a [INFO] [akkaDeadLetter][10/16/2024 20:30:44.099] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower3] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] 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'. 08:30:44,100 PM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] 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'. 08:30:44,133 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 08:30:44,134 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:44,139 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:44,140 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 08:30:44,144 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:44,144 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower2 08:30:44,144 PM [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=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 08:30:44,155 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:44,155 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower3 08:30:44,155 PM [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=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 08:30:44,156 PM [test-akka.actor.default-dispatcher-6] [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]]] 08:30:44,156 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 08:30:44,156 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:30:44,156 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log zero 08:30:44,157 PM [test-akka.actor.default-dispatcher-17] [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]]] 08:30:44,157 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 08:30:44,157 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:30:44,157 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log zero 08:30:44,157 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:44,157 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 1 08:30:44,157 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:44,162 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 1 08:30:44,162 PM [test-akka.actor.default-dispatcher-6] [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] 08:30:44,163 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 08:30:44,163 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 0, nextIndex: 1 08:30:44,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:44,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:44,164 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:44,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 08:30:44,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 0 08:30:44,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from -1 to 0 08:30:44,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 0 data zero [WARN] [10/16/2024 20:30:44.165] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower2] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@b98f3da 08:30:44,165 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: zero 08:30:44,166 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=0 08:30:44,157 PM [test-akka.actor.default-dispatcher-17] [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] 08:30:44,166 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 08:30:44,166 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 0, nextIndex: 1 08:30:44,166 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:44,169 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:44,169 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 0 08:30:44,169 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 08:30:44,169 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 08:30:44,169 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 0 08:30:44,169 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from -1 to 0 08:30:44,169 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 0 data zero 08:30:44,170 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: zero [WARN] [10/16/2024 20:30:44.170] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1e63e35a 08:30:44,171 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=0 08:30:44,317 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Commit index set to 0 08:30:44,317 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 08:30:44,317 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 08:30:44,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 08:30:44,317 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Setting last applied to 0 08:30:44,317 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from -1 to 0 08:30:44,317 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 0 data zero 08:30:44,318 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: zero 08:30:44,319 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=0 08:30:44,338 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:44,338 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:44,339 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 08:30:44,339 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:44,339 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower2 08:30:44,339 PM [test-akka.actor.default-dispatcher-5] [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]]] 08:30:44,340 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:44,340 PM [test-akka.actor.default-dispatcher-16] [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]]] 08:30:44,340 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower3 08:30:44,340 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 08:30:44,340 PM [test-akka.actor.default-dispatcher-5] [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]]] 08:30:44,340 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:30:44,340 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log one 08:30:44,341 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:44,341 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 2 08:30:44,341 PM [test-akka.actor.default-dispatcher-5] [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]]] 08:30:44,341 PM [test-akka.actor.default-dispatcher-16] [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] 08:30:44,341 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 08:30:44,341 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 08:30:44,341 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:30:44,342 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log one 08:30:44,342 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:44,342 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 1, nextIndex: 2 08:30:44,342 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 2 08:30:44,342 PM [test-akka.actor.default-dispatcher-5] [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] 08:30:44,342 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:44,342 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 08:30:44,343 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 08:30:44,343 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:44,347 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:44,347 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 08:30:44,347 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 1 08:30:44,347 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 0 to 1 08:30:44,347 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 1 data one 08:30:44,348 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: one 08:30:44,348 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 0 for term 1 08:30:44,348 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=1 08:30:44,349 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:44,350 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:44,396 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 08:30:44,397 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 08:30:44,398 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:30:44,398 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:30:44,398 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 08:30:44,399 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:44,399 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 08:30:44,399 PM [test-akka.actor.default-dispatcher-17] [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]]] 08:30:44,399 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:44,400 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 08:30:44,400 PM [test-akka.actor.default-dispatcher-17] [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]]] 08:30:44,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:30:44,555 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 08:30:44,556 PM [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]]] 08:30:44,556 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 08:30:44,556 PM [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]]] 08:30:44,676 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 08:30:44,676 PM [test-akka.actor.default-dispatcher-17] [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]]] 08:30:44,682 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 08:30:44,683 PM [test-akka.actor.default-dispatcher-17] [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]]] 08:30:45,276 PM [test-akka.actor.default-dispatcher-11] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: At least 1 followers need to be active, Switching leader1 from Leader to IsolatedLeader 08:30:45,276 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Election: Leader has following peers: [follower2, follower3] 08:30:45,277 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:45,277 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:45,277 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 08:30:45,282 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower2 08:30:45,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:30:45,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Received TimeoutNow - switching to Candidate 08:30:45,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Election: Candidate has following voting peers: [follower3, leader1] 08:30:45,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=2, votedFor=follower2 08:30:45,283 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Starting new election term 2 08:30:45,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer follower3 08:30:45,283 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer leader1 08:30:45,283 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:30:45,284 PM [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. 08:30:45,284 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 08:30:45,284 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 08:30:45,284 PM [test-akka.actor.default-dispatcher-5] [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 08:30:45,284 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=null 08:30:45,284 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 08:30:45,284 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=follower2 08:30:45,284 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:30:45,286 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 08:30:45,286 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 08:30:45,286 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 08:30:45,288 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Election: Leader has following peers: [follower3, leader1] 08:30:45,288 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:45,288 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:45,289 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 08:30:45,290 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:45,290 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:45,290 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 08:30:45,290 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:45,290 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:45,291 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader follower2, need to catch up to -1 08:30:45,291 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging -1 entries behind leader follower2 and reached 0 (of expected -1) 08:30:45,292 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 08:30:45,292 PM [test-akka.actor.default-dispatcher-5] [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 08:30:45,292 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:45,292 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 08:30:45,292 PM [test-akka.actor.default-dispatcher-5] [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@61384ac0]]] 08:30:45,292 PM [test-akka.actor.default-dispatcher-5] [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 08:30:45,292 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 [WARN] [10/16/2024 20:30:45.292] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@16ad430f [WARN] [10/16/2024 20:30:45.293] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@64186cc4 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [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@61384ac0]]] 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 3 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [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] 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 0 (of expected -1) 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 2, nextIndex: 3 08:30:45,293 PM [test-akka.actor.default-dispatcher-5] [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 08:30:45,294 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:45,295 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:45,295 PM [test-akka.actor.default-dispatcher-13] [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 08:30:45,295 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 08:30:45,296 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 1 08:30:45,296 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 0 to 1 08:30:45,296 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 1 data one 08:30:45,297 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: one 08:30:45,297 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 2 08:30:45,297 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 1 to 2 08:30:45,297 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:45,297 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 08:30:45,297 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Election: Leader has following peers: [leader1, follower3] 08:30:45,297 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:45,298 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:45,298 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 08:30:45,298 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:45,298 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 2 08:30:45,298 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) 08:30:45,298 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 08:30:45,298 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 1 08:30:45,299 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 0 to 1 08:30:45,299 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 1 data one 08:30:45,299 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: one 08:30:45,299 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 2 08:30:45,299 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 1 to 2 08:30:45,299 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:45,299 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=2 08:30:45,300 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=2 08:30:45,338 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 08:30:45,338 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:45,338 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:45,338 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 08:30:45,338 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:30:45,339 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:30:45,339 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 3 is present for follower follower3 08:30:45,339 PM [test-akka.actor.default-dispatcher-5] [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]]] 08:30:45,339 PM [test-akka.actor.default-dispatcher-5] [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]]] 08:30:45,339 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 08:30:45,339 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 08:30:45,339 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log two-new 08:30:45,339 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:45,340 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 4 08:30:45,340 PM [test-akka.actor.default-dispatcher-5] [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] 08:30:45,340 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) 08:30:45,340 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 3, nextIndex: 4 08:30:45,340 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:30:45,341 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:45,341 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 08:30:45,341 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Setting last applied to 3 08:30:45,341 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 2 to 3 08:30:45,341 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 3 data two-new 08:30:45,341 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: two-new 08:30:45,341 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=3 08:30:45,342 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:45,537 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 3 08:30:45,537 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:45,537 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 08:30:45,537 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 3 08:30:45,537 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 2 to 3 08:30:45,537 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 3 data two-new 08:30:45,538 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: two-new 08:30:45,538 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=3 08:30:45,551 PM [main] [INFO] IsolationScenarioTest - Removing isolation 08:30:45,637 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Cannot append entries because sender's term 1 is less than 2 08:30:45,637 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cannot append entries because sender's term 1 is less than 2 08:30:45,637 PM [test-akka.actor.default-dispatcher-11] [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 08:30:45,637 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=2, votedFor=null 08:30:45,638 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 08:30:45,656 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Last sync leader does not match current leader follower2, need to catch up to -1 08:30:45,657 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:45,657 PM [test-akka.actor.default-dispatcher-11] [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 08:30:45,658 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:30:45,658 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 1 is present for follower leader1 08:30:45,658 PM [test-akka.actor.default-dispatcher-11] [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@61384ac0], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] [WARN] [10/16/2024 20:30:45.659] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5d01b5ab 08:30:45,659 PM [test-akka.actor.default-dispatcher-11] [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@61384ac0], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 08:30:45,659 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Number of entries to be appended = 3 08:30:45,659 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 08:30:45,660 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] is present: existingEntryTerm: 1 08:30:45,660 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 08:30:45,660 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 08:30:45,660 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:45,660 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:45,661 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log two-new 08:30:45,661 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:45,661 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Log size is now 3 08:30:45,661 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Commit index set to 3 08:30:45,661 PM [test-akka.actor.default-dispatcher-11] [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] 08:30:45,661 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:45,661 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 08:30:45,661 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 2 08:30:45,661 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 1 to 2 08:30:45,662 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:45,662 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 3 08:30:45,662 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 2 to 3 08:30:45,662 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 3 data two-new 08:30:45,662 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: two-new 08:30:45,663 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader1 updated: matchIndex: 3, nextIndex: 4 08:30:45,663 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: fakeSnapshot purging log to 2 for term 2 08:30:45,663 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 08:30:45,666 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:45,666 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:45,667 PM [test-akka.actor.default-dispatcher-13] [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] 08:30:45,672 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: lastSequenceNumber prior to capture: 10 08:30:45,673 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=3 08:30:45,673 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: CaptureSnapshotReply received by actor 08:30:45,676 PM [test-akka.actor.default-dispatcher-13] [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] 08:30:45,684 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 [WARN] [10/16/2024 20:30:45.684] [test-akka.actor.default-dispatcher-13] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@63cec732 08:30:45,684 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 08:30:45,684 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Snapshot success - sequence number: 10 08:30:45,686 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SnapshotComplete received 08:30:45,692 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a journal response 08:30:45,692 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a snapshot response 08:30:45,776 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:45,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 2 for term 2 08:30:45,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:45,777 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: fakeSnapshot purging log to 2 for term 2 08:30:45,896 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:45,897 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,16 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,16 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,137 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,137 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,257 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,257 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,376 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,377 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,497 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,497 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,616 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,616 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,737 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,737 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,856 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,856 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,976 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:46,976 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,96 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,97 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,216 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,217 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,337 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,337 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,457 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,457 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,577 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,577 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,696 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,696 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,817 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,817 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,937 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:47,937 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,56 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,56 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,176 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,176 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,296 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,297 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,417 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,417 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,536 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,537 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,656 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,657 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,776 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,776 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,896 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:48,897 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,17 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,17 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,136 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,136 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,257 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,257 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,377 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,377 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,496 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,496 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,617 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,617 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,736 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,737 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,856 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,857 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,976 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:49,976 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,96 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,96 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,216 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,216 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,336 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,336 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,456 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,456 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,576 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,576 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,697 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,697 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 08:30:50,767 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 08:30:50,781 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-notifier4#959517900] 08:30:50,813 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-collector5#1869781230] 08:30:50,814 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower2] 08:30:50,816 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower3-collector6#-1708346238] 08:30:50,818 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower3] 08:30:50,818 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-notifier7#1127195316] 08:30:50,819 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-collector8#2062776047] 08:30:50,819 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader1] 08:30:50,822 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 08:30:50,822 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting 08:30:50,827 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower10 with journal batch size 1000 [WARN] [10/16/2024 20:30:50.827] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower10]: org.opendaylight.controller.cluster.common.actor.Monitor@41f958a2 08:30:50,830 PM [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/16/2024 20:30:50.937] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower11]: org.opendaylight.controller.cluster.common.actor.Monitor@4a12c0d2 08:30:50,938 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower11 with journal batch size 1000 08:30:50,940 PM [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 08:30:51,41 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader9 with journal batch size 1000 [WARN] [10/16/2024 20:30:51.041] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader9]: org.opendaylight.controller.cluster.common.actor.Monitor@1bd35118 08:30:51,43 PM [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 08:30:51,139 PM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:30:51,140 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Received TimeoutNow - switching to Candidate 08:30:51,140 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Election: Candidate has following voting peers: [follower10, follower11] 08:30:51,140 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=1, votedFor=leader9 08:30:51,140 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Starting new election term 1 08:30:51,140 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower10 08:30:51,140 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower11 08:30:51,141 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 08:30:51,141 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:30:51,141 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:30:51,141 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Cluster state: [] 08:30:51,141 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 08:30:51,141 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:30:51,141 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:30:51,141 PM [test-akka.actor.default-dispatcher-12] [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 08:30:51,141 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=null 08:30:51,141 PM [test-akka.actor.default-dispatcher-13] [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 08:30:51,141 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=null 08:30:51,141 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:30:51,141 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:30:51,142 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=leader9 08:30:51,142 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=leader9 08:30:51,142 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:30:51,142 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:30:51,144 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 08:30:51,144 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 08:30:51,145 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Election: Leader has following peers: [follower10, follower11] 08:30:51,145 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:51,145 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:51,145 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower10: Last sync leader does not match current leader leader9, need to catch up to -1 08:30:51,145 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 08:30:51,146 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader leader9, need to catch up to -1 [WARN] [10/16/2024 20:30:51.146] [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@44fc5ae8 [WARN] [10/16/2024 20:30:51.146] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@762a66d7 08:30:51,146 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: -1, nextIndex: 0 08:30:51,147 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:51,147 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: -1, nextIndex: 0 08:30:51,147 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:51,195 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 08:30:51,195 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:51,195 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:51,196 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 08:30:51,196 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:51,196 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower10 08:30:51,196 PM [test-akka.actor.default-dispatcher-6] [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]]] 08:30:51,196 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:51,196 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 08:30:51,196 PM [test-akka.actor.default-dispatcher-6] [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]]] 08:30:51,197 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:51,197 PM [test-akka.actor.default-dispatcher-11] [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]]] 08:30:51,197 PM [test-akka.actor.default-dispatcher-13] [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]]] 08:30:51,197 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 08:30:51,197 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 08:30:51,197 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:30:51,197 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:30:51,197 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log zero 08:30:51,197 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log zero 08:30:51,197 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:51,197 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:51,197 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 1 08:30:51,197 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 1 08:30:51,198 PM [test-akka.actor.default-dispatcher-11] [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] 08:30:51,198 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 08:30:51,198 PM [test-akka.actor.default-dispatcher-13] [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] 08:30:51,198 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 08:30:51,197 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:51,199 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:51,200 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true [WARN] [10/16/2024 20:30:51.200] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@17e6034 08:30:51,200 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:51,200 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower10 08:30:51,200 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:51,200 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 08:30:51,201 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 0, nextIndex: 1 08:30:51,201 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:51,201 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower11 08:30:51,201 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:30:51,201 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:30:51,201 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 0, nextIndex: 1 08:30:51,201 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 08:30:51,201 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:30:51,201 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log one 08:30:51,201 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:51,201 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:51,201 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower10 08:30:51,201 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 08:30:51,201 PM [test-akka.actor.default-dispatcher-11] [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] 08:30:51,201 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:30:51,202 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 08:30:51,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 08:30:51,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:51,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:51,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 08:30:51,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 0 08:30:51,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from -1 to 0 08:30:51,203 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 0 data zero 08:30:51,203 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: zero 08:30:51,204 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:51,205 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:30:51,205 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 08:30:51,205 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=0 08:30:51,205 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:30:51,205 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log one 08:30:51,205 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:51,205 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 2 [WARN] [10/16/2024 20:30:51.205] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower10] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5182315d 08:30:51,205 PM [test-akka.actor.default-dispatcher-13] [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] 08:30:51,206 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 08:30:51,206 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:51,206 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 1, nextIndex: 2 08:30:51,206 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:51,206 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:51,206 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 08:30:51,206 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 1 08:30:51,206 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 0 to 1 08:30:51,206 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 1 data one 08:30:51,206 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: one 08:30:51,206 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: fakeSnapshot purging log to 0 for term 1 08:30:51,207 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=1 08:30:51,207 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 0 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 0 (of expected -1) 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 0 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from -1 to 0 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 0 data zero 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: zero 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 1 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 1 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 0 to 1 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 1 data one 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: one 08:30:51,208 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 0 for term 1 08:30:51,209 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=0 08:30:51,209 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=1 08:30:51,376 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 1 08:30:51,376 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 08:30:51,376 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 0 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from -1 to 0 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 0 data zero 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: zero 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 1 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 0 to 1 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 1 data one 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: one 08:30:51,377 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: fakeSnapshot purging log to 0 for term 1 08:30:51,378 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=1 08:30:51,400 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 08:30:51,400 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 08:30:51,400 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:30:51,400 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:30:51,400 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 08:30:51,401 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:51,401 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 08:30:51,401 PM [test-akka.actor.default-dispatcher-17] [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]]] 08:30:51,401 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:51,401 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 08:30:51,401 PM [test-akka.actor.default-dispatcher-17] [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]]] 08:30:51,402 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:30:51,496 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 08:30:51,496 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 08:30:51,616 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 08:30:51,616 PM [test-akka.actor.default-dispatcher-18] [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]]] 08:30:51,616 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 08:30:51,616 PM [test-akka.actor.default-dispatcher-18] [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]]] 08:30:51,736 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 08:30:51,736 PM [test-akka.actor.default-dispatcher-18] [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]]] 08:30:51,736 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 08:30:51,736 PM [test-akka.actor.default-dispatcher-18] [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]]] 08:30:52,336 PM [test-akka.actor.default-dispatcher-11] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: At least 1 followers need to be active, Switching leader9 from Leader to IsolatedLeader 08:30:52,337 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Election: Leader has following peers: [follower10, follower11] 08:30:52,337 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:52,337 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:52,338 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 08:30:52,361 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower10 08:30:52,361 PM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:30:52,361 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Received TimeoutNow - switching to Candidate 08:30:52,361 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Election: Candidate has following voting peers: [leader9, follower11] 08:30:52,361 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=2, votedFor=follower10 08:30:52,361 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Starting new election term 2 08:30:52,362 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer leader9 08:30:52,362 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer follower11 08:30:52,362 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:30:52,362 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:30:52,362 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 08:30:52,362 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 08:30:52,362 PM [test-akka.actor.default-dispatcher-16] [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 08:30:52,362 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=null 08:30:52,363 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 08:30:52,363 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=follower10 08:30:52,363 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:30:52,364 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 08:30:52,364 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 08:30:52,364 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Election: Leader has following peers: [leader9, follower11] 08:30:52,364 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 08:30:52,365 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 08:30:52,365 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:30:52,366 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader follower10, need to catch up to -1 08:30:52,366 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 [WARN] [10/16/2024 20:30:52.366] [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@4e590c7f 08:30:52,366 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 08:30:52,367 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) [WARN] [10/16/2024 20:30:52.367] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5f63560a 08:30:52,412 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 08:30:52,414 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 08:30:52,414 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 08:30:52,414 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, isSendImmediate: true 08:30:52,414 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:52,415 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:52,415 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 2 is present for follower follower11 08:30:52,415 PM [test-akka.actor.default-dispatcher-16] [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]]] 08:30:52,415 PM [test-akka.actor.default-dispatcher-17] [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]]] 08:30:52,415 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 08:30:52,415 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 08:30:52,415 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log two-new 08:30:52,415 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 08:30:52,416 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 08:30:52,416 PM [test-akka.actor.default-dispatcher-17] [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] 08:30:52,416 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) 08:30:52,416 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 2, nextIndex: 3 08:30:52,416 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:52,417 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 08:30:52,417 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 08:30:52,417 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Setting last applied to 2 08:30:52,417 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 1 to 2 08:30:52,417 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 2 data two-new 08:30:52,417 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 08:30:52,417 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: two-new 08:30:52,417 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=2 08:30:52,596 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 2 08:30:52,596 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 08:30:52,596 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 08:30:52,596 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 2 08:30:52,596 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 1 to 2 08:30:52,596 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 2 data two-new 08:30:52,596 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: two-new 08:30:52,596 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=2 08:30:52,616 PM [main] [INFO] IsolationScenarioTest - Removing isolation 08:30:52,696 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Cannot append entries because sender's term 1 is less than 2 08:30:52,696 PM [test-akka.actor.default-dispatcher-5] [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 08:30:52,696 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cannot append entries because sender's term 1 is less than 2 08:30:52,696 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=2, votedFor=null 08:30:52,697 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 08:30:52,716 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader9: Last sync leader does not match current leader follower10, need to catch up to -1 08:30:52,716 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 08:30:52,717 PM [test-akka.actor.default-dispatcher-18] [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 08:30:52,717 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:52,717 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 1 is present for follower leader9 08:30:52,717 PM [test-akka.actor.default-dispatcher-18] [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/16/2024 20:30:52.717] [test-akka.actor.default-dispatcher-5] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@b533430 08:30:52,717 PM [test-akka.actor.default-dispatcher-6] [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]]] 08:30:52,717 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Number of entries to be appended = 2 08:30:52,717 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 08:30:52,717 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] is present: existingEntryTerm: 1 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Append entry to log two-new 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Log size is now 2 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Commit index set to 2 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [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] 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader9: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Setting last applied to 2 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 1 to 2 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 2 data two-new 08:30:52,718 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: two-new 08:30:52,719 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader9 updated: matchIndex: 2, nextIndex: 3 08:30:52,719 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 1 for term 2 08:30:52,719 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 08:30:52,720 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 08:30:52,720 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=2 [WARN] [10/16/2024 20:30:52.720] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@78b94a5d 08:30:52,768 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 08:30:52,769 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-notifier12#1184877296] 08:30:52,781 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-collector13#438580759] 08:30:52,782 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower10] 08:30:52,783 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower11-collector14#-1766520362] 08:30:52,784 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower11] 08:30:52,785 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-notifier15#1867688944] 08:30:52,785 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-collector16#-58252396] 08:30:52,786 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader9] 08:30:52,787 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 08:30:52,788 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting 08:30:52,793 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower18 with journal batch size 1000 [WARN] [10/16/2024 20:30:52.793] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower18]: org.opendaylight.controller.cluster.common.actor.Monitor@2acbe3be 08:30:52,795 PM [test-akka.actor.default-dispatcher-12] [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/16/2024 20:30:52.797] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower19]: org.opendaylight.controller.cluster.common.actor.Monitor@3aa000ac 08:30:52,798 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower19 with journal batch size 1000 08:30:52,799 PM [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 [WARN] [10/16/2024 20:30:52.902] [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@7094f219 08:30:52,902 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader17 with journal batch size 1000 08:30:52,905 PM [test-akka.actor.default-dispatcher-12] [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 08:30:52,906 PM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:30:52,906 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Received TimeoutNow - switching to Candidate 08:30:52,906 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Election: Candidate has following voting peers: [follower18, follower19] 08:30:52,906 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=1, votedFor=leader17 08:30:52,906 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Starting new election term 1 08:30:52,906 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower18 08:30:52,906 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:30:52,906 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower19 08:30:52,906 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Cluster state: [] 08:30:52,906 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 08:30:52,906 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:30:52,906 PM [test-akka.actor.default-dispatcher-5] [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 08:30:52,906 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=null 08:30:52,906 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:30:52,906 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=leader17 08:30:52,906 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:30:52,907 PM [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. 08:30:52,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 08:30:52,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:30:52,907 PM [test-akka.actor.default-dispatcher-5] [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 08:30:52,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=null 08:30:52,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:30:52,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=leader17 08:30:52,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:30:52,908 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 08:30:52,908 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 08:30:52,908 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Election: Leader has following peers: [follower18, follower19] 08:30:52,908 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:52,908 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:52,908 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower18: Last sync leader does not match current leader leader17, need to catch up to -1 08:30:52,908 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 08:30:52,908 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/16/2024 20:30:52.908] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@745070b0 08:30:52,909 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:52,909 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Last sync leader does not match current leader leader17, need to catch up to -1 08:30:52,909 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: -1, nextIndex: 0 [WARN] [10/16/2024 20:30:52.909] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2d83e25a 08:30:52,909 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:30:52,909 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 08:30:52,909 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:52,909 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:52,909 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower18 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [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]]] 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower19 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [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]]] 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [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]]] 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log zero 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 1 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [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] 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [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]]] 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log zero 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 0, nextIndex: 1 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 1 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [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] 08:30:52,910 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 0, nextIndex: 1 08:30:52,910 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:30:52,911 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:52,911 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 08:30:52,911 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 0 08:30:52,911 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from -1 to 0 08:30:52,911 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 0 data zero 08:30:52,912 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: zero 08:30:52,912 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=0 08:30:52,912 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:30:52,912 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [10/16/2024 20:30:52.912] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@57fb72e8 [WARN] [10/16/2024 20:30:52.912] [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@415fb480 08:30:53,26 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Commit index set to 0 08:30:53,27 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 08:30:53,27 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 08:30:53,27 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Setting last applied to 0 08:30:53,27 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 0 08:30:53,27 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from -1 to 0 08:30:53,27 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 0 data zero 08:30:53,27 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 08:30:53,27 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 08:30:53,27 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 0 08:30:53,27 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from -1 to 0 08:30:53,27 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 0 data zero 08:30:53,27 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: zero 08:30:53,27 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=0 08:30:53,27 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: zero 08:30:53,27 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=0 08:30:53,63 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:53,63 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:53,63 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 08:30:53,63 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:53,63 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower18 08:30:53,63 PM [test-akka.actor.default-dispatcher-13] [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]]] 08:30:53,63 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:53,63 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower19 08:30:53,63 PM [test-akka.actor.default-dispatcher-13] [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]]] 08:30:53,64 PM [test-akka.actor.default-dispatcher-13] [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]]] 08:30:53,64 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 08:30:53,64 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:30:53,64 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log one 08:30:53,64 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:53,64 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:53,64 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 2 08:30:53,64 PM [test-akka.actor.default-dispatcher-11] [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]]] 08:30:53,64 PM [test-akka.actor.default-dispatcher-13] [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] 08:30:53,64 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 08:30:53,64 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 08:30:53,64 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:30:53,64 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log one 08:30:53,64 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 1, nextIndex: 2 08:30:53,64 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 08:30:53,64 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:53,64 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 1 08:30:53,64 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 0 to 1 08:30:53,64 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 1 data one 08:30:53,64 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 2 08:30:53,64 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: one 08:30:53,64 PM [test-akka.actor.default-dispatcher-11] [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] 08:30:53,65 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: fakeSnapshot purging log to 0 for term 1 08:30:53,65 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 08:30:53,65 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 08:30:53,65 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=1 08:30:53,65 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 08:30:53,65 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 08:30:53,66 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:53,66 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:30:53,114 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 08:30:53,114 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 08:30:53,115 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:30:53,115 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:30:53,115 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 08:30:53,115 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:53,115 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 08:30:53,115 PM [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]]] 08:30:53,115 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 08:30:53,116 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 08:30:53,116 PM [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]]] 08:30:53,116 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:30:53,116 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:30:53,116 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 08:30:53,116 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 08:30:53,116 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 08:30:53,117 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 08:30:53,117 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 08:30:53,117 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:30:53,117 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:30:53,117 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 08:30:53,117 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 08:30:53,117 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 08:30:53,117 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 08:30:53,117 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 08:30:53,117 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:30:53,118 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:30:53,118 PM [test-akka.actor.default-dispatcher-11] [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] 08:30:53,118 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 7 08:30:53,118 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 08:30:53,119 PM [test-akka.actor.default-dispatcher-11] [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] 08:30:53,119 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 08:30:53,119 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 08:30:53,119 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:30:53,119 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 08:30:53,119 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 7 08:30:53,119 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 08:30:53,120 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 08:30:53,120 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 08:30:53,265 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 08:30:53,265 PM [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], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 08:30:53,266 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 08:30:53,266 PM [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], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 08:30:53,386 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 08:30:53,386 PM [test-akka.actor.default-dispatcher-11] [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]]] 08:30:53,386 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 08:30:53,387 PM [test-akka.actor.default-dispatcher-11] [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]]] 08:30:53,506 PM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: At least 1 followers need to be active, Switching leader17 from Leader to IsolatedLeader 08:30:53,507 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Election: Leader has following peers: [follower18, follower19] 08:30:53,507 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 08:30:53,507 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 08:30:53,507 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 08:30:53,521 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower18 08:30:53,521 PM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:30:53,522 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Received TimeoutNow - switching to Candidate 08:30:53,522 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Election: Candidate has following voting peers: [follower19, leader17] 08:30:53,522 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=2, votedFor=follower18 08:30:53,522 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Starting new election term 2 08:30:53,522 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer follower19 08:30:53,522 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer leader17 08:30:53,522 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:30:53,522 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:30:53,522 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 08:30:53,522 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 08:30:53,522 PM [test-akka.actor.default-dispatcher-6] [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 08:30:53,522 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=null 08:30:53,523 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 08:30:53,523 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=follower18 08:30:53,523 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 08:30:53,524 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 08:30:53,524 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 08:30:53,524 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 08:30:53,524 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Election: Leader has following peers: [follower19, leader17] 08:30:53,524 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:53,524 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:30:53,525 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 08:30:53,525 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Last sync leader does not match current leader follower18, need to catch up to -1 08:30:53,525 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] [WARN] [10/16/2024 20:30:53.525] [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@6740dc11 08:30:53,525 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:53,525 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 08:30:53,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:53,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:53,526 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging -1 entries behind leader follower18 and reached 0 (of expected -1) 08:30:53,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 08:30:53,526 PM [test-akka.actor.default-dispatcher-6] [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 08:30:53,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:53,526 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 08:30:53,526 PM [test-akka.actor.default-dispatcher-6] [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@61384ac0]]] [WARN] [10/16/2024 20:30:53.526] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@37a4e92b 08:30:53,527 PM [test-akka.actor.default-dispatcher-6] [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@61384ac0]]] 08:30:53,527 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 08:30:53,527 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 08:30:53,527 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:53,527 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:53,527 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 3 08:30:53,527 PM [test-akka.actor.default-dispatcher-6] [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] 08:30:53,527 PM [test-akka.actor.default-dispatcher-11] [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 08:30:53,527 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 0 (of expected -1) 08:30:53,527 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 08:30:53,527 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 2, nextIndex: 3 08:30:53,527 PM [test-akka.actor.default-dispatcher-11] [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 08:30:53,527 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [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 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 1 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 0 to 1 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 1 data one 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: one 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 2 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 1 to 2 08:30:53,528 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:53,529 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 08:30:53,529 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Election: Leader has following peers: [leader17, follower19] 08:30:53,529 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:53,529 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:30:53,529 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 08:30:53,529 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=2 08:30:53,529 PM [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@61384ac0] 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 2 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 1 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 0 to 1 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 1 data one 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: one 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 2 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 1 to 2 08:30:53,530 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:53,530 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=2 08:30:53,572 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 08:30:53,572 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:53,572 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:53,573 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 08:30:53,573 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:30:53,573 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:30:53,574 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 08:30:53,574 PM [test-akka.actor.default-dispatcher-13] [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]]] 08:30:53,574 PM [test-akka.actor.default-dispatcher-11] [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]]] 08:30:53,574 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 08:30:53,574 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 08:30:53,574 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 08:30:53,574 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 08:30:53,574 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log two-new 08:30:53,574 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:53,574 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, isSendImmediate: true 08:30:53,574 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 4 08:30:53,574 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:30:53,574 PM [test-akka.actor.default-dispatcher-11] [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] 08:30:53,574 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 08:30:53,574 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:30:53,575 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 08:30:53,575 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 3, nextIndex: 4 08:30:53,576 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:53,576 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:30:53,576 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 4 is present for follower follower19 08:30:53,576 PM [test-akka.actor.default-dispatcher-13] [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]]] 08:30:53,576 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 08:30:53,576 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 08:30:53,576 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, isSendImmediate: true 08:30:53,576 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 4 is present for follower follower19 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [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]]] 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log three-new 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 5 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=4, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 4, nextIndex: 5 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: -1 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 5 is present for follower follower19 08:30:53,577 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, prevLogIndex=4, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 08:30:53,578 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:53,578 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 08:30:53,578 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 3 08:30:53,578 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 2 to 3 08:30:53,578 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 3 data two-new 08:30:53,578 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: two-new 08:30:53,578 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=3 08:30:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 08:30:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 08:30:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 4 08:30:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 3 to 4 08:30:53,579 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 4 data three-new 08:30:53,579 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: three-new 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=4 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=4, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log four-new 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 6 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [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] 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 5, nextIndex: 6 08:30:53,580 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 08:30:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 08:30:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 08:30:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 5 08:30:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 4 to 5 08:30:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 5 data four-new 08:30:53,581 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: four-new 08:30:53,581 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=5 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 4 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 4 (of expected -1) 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 2, lastIndex(): 5 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 3 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 2 to 3 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 3 data two-new 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: two-new 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 4 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 3 to 4 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 4 data three-new 08:30:53,582 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: three-new 08:30:53,583 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=4 08:30:53,583 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 5 08:30:53,583 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:53,583 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 4, lastIndex(): 5 08:30:53,583 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 5 08:30:53,583 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 4 to 5 08:30:53,583 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 5 data four-new 08:30:53,583 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: four-new 08:30:53,583 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=5 08:30:53,623 PM [main] [INFO] IsolationScenarioTest - Removing isolation 08:30:53,626 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Cannot append entries because sender's term 1 is less than 2 08:30:53,626 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cannot append entries because sender's term 1 is less than 2 08:30:53,626 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower18, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 08:30:53,626 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=2, votedFor=null 08:30:53,626 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 08:30:53,646 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Last sync leader does not match current leader follower18, need to catch up to -1 08:30:53,647 PM [test-akka.actor.default-dispatcher-6] [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 08:30:53,647 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 08:30:53,647 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower leader17 08:30:53,647 PM [test-akka.actor.default-dispatcher-6] [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]]] [WARN] [10/16/2024 20:30:53.647] [test-akka.actor.default-dispatcher-12] [akka://test/user/leader17] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3bfacd71 08:30:53,647 PM [test-akka.actor.default-dispatcher-17] [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]]] 08:30:53,647 PM [test-akka.actor.default-dispatcher-17] [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 08:30:53,648 PM [test-akka.actor.default-dispatcher-17] [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] 08:30:53,648 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 4 entries behind leader follower18 and reached 1 (of expected -1) 08:30:53,648 PM [test-akka.actor.default-dispatcher-11] [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 08:30:53,648 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): follower leader17 last log term 1 conflicts with the leader's 2 - dec next index to 2 08:30:53,648 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: -1 08:30:53,648 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 2 is present for follower leader17 08:30:53,648 PM [test-akka.actor.default-dispatcher-11] [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@61384ac0], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] [WARN] [10/16/2024 20:30:53.648] [test-akka.actor.default-dispatcher-17] [akka://test/user/leader17] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@22d615f5 08:30:53,648 PM [test-akka.actor.default-dispatcher-11] [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@61384ac0], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Number of entries to be appended = 4 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] is present: existingEntryTerm: 1 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log two-new 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log three-new 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log four-new 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Log size is now 4 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Commit index set to 5 08:30:53,649 PM [test-akka.actor.default-dispatcher-11] [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] 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 2 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 1 to 2 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 3 08:30:53,650 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader17 updated: matchIndex: 5, nextIndex: 6 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 2 to 3 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 3 data two-new 08:30:53,650 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: fakeSnapshot purging log to 4 for term 2 08:30:53,650 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: two-new 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 4 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 3 to 4 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 4 data three-new 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: three-new 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 5 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 4 to 5 08:30:53,650 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 5 data four-new 08:30:53,651 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: four-new 08:30:53,652 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@61384ac0] 08:30:53,653 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 08:30:53,653 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 08:30:53,653 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 08:30:53,653 PM [test-akka.actor.default-dispatcher-12] [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] 08:30:53,653 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 14 08:30:53,653 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=5 08:30:53,654 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 08:30:53,654 PM [test-akka.actor.default-dispatcher-11] [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] 08:30:53,654 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 08:30:53,654 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 08:30:53,654 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 08:30:53,654 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 14 08:30:53,654 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 08:30:53,655 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 08:30:53,655 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 08:30:53,766 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:53,766 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:53,766 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: fakeSnapshot purging log to 4 for term 2 08:30:53,886 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:53,886 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,6 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,7 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,126 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,126 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,246 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,246 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,366 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,366 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,486 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,486 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,606 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,606 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,726 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,726 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,846 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,846 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,966 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:54,966 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,86 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,86 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,206 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,207 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,326 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,327 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,446 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,446 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,566 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,566 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,686 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,686 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,806 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,806 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,926 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:55,926 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,46 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,46 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,166 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,166 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,286 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,286 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,406 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,406 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,526 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,526 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,646 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,647 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,766 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,766 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,886 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:56,886 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,7 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,7 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,126 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,126 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,246 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,247 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,366 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,366 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,486 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,486 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,606 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,606 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,727 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,727 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,847 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,847 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,966 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:57,966 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,86 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,86 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,206 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,206 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,326 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,326 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,446 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,446 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,566 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,566 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,686 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,686 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 08:30:58,717 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 08:30:58,717 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-notifier20#271314612] 08:30:58,730 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-collector21#17036527] 08:30:58,730 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower18] 08:30:58,731 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower19-collector22#297210192] 08:30:58,731 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower19] 08:30:58,732 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-notifier23#1971242991] 08:30:58,732 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-collector24#1685481449] 08:30:58,733 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader17] [INFO] [10/16/2024 20:30:58.736] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 08:30:58,737 PM [test-akka.actor.default-dispatcher-12] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/16/2024 20:30:58.750] [test-akka.actor.default-dispatcher-12] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.208:25520) [INFO] [10/16/2024 20:30:58.752] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.208:25520] - Exiting completed [INFO] [10/16/2024 20:30:58.753] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.208:25520] - Shutting down... 08:30:58,753 PM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.208:25520] - Exiting completed [INFO] [10/16/2024 20:30:58.753] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.208:25520] - Successfully shut down 08:30:58,753 PM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.208:25520] - Shutting down... 08:30:58,754 PM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.208:25520] - Successfully shut down [INFO] [10/16/2024 20:30:58.776] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.208:25520/system/remoting-terminator] Shutting down remote daemon. 08:30:58,776 PM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [10/16/2024 20:30:58.778] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.208:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 08:30:58,778 PM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [10/16/2024 20:30:58.809] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.208:25520/system/remoting-terminator] Remoting shut down. 08:30:58,812 PM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.