[DEBUG] [07/25/2024 13:47:12.120] [main] [EventStream(akka://test)] logger log1-TestEventListener started 01:47:12,131 PM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [07/25/2024 13:47:12.132] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [07/25/2024 13:47:12.133] [main] [EventStream(akka://test)] Default Loggers started [INFO] [07/25/2024 13:47:12.672] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.85:25520] with UID [5346712994211261868] 01:47:12,675 PM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.85:25520] with UID [5346712994211261868] [INFO] [07/25/2024 13:47:12.696] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.85:25520] - Starting up, Akka version [2.6.21] ... 01:47:12,697 PM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.85:25520] - Starting up, Akka version [2.6.21] ... [INFO] [07/25/2024 13:47:12.784] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.85:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [07/25/2024 13:47:12.784] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.85:25520] - Started up successfully 01:47:12,785 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.85:25520] - Registered cluster JMX MBean [akka:type=Cluster] 01:47:12,785 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.85:25520] - Started up successfully [INFO] [07/25/2024 13:47:12.824] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.85:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [07/25/2024 13:47:12.824] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.85:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:47:12,830 PM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.85:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 01:47:12,830 PM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.85:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:47:13,136 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 01:47:13,136 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [07/25/2024 13:47:13.208] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower2]: org.opendaylight.controller.cluster.common.actor.Monitor@2290ae53 [INFO] [akkaDeadLetter][07/25/2024 13:47:13.218] [test-akka.actor.default-dispatcher-6] [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'. 01:47:13,221 PM [test-akka.actor.default-dispatcher-6] [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'. 01:47:14,119 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower2 with journal batch size 1000 [WARN] [07/25/2024 13:47:14.137] [test-akka.actor.default-dispatcher-5] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [07/25/2024 13:47:14.137] [test-akka.actor.default-dispatcher-5] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [07/25/2024 13:47:14.137] [test-akka.actor.default-dispatcher-5] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [07/25/2024 13:47:14.137] [test-akka.actor.default-dispatcher-5] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [07/25/2024 13:47:14.138] [test-akka.actor.default-dispatcher-5] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) 01:47:14,143 PM [test-akka.actor.default-dispatcher-6] [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'. [INFO] [akkaDeadLetter][07/25/2024 13:47:14.138] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][07/25/2024 13:47:14.157] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][07/25/2024 13:47:14.157] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][07/25/2024 13:47:14.157] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][07/25/2024 13:47:14.157] [test-akka.actor.default-dispatcher-12] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:47:14,158 PM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:47:14,158 PM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:47:14,158 PM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:47:14,158 PM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:47:14,195 PM [test-akka.actor.default-dispatcher-16] [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 01:47:14,223 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower3 with journal batch size 1000 [WARN] [07/25/2024 13:47:14.223] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower3]: org.opendaylight.controller.cluster.common.actor.Monitor@4e6ad949 [INFO] [akkaDeadLetter][07/25/2024 13:47:14.223] [test-akka.actor.default-dispatcher-16] [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'. 01:47:14,224 PM [test-akka.actor.default-dispatcher-16] [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'. 01:47:14,226 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [07/25/2024 13:47:14.334] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader1]: org.opendaylight.controller.cluster.common.actor.Monitor@3a6eea12 [INFO] [akkaDeadLetter][07/25/2024 13:47:14.335] [test-akka.actor.default-dispatcher-12] [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'. 01:47:14,335 PM [test-akka.actor.default-dispatcher-12] [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'. 01:47:14,335 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader1 with journal batch size 1000 01:47:14,342 PM [test-akka.actor.default-dispatcher-16] [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 01:47:14,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:47:14,456 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Received TimeoutNow - switching to Candidate 01:47:14,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Election: Candidate has following voting peers: [follower2, follower3] 01:47:14,474 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=1, votedFor=leader1 01:47:14,476 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Starting new election term 1 01:47:14,476 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower2 01:47:14,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower3 01:47:14,483 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:47:14,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:47:14,488 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. 01:47:14,489 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Cluster state: [] 01:47:14,490 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:47:14,490 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:47:14,490 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=null 01:47:14,490 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:47:14,490 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=leader1 01:47:14,490 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:47:14,492 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 01:47:14,493 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:47:14,493 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:47:14,493 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=null 01:47:14,493 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:47:14,493 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=leader1 01:47:14,493 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:47:14,506 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:47:14,506 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:47:14,513 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Election: Leader has following peers: [follower2, follower3] 01:47:14,513 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:47:14,513 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:47:14,514 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:47:14,516 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower2: Last sync leader does not match current leader leader1, need to catch up to -1 01:47:14,517 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader leader1, need to catch up to -1 01:47:14,518 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: -1, nextIndex: 0 01:47:14,518 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:47:14,518 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: -1, nextIndex: 0 01:47:14,518 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [07/25/2024 13:47:14.521] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@22e5cfc7 01:47:14,521 PM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][07/25/2024 13:47:14.521] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower3] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [07/25/2024 13:47:14.524] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower2] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1f0f28d [INFO] [akkaDeadLetter][07/25/2024 13:47:14.528] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower2] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:47:14,530 PM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:47:14,566 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 01:47:14,568 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:14,570 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:14,571 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:14,574 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:47:14,574 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower2 01:47:14,574 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:47:14,580 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:47:14,580 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower3 01:47:14,580 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:47:14,581 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:47:14,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 01:47:14,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:47:14,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log zero 01:47:14,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:14,582 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 1 01:47:14,582 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]]] 01:47:14,582 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 01:47:14,582 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:47:14,582 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log zero 01:47:14,582 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:14,583 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 1 01:47:14,582 PM [test-akka.actor.default-dispatcher-12] [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] 01:47:14,587 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 01:47:14,583 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] 01:47:14,587 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 01:47:14,587 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 0, nextIndex: 1 01:47:14,587 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 01:47:14,588 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 0, nextIndex: 1 01:47:14,588 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:47:14,588 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:14,588 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:47:14,589 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 0 01:47:14,589 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:14,589 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [07/25/2024 13:47:14.589] [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@3833679 01:47:14,589 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from -1 to 0 [WARN] [07/25/2024 13:47:14.589] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@271e53e5 01:47:14,589 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 0 data zero 01:47:14,590 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: zero 01:47:14,590 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=0 01:47:14,752 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Commit index set to 0 01:47:14,752 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 0 01:47:14,752 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 01:47:14,752 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 01:47:14,752 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:47:14,752 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:47:14,752 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Setting last applied to 0 01:47:14,753 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 0 01:47:14,753 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from -1 to 0 01:47:14,753 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 0 data zero 01:47:14,753 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from -1 to 0 01:47:14,754 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: zero 01:47:14,754 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 0 data zero 01:47:14,754 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: zero 01:47:14,754 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=0 01:47:14,755 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=0 01:47:14,773 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:14,774 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:14,774 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:14,774 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:14,775 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower2 01:47:14,775 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:47:14,775 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:14,775 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower3 01:47:14,776 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:47:14,776 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:47:14,777 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 01:47:14,778 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:47:14,778 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log one 01:47:14,778 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:14,779 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 2 01:47:14,779 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower2, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:47:14,779 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 01:47:14,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:14,777 PM [test-akka.actor.default-dispatcher-17] [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]]] 01:47:14,779 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 01:47:14,779 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:47:14,779 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log one 01:47:14,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 1, nextIndex: 2 01:47:14,779 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:14,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:47:14,779 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 2 01:47:14,780 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 1 01:47:14,780 PM [test-akka.actor.default-dispatcher-17] [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] 01:47:14,780 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 0 to 1 01:47:14,780 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 01:47:14,780 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 1 data one 01:47:14,780 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: one 01:47:14,780 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 0 for term 1 01:47:14,781 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:47:14,781 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:14,781 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:14,782 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 01:47:14,782 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:47:14,783 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=1 01:47:14,832 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 01:47:14,833 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 01:47:14,833 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:47:14,833 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:47:14,834 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:14,834 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:14,834 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 01:47:14,834 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]]] 01:47:14,835 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:14,835 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 01:47:14,835 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]]] 01:47:14,839 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:47:14,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 01:47:14,991 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]]] 01:47:14,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 01:47:14,992 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]]] 01:47:15,111 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 01:47:15,111 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]]] 01:47:15,112 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 01:47:15,112 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]]] 01:47:15,712 PM [test-akka.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: At least 1 followers need to be active, Switching leader1 from Leader to IsolatedLeader 01:47:15,713 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Election: Leader has following peers: [follower2, follower3] 01:47:15,714 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:15,714 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:15,714 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 01:47:15,754 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower2 01:47:15,755 PM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:47:15,755 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Received TimeoutNow - switching to Candidate 01:47:15,755 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Election: Candidate has following voting peers: [follower3, leader1] 01:47:15,755 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=2, votedFor=follower2 01:47:15,755 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Starting new election term 2 01:47:15,756 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer follower3 01:47:15,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:47:15,756 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer leader1 01:47:15,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 01:47:15,756 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 01:47:15,757 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:47:15,757 PM [test-akka.actor.default-dispatcher-17] [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 01:47:15,757 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=null 01:47:15,757 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 01:47:15,757 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=follower2 01:47:15,758 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:47:15,761 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:47:15,761 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:47:15,761 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 01:47:15,764 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Election: Leader has following peers: [follower3, leader1] 01:47:15,765 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:15,766 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:15,768 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader follower2, need to catch up to -1 [WARN] [07/25/2024 13:47:15.769] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@d6660f7 01:47:15,770 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 01:47:15,770 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 01:47:15,770 PM [test-akka.actor.default-dispatcher-6] [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 01:47:15,770 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:15,771 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:15,771 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:15,771 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Replicate message: identifier: null, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.persisted.NoopPayload, isSendImmediate: true 01:47:15,771 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:15,771 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 01:47:15,771 PM [test-akka.actor.default-dispatcher-6] [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@dd34e12]]] 01:47:15,771 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:15,772 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 0 (of expected -1) 01:47:15,772 PM [test-akka.actor.default-dispatcher-18] [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@dd34e12]]] 01:47:15,772 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 01:47:15,772 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:47:15,772 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12 01:47:15,772 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:15,772 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 3 01:47:15,772 PM [test-akka.actor.default-dispatcher-18] [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] 01:47:15,772 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 0 (of expected -1) 01:47:15,773 PM [test-akka.actor.default-dispatcher-17] [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 01:47:15,773 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 01:47:15,773 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 2, nextIndex: 3 01:47:15,773 PM [test-akka.actor.default-dispatcher-17] [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 01:47:15,773 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:15,773 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:15,773 PM [test-akka.actor.default-dispatcher-17] [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 01:47:15,774 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 01:47:15,775 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 1 01:47:15,775 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 0 to 1 01:47:15,775 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 1 data one 01:47:15,775 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: one 01:47:15,775 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 2 01:47:15,775 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 1 to 2 01:47:15,775 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12 01:47:15,775 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 01:47:15,776 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Election: Leader has following peers: [leader1, follower3] 01:47:15,776 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:15,776 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:15,776 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 01:47:15,777 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=2 01:47:15,778 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] [WARN] [07/25/2024 13:47:15.778] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@40c4d131 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 2 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 1 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 0 to 1 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 1 data one 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: one 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 2 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 1 to 2 01:47:15,779 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12 01:47:15,780 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=2 01:47:15,820 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 01:47:15,820 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:15,820 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:15,821 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:15,821 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:47:15,821 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:47:15,821 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 3 is present for follower follower3 01:47:15,822 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:47:15,822 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:47:15,823 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 01:47:15,823 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:47:15,823 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log two-new 01:47:15,823 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:15,823 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 4 01:47:15,823 PM [test-akka.actor.default-dispatcher-12] [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] 01:47:15,823 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) 01:47:15,824 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 3, nextIndex: 4 01:47:15,824 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:47:15,826 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:15,826 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:47:15,827 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Setting last applied to 3 01:47:15,827 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 2 to 3 01:47:15,827 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 3 data two-new 01:47:15,827 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: two-new 01:47:15,827 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=3 01:47:15,827 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:16,11 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 3 01:47:16,11 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,12 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 01:47:16,12 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 3 01:47:16,12 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 2 to 3 01:47:16,12 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 3 data two-new 01:47:16,12 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: two-new 01:47:16,13 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=3 01:47:16,38 PM [main] [INFO] IsolationScenarioTest - Removing isolation 01:47:16,71 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Cannot append entries because sender's term 1 is less than 2 01:47:16,71 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cannot append entries because sender's term 1 is less than 2 01:47:16,72 PM [test-akka.actor.default-dispatcher-17] [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 01:47:16,72 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=2, votedFor=null 01:47:16,72 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 01:47:16,131 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Last sync leader does not match current leader follower2, need to catch up to -1 01:47:16,131 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply: follower leader1 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 01:47:16,131 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:47:16,131 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 1 is present for follower leader1 01:47:16,132 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Sending AppendEntries to follower leader1: AppendEntries [leaderId=follower2, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] [WARN] [07/25/2024 13:47:16.132] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3c1b62e8 01:47:16,132 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,132 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 01:47:16,132 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Number of entries to be appended = 3 01:47:16,132 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 01:47:16,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] is present: existingEntryTerm: 1 01:47:16,133 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 01:47:16,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:47:16,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12 01:47:16,133 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:16,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log two-new 01:47:16,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:16,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Log size is now 3 01:47:16,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Commit index set to 3 01:47:16,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader1, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:47:16,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 01:47:16,134 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader1 updated: matchIndex: 3, nextIndex: 4 01:47:16,134 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 2 01:47:16,135 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: fakeSnapshot purging log to 2 for term 2 01:47:16,135 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 1 to 2 01:47:16,135 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12 01:47:16,135 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 3 01:47:16,135 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 01:47:16,135 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 2 to 3 01:47:16,135 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 3 data two-new 01:47:16,135 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: two-new 01:47:16,144 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:16,144 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:16,145 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=2, lastIndex=3, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 01:47:16,152 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: lastSequenceNumber prior to capture: 10 01:47:16,154 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=3 01:47:16,154 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: CaptureSnapshotReply received by actor 01:47:16,158 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=2, lastAppliedIndex=3, lastAppliedTerm=2, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two-new]], electionTerm=2, electionVotedFor=null, ServerConfigPayload=null] 01:47:16,164 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 [WARN] [07/25/2024 13:47:16.164] [test-akka.actor.default-dispatcher-5] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1fc9df4e 01:47:16,164 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 01:47:16,164 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Snapshot success - sequence number: 10 01:47:16,166 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SnapshotComplete received 01:47:16,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a journal response 01:47:16,175 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a snapshot response 01:47:16,251 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,251 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 2 for term 2 01:47:16,251 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,251 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: fakeSnapshot purging log to 2 for term 2 01:47:16,371 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,372 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,492 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,492 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,612 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,612 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,731 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,732 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,851 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,852 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,972 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:16,972 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,91 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,91 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,212 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,212 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,331 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,331 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,452 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,452 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,571 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,571 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,691 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,692 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,812 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,812 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,931 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:17,932 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,51 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,51 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,171 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,172 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,291 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,291 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,411 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,412 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,531 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,531 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,652 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,652 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,771 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,771 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,892 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:18,892 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,11 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,12 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,131 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,131 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,251 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,252 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,371 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,372 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,491 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,491 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,611 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,611 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,731 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,731 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,852 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,852 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,971 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:19,972 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,92 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,92 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,211 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,211 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,331 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,331 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,451 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,452 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,571 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,571 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,691 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,691 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,811 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,811 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,931 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:20,932 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:21,51 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:21,51 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:21,172 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:21,172 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:21,244 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 01:47:21,258 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-notifier4#-1249049002] 01:47:21,291 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-collector5#918446947] 01:47:21,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 01:47:21,291 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) [WARN] [07/25/2024 13:47:21.292] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower2-collector5] received dead letter: AppendEntriesReply [term=2, success=true, followerId=follower3, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:47:21,293 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower2] 01:47:21,294 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower3-collector6#-1154023851] 01:47:21,295 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower3] 01:47:21,295 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-notifier7#673800567] 01:47:21,296 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-collector8#1658042389] 01:47:21,296 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader1] 01:47:21,300 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 01:47:21,300 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [07/25/2024 13:47:21.311] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower10]: org.opendaylight.controller.cluster.common.actor.Monitor@6b62dab7 01:47:21,312 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower10 with journal batch size 1000 01:47:21,317 PM [test-akka.actor.default-dispatcher-5] [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 01:47:21,417 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower11 with journal batch size 1000 [WARN] [07/25/2024 13:47:21.418] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower11]: org.opendaylight.controller.cluster.common.actor.Monitor@3c922a64 01:47:21,421 PM [test-akka.actor.default-dispatcher-16] [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 01:47:21,523 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader9 with journal batch size 1000 [WARN] [07/25/2024 13:47:21.523] [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@7021a27e 01:47:21,526 PM [test-akka.actor.default-dispatcher-18] [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 01:47:21,622 PM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:47:21,622 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Received TimeoutNow - switching to Candidate 01:47:21,622 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Election: Candidate has following voting peers: [follower10, follower11] 01:47:21,623 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=1, votedFor=leader9 01:47:21,623 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Starting new election term 1 01:47:21,623 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower10 01:47:21,623 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower11 01:47:21,623 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:47:21,623 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:47:21,624 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Cluster state: [] 01:47:21,624 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:47:21,624 PM [test-akka.actor.default-dispatcher-16] [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 01:47:21,624 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=null 01:47:21,624 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:47:21,624 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=leader9 01:47:21,624 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:47:21,623 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:47:21,624 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 01:47:21,624 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:47:21,624 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:47:21,625 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=null 01:47:21,625 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:47:21,625 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=leader9 01:47:21,625 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:47:21,625 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:47:21,625 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:47:21,625 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Election: Leader has following peers: [follower10, follower11] 01:47:21,625 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:47:21,626 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:47:21,626 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower10: Last sync leader does not match current leader leader9, need to catch up to -1 01:47:21,626 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:47:21,626 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader leader9, need to catch up to -1 [WARN] [07/25/2024 13:47:21.626] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower10] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@517fafff 01:47:21,627 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: -1, nextIndex: 0 [WARN] [07/25/2024 13:47:21.627] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2d851de6 01:47:21,627 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 01:47:21,629 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: -1, nextIndex: 0 01:47:21,629 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 01:47:21,676 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 01:47:21,676 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:21,676 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:21,676 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:21,676 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 01:47:21,676 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower10 01:47:21,676 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]]] 01:47:21,677 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 01:47:21,677 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 01:47:21,677 PM [test-akka.actor.default-dispatcher-16] [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]]] 01:47:21,677 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]]] 01:47:21,677 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 01:47:21,677 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:47:21,677 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log zero 01:47:21,677 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:21,677 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 1 01:47:21,677 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:21,677 PM [test-akka.actor.default-dispatcher-16] [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] 01:47:21,677 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:21,677 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 01:47:21,678 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:21,678 PM [test-akka.actor.default-dispatcher-16] [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]]] 01:47:21,678 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 01:47:21,678 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 01:47:21,678 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower10 01:47:21,678 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:47:21,678 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log zero 01:47:21,678 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:21,678 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 01:47:21,678 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 1 01:47:21,678 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 01:47:21,678 PM [test-akka.actor.default-dispatcher-16] [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] 01:47:21,678 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 01:47:21,678 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 0, nextIndex: 1 01:47:21,679 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 01:47:21,679 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower10 01:47:21,679 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]]] 01:47:21,679 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 0, nextIndex: 1 01:47:21,679 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 01:47:21,679 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower11 01:47:21,679 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]]] 01:47:21,681 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:21,681 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:47:21,681 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 0 01:47:21,681 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from -1 to 0 01:47:21,681 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 0 data zero 01:47:21,681 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: zero 01:47:21,681 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=0 01:47:21,682 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:21,683 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:47:21,683 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 01:47:21,683 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:47:21,683 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log one 01:47:21,683 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:21,683 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 2 [WARN] [07/25/2024 13:47:21.683] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower10] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@67b334b2 01:47:21,683 PM [test-akka.actor.default-dispatcher-12] [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] 01:47:21,683 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 01:47:21,683 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 1, nextIndex: 2 01:47:21,683 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [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]]] 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log one 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [07/25/2024 13:47:21.684] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@54ddbbe3 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [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] 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 01:47:21,684 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 01:47:21,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:21,684 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:21,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 0 01:47:21,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 0 (of expected -1) 01:47:21,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:47:21,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 0 01:47:21,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from -1 to 0 01:47:21,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 0 data zero 01:47:21,685 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:21,685 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:47:21,685 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 1 01:47:21,685 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 0 to 1 01:47:21,685 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 1 data one 01:47:21,685 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: zero 01:47:21,685 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: one 01:47:21,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=0 01:47:21,685 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: fakeSnapshot purging log to 0 for term 1 01:47:21,685 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=1 01:47:21,686 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:21,686 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 0 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 0 (of expected -1) 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 0 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from -1 to 0 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 0 data zero 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: zero 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=0 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 1 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 1 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 0 to 1 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 1 data one 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: one 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: fakeSnapshot purging log to 0 for term 1 01:47:21,687 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=1 01:47:21,861 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 1 01:47:21,861 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 01:47:21,861 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:47:21,861 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 1 01:47:21,861 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 0 to 1 01:47:21,861 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 1 data one 01:47:21,862 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: one 01:47:21,862 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 0 for term 1 01:47:21,862 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=1 01:47:21,861 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 01:47:21,880 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 01:47:21,880 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 01:47:21,881 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:47:21,881 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:47:21,881 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:21,881 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:21,881 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 01:47:21,881 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=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:47:21,881 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:21,882 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 01:47:21,882 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=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:47:21,883 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:47:21,981 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 01:47:21,981 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 01:47:22,101 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 01:47:22,101 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=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:47:22,101 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 01:47:22,101 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=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:47:22,221 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 01:47:22,221 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:47:22,222 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 01:47:22,222 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:47:22,821 PM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: At least 1 followers need to be active, Switching leader9 from Leader to IsolatedLeader 01:47:22,821 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Election: Leader has following peers: [follower10, follower11] 01:47:22,821 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:22,822 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:22,822 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 01:47:22,840 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower10 01:47:22,840 PM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:47:22,840 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Received TimeoutNow - switching to Candidate 01:47:22,841 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Election: Candidate has following voting peers: [leader9, follower11] 01:47:22,841 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=2, votedFor=follower10 01:47:22,841 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Starting new election term 2 01:47:22,841 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer leader9 01:47:22,841 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer follower11 01:47:22,842 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:47:22,842 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:47:22,842 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 01:47:22,842 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 01:47:22,842 PM [test-akka.actor.default-dispatcher-7] [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 01:47:22,842 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=null 01:47:22,842 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 01:47:22,842 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=follower10 01:47:22,842 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:47:22,844 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:47:22,844 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:47:22,844 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Election: Leader has following peers: [leader9, follower11] 01:47:22,845 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:47:22,845 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:47:22,845 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:47:22,845 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader follower10, need to catch up to -1 01:47:22,845 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 01:47:22,846 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 [WARN] [07/25/2024 13:47:22.846] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@346cf21 01:47:22,846 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) [WARN] [07/25/2024 13:47:22.846] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@709417b0 01:47:22,891 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 01:47:22,891 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:47:22,891 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:47:22,891 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:22,891 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:22,891 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:22,891 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 2 is present for follower follower11 01:47:22,891 PM [test-akka.actor.default-dispatcher-5] [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]]] 01:47:22,892 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=follower10, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 01:47:22,892 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 01:47:22,892 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:47:22,892 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log two-new 01:47:22,892 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:47:22,892 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 01:47:22,892 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower11, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:47:22,892 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) 01:47:22,893 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 2, nextIndex: 3 01:47:22,893 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:22,893 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:47:22,893 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:47:22,893 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Setting last applied to 2 01:47:22,893 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:47:22,893 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 1 to 2 01:47:22,893 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 2 data two-new 01:47:22,894 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: two-new 01:47:22,894 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=2 01:47:23,81 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 2 01:47:23,81 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 01:47:23,81 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:47:23,81 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 2 01:47:23,81 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 1 to 2 01:47:23,81 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 2 data two-new 01:47:23,82 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: two-new 01:47:23,82 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=2 01:47:23,93 PM [main] [INFO] IsolationScenarioTest - Removing isolation 01:47:23,181 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Cannot append entries because sender's term 1 is less than 2 01:47:23,182 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cannot append entries because sender's term 1 is less than 2 01:47:23,182 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower10, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 01:47:23,182 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=2, votedFor=null 01:47:23,182 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 01:47:23,201 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader9: Last sync leader does not match current leader follower10, need to catch up to -1 01:47:23,201 PM [test-akka.actor.default-dispatcher-17] [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 01:47:23,201 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 01:47:23,201 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:23,201 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 1 is present for follower leader9 01:47:23,201 PM [test-akka.actor.default-dispatcher-17] [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] [07/25/2024 13:47:23.201] [test-akka.actor.default-dispatcher-7] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6b7a609d 01:47:23,201 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]]] 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Number of entries to be appended = 2 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 01:47:23,202 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 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Append entry to log two-new 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Log size is now 2 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Commit index set to 2 01:47:23,202 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] 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader9: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Setting last applied to 2 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 1 to 2 01:47:23,202 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader9 updated: matchIndex: 2, nextIndex: 3 01:47:23,202 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 2 data two-new 01:47:23,203 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 1 for term 2 01:47:23,203 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: two-new 01:47:23,203 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:47:23,204 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:47:23,204 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=2 [WARN] [07/25/2024 13:47:23.205] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@82321ad 01:47:23,246 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 01:47:23,246 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-notifier12#-584006154] 01:47:23,258 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-collector13#535588774] 01:47:23,259 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower10] 01:47:23,260 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower11-collector14#676921632] 01:47:23,261 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower11] 01:47:23,262 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-notifier15#893796659] 01:47:23,263 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-collector16#-1944761893] 01:47:23,263 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader9] 01:47:23,266 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 01:47:23,266 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting 01:47:23,273 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower18 with journal batch size 1000 [WARN] [07/25/2024 13:47:23.273] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower18]: org.opendaylight.controller.cluster.common.actor.Monitor@7a00c73d 01:47:23,276 PM [test-akka.actor.default-dispatcher-6] [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] [07/25/2024 13:47:23.278] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower19]: org.opendaylight.controller.cluster.common.actor.Monitor@3c02c34d 01:47:23,280 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower19 with journal batch size 1000 01:47:23,282 PM [test-akka.actor.default-dispatcher-6] [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] [07/25/2024 13:47:23.385] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader17]: org.opendaylight.controller.cluster.common.actor.Monitor@2b996a29 01:47:23,386 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader17 with journal batch size 1000 01:47:23,389 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:47:23,485 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:47:23,485 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Received TimeoutNow - switching to Candidate 01:47:23,485 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Election: Candidate has following voting peers: [follower18, follower19] 01:47:23,485 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=1, votedFor=leader17 01:47:23,485 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Starting new election term 1 01:47:23,485 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower18 01:47:23,486 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower19 01:47:23,486 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:47:23,486 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Cluster state: [] 01:47:23,486 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:47:23,486 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:47:23,486 PM [test-akka.actor.default-dispatcher-16] [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 01:47:23,486 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=null 01:47:23,486 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:47:23,486 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=leader17 01:47:23,486 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:47:23,487 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:47:23,487 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 01:47:23,487 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:47:23,487 PM [test-akka.actor.default-dispatcher-16] [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 01:47:23,487 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=null 01:47:23,487 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:47:23,487 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=leader17 01:47:23,487 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:47:23,489 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:47:23,489 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:47:23,489 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Election: Leader has following peers: [follower18, follower19] 01:47:23,489 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:47:23,489 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:47:23,490 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:47:23,490 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower18: Last sync leader does not match current leader leader17, need to catch up to -1 01:47:23,490 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Last sync leader does not match current leader leader17, need to catch up to -1 01:47:23,490 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: -1, nextIndex: 0 01:47:23,490 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [07/25/2024 13:47:23.490] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7dce438c 01:47:23,490 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: -1, nextIndex: 0 [WARN] [07/25/2024 13:47:23.490] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@10b4a27 01:47:23,491 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:47:23,491 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 01:47:23,492 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:23,492 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:23,492 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:23,492 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:47:23,492 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower18 01:47:23,492 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:47:23,492 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:47:23,492 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower19 01:47:23,493 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:47:23,493 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:47:23,493 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 01:47:23,493 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:47:23,493 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log zero 01:47:23,493 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:23,493 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 1 01:47:23,493 PM [test-akka.actor.default-dispatcher-6] [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] 01:47:23,493 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 01:47:23,494 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 0, nextIndex: 1 01:47:23,493 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]]] 01:47:23,494 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 01:47:23,494 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:47:23,494 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:47:23,494 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log zero 01:47:23,494 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:23,494 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:23,494 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 1 01:47:23,494 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] 01:47:23,494 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:47:23,494 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 01:47:23,494 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 0 01:47:23,494 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from -1 to 0 01:47:23,494 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 0 data zero 01:47:23,495 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: zero 01:47:23,495 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 0, nextIndex: 1 01:47:23,495 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:47:23,495 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=0 01:47:23,497 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:23,497 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:47:23,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 0 [WARN] [07/25/2024 13:47:23.498] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2bb9f9e0 01:47:23,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 01:47:23,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:47:23,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 0 01:47:23,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from -1 to 0 01:47:23,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 0 data zero 01:47:23,498 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: zero [WARN] [07/25/2024 13:47:23.498] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3507ffae 01:47:23,498 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=0 01:47:23,601 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 01:47:23,601 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Commit index set to 0 01:47:23,602 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 01:47:23,602 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:47:23,602 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Setting last applied to 0 01:47:23,602 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from -1 to 0 01:47:23,602 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 0 data zero 01:47:23,603 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: zero 01:47:23,603 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=0 01:47:23,644 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:23,644 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:23,644 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:23,645 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:23,645 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower18 01:47:23,645 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:47:23,645 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:23,645 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower19 01:47:23,645 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:47:23,646 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:47:23,646 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 01:47:23,646 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:47:23,646 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log one 01:47:23,646 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:23,646 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 2 01:47:23,646 PM [test-akka.actor.default-dispatcher-6] [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] 01:47:23,646 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 01:47:23,646 PM [test-akka.actor.default-dispatcher-16] [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]]] 01:47:23,646 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 1, nextIndex: 2 01:47:23,646 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 01:47:23,647 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:47:23,647 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:23,647 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log one 01:47:23,647 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:23,647 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 2 01:47:23,647 PM [test-akka.actor.default-dispatcher-16] [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] 01:47:23,647 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 01:47:23,648 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 01:47:23,648 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:23,650 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:23,650 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:23,650 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:47:23,650 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:47:23,650 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 1 01:47:23,650 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 0 to 1 01:47:23,650 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 1 data one 01:47:23,650 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: one 01:47:23,651 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: fakeSnapshot purging log to 0 for term 1 01:47:23,651 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=1 01:47:23,706 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 01:47:23,706 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 01:47:23,707 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:47:23,707 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:47:23,707 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:23,707 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:23,707 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:47:23,708 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 01:47:23,709 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:47:23,709 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:47:23,709 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:23,709 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 01:47:23,709 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 01:47:23,709 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 01:47:23,709 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 01:47:23,709 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:47:23,710 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:47:23,710 PM [test-akka.actor.default-dispatcher-17] [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] 01:47:23,710 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 7 01:47:23,710 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 01:47:23,710 PM [test-akka.actor.default-dispatcher-17] [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] 01:47:23,710 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 01:47:23,710 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 01:47:23,710 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:47:23,710 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:47:23,710 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 7 01:47:23,711 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 01:47:23,711 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 01:47:23,711 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 01:47:23,841 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 01:47:23,841 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:47:23,841 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 01:47:23,841 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:47:23,961 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 01:47:23,961 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]]] 01:47:23,961 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 01:47:23,961 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]]] 01:47:24,82 PM [test-akka.actor.default-dispatcher-17] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: At least 1 followers need to be active, Switching leader17 from Leader to IsolatedLeader 01:47:24,82 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Election: Leader has following peers: [follower18, follower19] 01:47:24,82 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 01:47:24,82 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 01:47:24,83 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 01:47:24,111 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower18 01:47:24,112 PM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:47:24,112 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Received TimeoutNow - switching to Candidate 01:47:24,112 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Election: Candidate has following voting peers: [follower19, leader17] 01:47:24,112 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=2, votedFor=follower18 01:47:24,112 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Starting new election term 2 01:47:24,112 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer follower19 01:47:24,112 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:47:24,113 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer leader17 01:47:24,113 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 01:47:24,113 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 01:47:24,113 PM [test-akka.actor.default-dispatcher-12] [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 01:47:24,113 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=null 01:47:24,113 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:47:24,113 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 01:47:24,113 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=follower18 01:47:24,113 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:47:24,114 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:47:24,115 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:47:24,115 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 01:47:24,115 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Election: Leader has following peers: [follower19, leader17] 01:47:24,115 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:24,115 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:47:24,116 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 01:47:24,116 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 01:47:24,116 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 01:47:24,116 PM [test-akka.actor.default-dispatcher-16] [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 01:47:24,116 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [07/25/2024 13:47:24.116] [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@38c95f16 01:47:24,117 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:24,117 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:24,117 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 0 (of expected -1) 01:47:24,117 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Replicate message: identifier: null, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.persisted.NoopPayload, isSendImmediate: true 01:47:24,117 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:24,117 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 [WARN] [07/25/2024 13:47:24.117] [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@57ed1deb 01:47:24,117 PM [test-akka.actor.default-dispatcher-16] [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@dd34e12]]] 01:47:24,117 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:24,117 PM [test-akka.actor.default-dispatcher-7] [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@dd34e12]]] 01:47:24,117 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 01:47:24,117 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:47:24,118 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12 01:47:24,118 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:24,118 PM [test-akka.actor.default-dispatcher-16] [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 01:47:24,118 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 01:47:24,118 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 3 01:47:24,118 PM [test-akka.actor.default-dispatcher-7] [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] 01:47:24,118 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 0 (of expected -1) 01:47:24,118 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 2, nextIndex: 3 01:47:24,118 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 01:47:24,118 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [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 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 1 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 0 to 1 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 1 data one 01:47:24,119 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: one 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 2 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 1 to 2 01:47:24,119 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12 01:47:24,120 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 01:47:24,120 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Election: Leader has following peers: [leader17, follower19] 01:47:24,120 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:24,120 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:47:24,120 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 01:47:24,120 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 2 01:47:24,120 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 01:47:24,120 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 01:47:24,120 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=2 01:47:24,120 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 1 01:47:24,120 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 0 to 1 01:47:24,120 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 1 data one 01:47:24,121 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: one 01:47:24,121 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 2 01:47:24,121 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 1 to 2 01:47:24,121 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@dd34e12 01:47:24,121 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=2 01:47:24,163 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 01:47:24,163 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:24,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:24,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:24,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:47:24,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:47:24,164 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 01:47:24,164 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:47:24,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:47:24,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:47:24,165 PM [test-akka.actor.default-dispatcher-18] [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]]] 01:47:24,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:24,165 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 01:47:24,165 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:47:24,165 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log two-new 01:47:24,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:47:24,165 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:24,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:47:24,165 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 4 01:47:24,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 01:47:24,165 PM [test-akka.actor.default-dispatcher-18] [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] 01:47:24,165 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 01:47:24,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:47:24,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:47:24,165 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 01:47:24,166 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:47:24,166 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:47:24,166 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 01:47:24,166 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 3, nextIndex: 4 01:47:24,166 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:47:24,166 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 4 is present for follower follower19 01:47:24,166 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, prevLogIndex=3, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:47:24,168 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:24,168 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:47:24,168 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 3 01:47:24,169 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 2 to 3 01:47:24,169 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 3 data two-new 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:24,169 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: two-new 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=3, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 2 01:47:24,169 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=3 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log three-new 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log four-new 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:47:24,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 6 01:47:24,169 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] 01:47:24,169 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 01:47:24,169 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 5, nextIndex: 6 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 3 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 4 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 3 to 4 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 4 data three-new 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: three-new 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 5 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 4 to 5 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 5 data four-new 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: four-new 01:47:24,170 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:47:24,171 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=5 01:47:24,172 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:47:24,172 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:47:24,172 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 5 01:47:24,172 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 2, lastIndex(): 5 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 3 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 2 to 3 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 3 data two-new 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: two-new 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 4 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 3 to 4 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 4 data three-new 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: three-new 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 5 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 4 to 5 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 5 data four-new 01:47:24,173 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: four-new 01:47:24,174 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=5 01:47:24,215 PM [main] [INFO] IsolationScenarioTest - Removing isolation 01:47:24,231 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Term 2 in "AppendEntries [leaderId=follower18, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than leader's term 1 - switching to Follower 01:47:24,231 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=2, votedFor=null 01:47:24,232 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 01:47:24,351 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Last sync leader does not match current leader follower18, need to catch up to -1 01:47:24,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,351 PM [test-akka.actor.default-dispatcher-7] [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 01:47:24,351 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:47:24,351 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower leader17 01:47:24,351 PM [test-akka.actor.default-dispatcher-7] [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] [07/25/2024 13:47:24.351] [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@1d55ff24 01:47:24,351 PM [test-akka.actor.default-dispatcher-18] [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]]] 01:47:24,351 PM [test-akka.actor.default-dispatcher-18] [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 01:47:24,352 PM [test-akka.actor.default-dispatcher-18] [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] 01:47:24,352 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 4 entries behind leader follower18 and reached 1 (of expected -1) 01:47:24,352 PM [test-akka.actor.default-dispatcher-17] [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 01:47:24,352 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): follower leader17 last log term 1 conflicts with the leader's 2 - dec next index to 2 01:47:24,352 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:47:24,352 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 2 is present for follower leader17 [WARN] [07/25/2024 13:47:24.352] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader17] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@607f22d3 01:47:24,352 PM [test-akka.actor.default-dispatcher-17] [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@dd34e12], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:47:24,352 PM [test-akka.actor.default-dispatcher-18] [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@dd34e12], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Number of entries to be appended = 4 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] is present: existingEntryTerm: 1 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log two-new 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log three-new 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log four-new 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Log size is now 4 01:47:24,353 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Commit index set to 5 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [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] 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 2 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 1 to 2 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 3 01:47:24,354 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader17 updated: matchIndex: 5, nextIndex: 6 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 2 to 3 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 3 data two-new 01:47:24,354 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: fakeSnapshot purging log to 4 for term 2 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: two-new 01:47:24,354 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 4 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 3 to 4 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 4 data three-new 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: three-new 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 5 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 4 to 5 01:47:24,354 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 5 data four-new 01:47:24,355 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: four-new 01:47:24,356 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@dd34e12] 01:47:24,357 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:47:24,357 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:47:24,357 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:47:24,357 PM [test-akka.actor.default-dispatcher-6] [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] 01:47:24,357 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 14 01:47:24,357 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=5 01:47:24,358 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 01:47:24,358 PM [test-akka.actor.default-dispatcher-18] [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] 01:47:24,358 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 01:47:24,358 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 01:47:24,358 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 01:47:24,358 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 14 01:47:24,359 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 01:47:24,359 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 01:47:24,359 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 01:47:24,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,471 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,471 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: fakeSnapshot purging log to 4 for term 2 01:47:24,591 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,591 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,711 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,711 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,831 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,831 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,951 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:24,951 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,71 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,71 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,191 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,191 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,311 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,311 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,431 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,431 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,551 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,551 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,671 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,671 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,791 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,791 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,911 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:25,911 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,31 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,31 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,151 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,151 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,271 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,271 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,391 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,391 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,511 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,511 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,631 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,631 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,751 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,751 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,871 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,871 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,990 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:26,991 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,111 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,111 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,231 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,231 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,351 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,351 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,471 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,591 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,591 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,712 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,712 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,831 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,831 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,951 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:27,951 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,71 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,71 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,191 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,311 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,311 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,431 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,431 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,551 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,551 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,671 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,671 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,791 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,791 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,912 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:28,912 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:29,31 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:29,31 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:29,151 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:29,151 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:29,271 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:29,271 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:29,391 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:29,391 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 01:47:29,411 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 01:47:29,411 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-notifier20#1311919483] 01:47:29,423 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-collector21#-1044118380] 01:47:29,423 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower18] 01:47:29,424 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower19-collector22#710886139] 01:47:29,424 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower19] 01:47:29,425 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-notifier23#-2064719776] 01:47:29,425 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-collector24#1991716622] 01:47:29,426 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader17] [INFO] [07/25/2024 13:47:29.429] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:47:29,430 PM [test-akka.actor.default-dispatcher-15] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [07/25/2024 13:47:29.446] [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.85:25520) [INFO] [07/25/2024 13:47:29.447] [test-akka.actor.internal-dispatcher-11] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.85:25520] - Exiting completed 01:47:29,452 PM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.85:25520] - Exiting completed [INFO] [07/25/2024 13:47:29.448] [test-akka.actor.internal-dispatcher-11] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.85:25520] - Shutting down... 01:47:29,452 PM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.85:25520] - Shutting down... 01:47:29,452 PM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.85:25520] - Successfully shut down [INFO] [07/25/2024 13:47:29.449] [test-akka.actor.internal-dispatcher-11] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.85:25520] - Successfully shut down [INFO] [07/25/2024 13:47:29.466] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.171.85:25520/system/remoting-terminator] Shutting down remote daemon. 01:47:29,466 PM [test-akka.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [07/25/2024 13:47:29.467] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.171.85:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:47:29,467 PM [test-akka.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports.