[DEBUG] [01/16/2024 15:56:27.894] [main] [EventStream(akka://test)] logger log1-TestEventListener started 03:56:27,895 PM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [01/16/2024 15:56:27.895] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [01/16/2024 15:56:27.895] [main] [EventStream(akka://test)] Default Loggers started [INFO] [01/16/2024 15:56:27.910] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.218:25520] with UID [6142797340650806931] 03:56:27,911 PM [test-akka.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.218:25520] with UID [6142797340650806931] [INFO] [01/16/2024 15:56:27.911] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.218:25520] - Starting up, Akka version [2.6.21] ... 03:56:27,912 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.218:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/16/2024 15:56:27.916] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.218:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [01/16/2024 15:56:27.916] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.218:25520] - Started up successfully 03:56:27,916 PM [test-akka.actor.default-dispatcher-10] [INFO] Cluster - Cluster Node [akka://test@10.30.171.218:25520] - Registered cluster JMX MBean [akka:type=Cluster] 03:56:27,916 PM [test-akka.actor.default-dispatcher-10] [INFO] Cluster - Cluster Node [akka://test@10.30.171.218:25520] - Started up successfully [INFO] [01/16/2024 15:56:27.917] [test-akka.actor.internal-dispatcher-11] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.218:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [01/16/2024 15:56:27.918] [test-akka.actor.internal-dispatcher-11] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.218:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 03:56:27,918 PM [test-akka.actor.default-dispatcher-10] [INFO] Cluster - Cluster Node [akka://test@10.30.171.218:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 03:56:27,918 PM [test-akka.actor.default-dispatcher-10] [INFO] Cluster - Cluster Node [akka://test@10.30.171.218:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 03:56:27,927 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerLeaderStateChanges [WARN] [01/16/2024 15:56:27.933] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower520]: org.opendaylight.controller.cluster.common.actor.Monitor@5dc3e145 [INFO] [akkaDeadLetter][01/16/2024 15:56:27.933] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower520] 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'. 03:56:27,934 PM [test-akka.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower520] 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'. 03:56:27,935 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower520 with journal batch size 1000 03:56:27,940 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader519 with journal batch size 1000 [WARN] [01/16/2024 15:56:27.940] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader519]: org.opendaylight.controller.cluster.common.actor.Monitor@4a94eafe [INFO] [akkaDeadLetter][01/16/2024 15:56:27.940] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader519] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 03:56:27,942 PM [test-akka.actor.default-dispatcher-10] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower520: Set currentTerm=1, votedFor=leader519 03:56:27,943 PM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader519] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 03:56:27,949 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519: Set currentTerm=1, votedFor=leader519 03:56:27,950 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:27,950 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519: Updated server config: isVoting: true, peers: [PeerInfo [id=follower520, address=akka://test/user/follower520, votingState=NON_VOTING]] 03:56:27,950 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader519: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:27,951 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower520: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:27,951 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower520: Updated server config: isVoting: false, peers: [PeerInfo [id=leader519, address=akka://test/user/leader519, votingState=VOTING]] 03:56:27,951 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower520: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:28,396 PM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:56:28,397 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.218:25520, Removed) 03:56:28,397 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Follower): Received ElectionTimeout - switching to Candidate 03:56:28,397 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Candidate): Election: Candidate has following voting peers: [] 03:56:28,397 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519: Set currentTerm=2, votedFor=leader519 03:56:28,397 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Candidate): Starting new election term 2 03:56:28,397 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 03:56:28,398 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Candidate): Received ElectionTimeout 03:56:28,398 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Leader): Election: Leader has following peers: [follower520] 03:56:28,399 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:28,399 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 03:56:28,399 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower520 (Follower): Term 2 in "AppendEntries [leaderId=leader519, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 03:56:28,399 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower520: Set currentTerm=2, votedFor=null 03:56:28,399 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower520: Last sync leader does not match current leader leader519, need to catch up to -1 03:56:28,399 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower520 updated: matchIndex: -1, nextIndex: 0 03:56:28,399 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Leader): Checking sendAppendEntries for follower follower520: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 15:56:28.400] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower520] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@365ca01 [INFO] [akkaDeadLetter][01/16/2024 15:56:28.400] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower520] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower520] was unhandled. [3] 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'. 03:56:28,401 PM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower520] was unhandled. [3] 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'. 03:56:28,404 PM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:56:28,757 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower520: Lagging 0 entries behind leader leader519 and reached -1 (of expected -1) [WARN] [01/16/2024 15:56:28.757] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower520] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2c252889 [INFO] [akkaDeadLetter][01/16/2024 15:56:28.758] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower520] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower520] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 03:56:28,758 PM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower520] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 03:56:28,807 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/roleChangeNotifier522#1528384626] 03:56:28,819 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower520-collector523#-595146140] 03:56:28,820 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower520] 03:56:28,821 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader519-collector524#-827461702] 03:56:28,821 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader519] 03:56:28,822 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart starting [WARN] [01/16/2024 15:56:28.825] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower526]: org.opendaylight.controller.cluster.common.actor.Monitor@6f0f4d34 [INFO] [akkaDeadLetter][01/16/2024 15:56:28.825] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower526] to Actor[akka://test/user/termination-monitor] was not delivered. [5] 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'. 03:56:28,825 PM [test-akka.actor.default-dispatcher-15] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower526] to Actor[akka://test/user/termination-monitor] was not delivered. [5] 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'. 03:56:28,826 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower526 with journal batch size 1000 03:56:28,830 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Set currentTerm=1, votedFor=leader525 03:56:28,830 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:28,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Updated server config: isVoting: false, peers: [PeerInfo [id=leader525, address=akka://test/user/leader525, votingState=VOTING]] 03:56:28,831 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 15:56:28.928] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader525]: org.opendaylight.controller.cluster.common.actor.Monitor@4316c2bf [INFO] [akkaDeadLetter][01/16/2024 15:56:28.928] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader525] to Actor[akka://test/user/termination-monitor] was not delivered. [6] 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'. 03:56:28,928 PM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader525] to Actor[akka://test/user/termination-monitor] was not delivered. [6] 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'. 03:56:28,929 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader525 with journal batch size 1000 03:56:28,931 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=1, votedFor=leader525 03:56:28,931 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:28,931 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Updated server config: isVoting: true, peers: [PeerInfo [id=follower526, address=akka://test/user/follower526, votingState=NON_VOTING]] 03:56:28,931 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:29,446 PM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:56:29,447 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.218:25520, Removed) 03:56:29,447 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower): Received ElectionTimeout - switching to Candidate 03:56:29,447 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Election: Candidate has following voting peers: [] 03:56:29,447 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=2, votedFor=leader525 03:56:29,447 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Starting new election term 2 03:56:29,447 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 03:56:29,448 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Received ElectionTimeout 03:56:29,449 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Election: Leader has following peers: [follower526] 03:56:29,449 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:29,449 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 03:56:29,449 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Term 2 in "AppendEntries [leaderId=leader525, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 03:56:29,449 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Set currentTerm=2, votedFor=null 03:56:29,449 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower526: Last sync leader does not match current leader leader525, need to catch up to -1 03:56:29,449 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower526 updated: matchIndex: -1, nextIndex: 0 03:56:29,450 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 15:56:29.450] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower526] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5a8e65fa [INFO] [akkaDeadLetter][01/16/2024 15:56:29.450] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower526] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower526] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 03:56:29,451 PM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower526] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 03:56:29,481 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:29,481 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:29,481 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 03:56:29,481 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 0 03:56:29,481 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from -1 to 0 03:56:29,481 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 0 data zero 03:56:29,482 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: zero 03:56:29,482 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:29,482 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 0 is present for follower follower526 03:56:29,482 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Sending AppendEntries to follower follower526: AppendEntries [leaderId=leader525, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleAppendEntries: AppendEntries [leaderId=leader525, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Number of entries to be appended = 1 03:56:29,482 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=0 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Append entry to log zero 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:29,482 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Log size is now 1 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Commit index set to 0 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower526, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:29,482 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower526: Lagging 0 entries behind leader leader525 and reached 0 (of expected -1) 03:56:29,482 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Setting last applied to 0 03:56:29,482 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Moving last applied index from -1 to 0 03:56:29,482 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Applying state for log index 0 data zero 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 1 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from 0 to 1 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 1 data one 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: applyState called: zero 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: one 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 0 is present for follower follower526 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Persisting ApplyJournalEntries with index=0 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Sending AppendEntries to follower follower526: AppendEntries [leaderId=leader525, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower526 updated: matchIndex: 0, nextIndex: 1 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: fakeSnapshot purging log to 0 for term 2 [WARN] [01/16/2024 15:56:29.483] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower526] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@17290d76 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 [INFO] [akkaDeadLetter][01/16/2024 15:56:29.483] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower526] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower526] was unhandled. [8] 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'. 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleAppendEntries: AppendEntries [leaderId=leader525, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 1 is present for follower follower526 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Number of entries to be appended = 2 03:56:29,483 PM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower526] was unhandled. [8] 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'. 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 03:56:29,483 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Sending AppendEntries to follower follower526: AppendEntries [leaderId=leader525, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Append entry to log one 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Log size is now 2 03:56:29,483 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Commit index set to 1 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower526, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=1 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower526: Lagging 0 entries behind leader leader525 and reached 1 (of expected -1) 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Setting last applied to 1 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Moving last applied index from 0 to 1 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Applying state for log index 1 data one 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower526 updated: matchIndex: 1, nextIndex: 2 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: applyState called: one 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleAppendEntries: AppendEntries [leaderId=leader525, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Number of entries to be appended = 1 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 2 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from 1 to 2 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 2 data two 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Log size is now 2 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower526, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower526: Lagging 0 entries behind leader leader525 and reached 1 (of expected -1) 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: fakeSnapshot purging log to 0 for term 2 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: two 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 2 is present for follower follower526 03:56:29,484 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Persisting ApplyJournalEntries with index=1 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Sending AppendEntries to follower follower526: AppendEntries [leaderId=leader525, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: fakeSnapshot purging log to 1 for term 2 03:56:29,484 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleAppendEntries: AppendEntries [leaderId=leader525, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 03:56:29,484 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Number of entries to be appended = 1 03:56:29,484 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 2 is present for follower follower526 03:56:29,484 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 03:56:29,484 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Append entry to log two 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:29,485 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=2 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Log size is now 2 03:56:29,485 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Commit index set to 2 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower526, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower526: Lagging 0 entries behind leader leader525 and reached 2 (of expected -1) 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Setting last applied to 2 03:56:29,485 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower526 updated: matchIndex: 2, nextIndex: 3 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Moving last applied index from 1 to 2 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Applying state for log index 2 data two 03:56:29,485 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: applyState called: two 03:56:29,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Persisting ApplyJournalEntries with index=2 [WARN] [01/16/2024 15:56:29.545] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader525]: org.opendaylight.controller.cluster.common.actor.Monitor@70133e9a 03:56:29,545 PM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader525] to Actor[akka://test/user/termination-monitor] was not delivered. [9] 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'. [INFO] [akkaDeadLetter][01/16/2024 15:56:29.545] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader525] to Actor[akka://test/user/termination-monitor] was not delivered. [9] 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'. 03:56:29,546 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader525 with journal batch size 1000 03:56:29,548 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=1, votedFor=leader525 03:56:29,548 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:29,548 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Updated server config: isVoting: true, peers: [PeerInfo [id=follower526, address=akka://test/user/follower526, votingState=NON_VOTING]] 03:56:29,548 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=2, votedFor=leader525 03:56:29,548 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:30,7 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.218:25520, Removed) 03:56:30,7 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower): Received ElectionTimeout - switching to Candidate 03:56:30,7 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Election: Candidate has following voting peers: [] 03:56:30,7 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=3, votedFor=leader525 03:56:30,7 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Starting new election term 3 03:56:30,7 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 03:56:30,9 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Received ElectionTimeout 03:56:30,9 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Election: Leader has following peers: [follower526] 03:56:30,9 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:30,9 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 0 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from -1 to 0 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 0 data zero-1 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: zero-1 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=0 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 1 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from 0 to 1 03:56:30,52 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 1 data one-1 03:56:30,53 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: one-1 03:56:30,53 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:56:30,53 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=1 03:56:30,53 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:30,127 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Term 3 in "AppendEntries [leaderId=leader525, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 03:56:30,127 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Set currentTerm=3, votedFor=null 03:56:30,127 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower526: Lagging -3 entries behind leader leader525 and reached 2 (of expected -1) 03:56:30,127 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply: follower follower526 lastIndex 2 is ahead of our lastIndex 1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 03:56:30,127 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=3, lastIndex=1, lastTerm=3, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower526 03:56:30,127 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: lastSequenceNumber prior to capture: -1 03:56:30,128 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: CaptureSnapshotReply received by actor 03:56:30,128 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting of snapshot done: Snapshot [lastIndex=1, lastTerm=3, lastAppliedIndex=1, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1]], electionTerm=3, electionVotedFor=leader525, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower526, isVoting=false], ServerInfo[peerId=leader525, isVoting=true]]]] 03:56:30,128 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 03:56:30,128 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendInstallSnapshot 03:56:30,128 PM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader525 (Leader): Snapshot 333 bytes, total chunks to send: 1 03:56:30,128 PM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader525 (Leader): Next chunk: total length=333, offset=0, size=333, hashCode=878051978 03:56:30,128 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): next snapshot chunk size for follower follower526: 333 03:56:30,128 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): InstallSnapshot sent to follower Vector(user, follower526), Chunk: 1/1 03:56:30,128 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Snapshot success - sequence number: -1 03:56:30,129 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: SnapshotComplete received 03:56:30,129 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader525, lastIncludedIndex=1, lastIncludedTerm=3, datasize=333, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower526, isVoting=false], ServerInfo[peerId=leader525, isVoting=true]]]] 03:56:30,129 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower526: Lagging -1 entries behind leader leader525 and reached 2 (of expected -1) 03:56:30,129 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 03:56:30,129 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Snapshot installed from leader: leader525 03:56:30,130 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Applying snapshot on follower: Snapshot [lastIndex=1, lastTerm=3, lastAppliedIndex=1, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1]], electionTerm=3, electionVotedFor=null, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower526, isVoting=false], ServerInfo[peerId=leader525, isVoting=true]]]] 03:56:30,130 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 03:56:30,130 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Snapshot success - sequence number: -1 03:56:30,130 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Moving last applied index from 2 to 1 03:56:30,130 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Set currentTerm=3, votedFor=null 03:56:30,130 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Updated server config: isVoting: false, peers: [PeerInfo [id=leader525, address=akka://test/user/leader525, votingState=VOTING]] 03:56:30,130 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: applySnapshot called 03:56:30,130 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower526, chunkIndex=1, success=true] 03:56:30,131 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: SnapshotComplete received 03:56:30,131 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower526, chunkIndex=1, success=true] 03:56:30,131 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Snapshot successfully installed on follower follower526 (last chunk 1) - matchIndex set to 1, nextIndex set to 2 03:56:30,131 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: fakeSnapshot purging log to 0 for term 3 03:56:30,152 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart ending 03:56:30,152 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower526-collector528#-303018172] 03:56:30,163 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower526] 03:56:30,163 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader525-collector529#-1368895047] 03:56:30,163 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader525] 03:56:30,164 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader525-collector530#-1267097015] 03:56:30,164 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader525] 03:56:30,165 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart starting [WARN] [01/16/2024 15:56:30.167] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower532]: org.opendaylight.controller.cluster.common.actor.Monitor@16c0c6af [INFO] [akkaDeadLetter][01/16/2024 15:56:30.168] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower532] to Actor[akka://test/user/termination-monitor] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[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'. 03:56:30,168 PM [test-akka.actor.default-dispatcher-16] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower532] to Actor[akka://test/user/termination-monitor] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[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'. 03:56:30,168 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower532 with journal batch size 1000 03:56:30,170 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=leader531 03:56:30,170 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:30,170 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Updated server config: isVoting: false, peers: [PeerInfo [id=leader531, address=akka://test/user/leader531, votingState=VOTING]] 03:56:30,170 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 15:56:30.268] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader531]: org.opendaylight.controller.cluster.common.actor.Monitor@2393570e 03:56:30,269 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader531 with journal batch size 1000 03:56:30,271 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=1, votedFor=leader531 03:56:30,271 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:30,271 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Updated server config: isVoting: true, peers: [PeerInfo [id=follower532, address=akka://test/user/follower532, votingState=NON_VOTING]] 03:56:30,271 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:30,736 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:56:30,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.218:25520, Removed) 03:56:30,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower): Received ElectionTimeout - switching to Candidate 03:56:30,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Election: Candidate has following voting peers: [] 03:56:30,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=2, votedFor=leader531 03:56:30,737 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Starting new election term 2 03:56:30,737 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 03:56:30,739 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Received ElectionTimeout 03:56:30,739 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Election: Leader has following peers: [follower532] 03:56:30,739 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:30,739 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 03:56:30,739 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Term 2 in "AppendEntries [leaderId=leader531, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 03:56:30,739 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=2, votedFor=null 03:56:30,739 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower532: Last sync leader does not match current leader leader531, need to catch up to -1 03:56:30,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: -1, nextIndex: 0 03:56:30,740 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 15:56:30.741] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@e272036 03:56:30,772 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:30,772 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:30,772 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 03:56:30,772 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Setting last applied to 0 03:56:30,772 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Moving last applied index from -1 to 0 03:56:30,772 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Applying state for log index 0 data zero 03:56:30,772 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: applyState called: zero 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 0 is present for follower follower532 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Sending AppendEntries to follower follower532: AppendEntries [leaderId=leader531, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persisting ApplyJournalEntries with index=0 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries: AppendEntries [leaderId=leader531, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 1 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log zero 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Setting last applied to 1 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Moving last applied index from 0 to 1 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Applying state for log index 1 data one 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 1 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 0 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower532, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: applyState called: one 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader531 and reached 0 (of expected -1) 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 0 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 0 is present for follower follower532 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 0 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 0 data zero 03:56:30,773 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Sending AppendEntries to follower follower532: AppendEntries [leaderId=leader531, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:30,773 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: zero 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 0, nextIndex: 1 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: fakeSnapshot purging log to 0 for term 2 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries: AppendEntries [leaderId=leader531, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 1 is present for follower follower532 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 2 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Sending AppendEntries to follower follower532: AppendEntries [leaderId=leader531, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log one 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 2 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 1 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persisting ApplyJournalEntries with index=1 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower532, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader531 and reached 1 (of expected -1) 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 1 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from 0 to 1 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 1 data one 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 1, nextIndex: 2 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: one 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Setting last applied to 2 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Moving last applied index from 1 to 2 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=0 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Applying state for log index 2 data two 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries: AppendEntries [leaderId=leader531, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: applyState called: two 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 1 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 2 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 03:56:30,774 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 2 is present for follower follower532 03:56:30,774 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower532, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader531 and reached 1 (of expected -1) 03:56:30,775 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Sending AppendEntries to follower follower532: AppendEntries [leaderId=leader531, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: fakeSnapshot purging log to 0 for term 2 03:56:30,775 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persisting ApplyJournalEntries with index=2 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=1 03:56:30,775 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: fakeSnapshot purging log to 1 for term 2 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries: AppendEntries [leaderId=leader531, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 1 03:56:30,775 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 2 is present for follower follower532 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log two 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:30,775 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 2 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 2 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower532, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader531 and reached 2 (of expected -1) 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 2 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from 1 to 2 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 2 data two 03:56:30,775 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 2, nextIndex: 3 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: two 03:56:30,775 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 03:56:30,775 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=2 [WARN] [01/16/2024 15:56:30.776] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@602d03c0 [WARN] [01/16/2024 15:56:30.837] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader531]: org.opendaylight.controller.cluster.common.actor.Monitor@1fb02f75 03:56:30,838 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader531 with journal batch size 1000 03:56:30,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=1, votedFor=leader531 03:56:30,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:30,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Updated server config: isVoting: true, peers: [PeerInfo [id=follower532, address=akka://test/user/follower532, votingState=NON_VOTING]] 03:56:30,841 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=2, votedFor=leader531 03:56:30,841 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:31,277 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.218:25520, Removed) 03:56:31,277 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower): Received ElectionTimeout - switching to Candidate 03:56:31,277 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Election: Candidate has following voting peers: [] 03:56:31,277 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=3, votedFor=leader531 03:56:31,277 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Starting new election term 3 03:56:31,277 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 03:56:31,279 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Received ElectionTimeout 03:56:31,279 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Election: Leader has following peers: [follower532] 03:56:31,279 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:31,279 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 03:56:31,279 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Term 3 in "AppendEntries [leaderId=leader531, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 03:56:31,279 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=3, votedFor=null 03:56:31,280 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower532: Lagging -3 entries behind leader leader531 and reached 2 (of expected -1) 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply: follower follower532 lastIndex 2 is ahead of our lastIndex -1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=-1, lastAppliedTerm=-1, lastIndex=-1, lastTerm=-1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower532 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: lastSequenceNumber prior to capture: -1 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: CaptureSnapshotReply received by actor 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persisting of snapshot done: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=3, electionVotedFor=leader531, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower532, isVoting=false], ServerInfo[peerId=leader531, isVoting=true]]]] 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendInstallSnapshot 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader531 (Leader): Snapshot 171 bytes, total chunks to send: 1 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader531 (Leader): Next chunk: total length=171, offset=0, size=171, hashCode=-2041399403 03:56:31,280 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): next snapshot chunk size for follower follower532: 171 03:56:31,281 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): InstallSnapshot sent to follower Vector(user, follower532), Chunk: 1/1 03:56:31,281 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Snapshot success - sequence number: -1 03:56:31,281 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: SnapshotComplete received 03:56:31,281 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader531, lastIncludedIndex=-1, lastIncludedTerm=-1, datasize=171, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower532, isVoting=false], ServerInfo[peerId=leader531, isVoting=true]]]] 03:56:31,281 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower532: Lagging -3 entries behind leader leader531 and reached 2 (of expected -1) 03:56:31,281 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 03:56:31,281 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Snapshot installed from leader: leader531 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying snapshot on follower: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=3, electionVotedFor=null, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower532, isVoting=false], ServerInfo[peerId=leader531, isVoting=true]]]] 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Snapshot success - sequence number: -1 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from 2 to -1 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=3, votedFor=null 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Updated server config: isVoting: false, peers: [PeerInfo [id=leader531, address=akka://test/user/leader531, votingState=VOTING]] 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applySnapshot called 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower532, chunkIndex=1, success=true] 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: SnapshotComplete received 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower532, chunkIndex=1, success=true] 03:56:31,282 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Snapshot successfully installed on follower follower532 (last chunk 1) - matchIndex set to -1, nextIndex set to 0 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Setting last applied to 0 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Moving last applied index from -1 to 0 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Applying state for log index 0 data zero-1 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: applyState called: zero-1 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 0 is present for follower follower532 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Sending AppendEntries to follower follower532: AppendEntries [leaderId=leader531, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1]]] 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persisting ApplyJournalEntries with index=0 03:56:31,291 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:31,291 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries: AppendEntries [leaderId=leader531, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1]]] 03:56:31,291 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 1 03:56:31,291 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 03:56:31,291 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log zero-1 03:56:31,291 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:31,291 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 1 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 0 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower532, logLastIndex=0, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader531 and reached 0 (of expected -1) 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 0 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 0 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 0 data zero-1 03:56:31,292 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 0, nextIndex: 1 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: zero-1 03:56:31,292 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:31,292 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=0 03:56:31,341 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart ending 03:56:31,341 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower532-collector534#-1842892398] 03:56:31,352 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower532] 03:56:31,352 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader531-collector535#327435116] 03:56:31,352 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader531] 03:56:31,353 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader531-collector536#354978110] 03:56:31,353 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader531] 03:56:31,354 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart starting [WARN] [01/16/2024 15:56:31.356] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower538]: org.opendaylight.controller.cluster.common.actor.Monitor@24958175 03:56:31,357 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower538 with journal batch size 1000 03:56:31,359 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Set currentTerm=1, votedFor=leader537 03:56:31,359 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:31,359 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Updated server config: isVoting: false, peers: [PeerInfo [id=leader537, address=akka://test/user/leader537, votingState=VOTING]] 03:56:31,359 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/16/2024 15:56:31.458] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader537]: org.opendaylight.controller.cluster.common.actor.Monitor@59d59a73 03:56:31,459 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader537 with journal batch size 1000 03:56:31,461 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=1, votedFor=leader537 03:56:31,461 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:31,461 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Updated server config: isVoting: true, peers: [PeerInfo [id=follower538, address=akka://test/user/follower538, votingState=NON_VOTING]] 03:56:31,461 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:31,966 PM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:56:31,967 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.218:25520, Removed) 03:56:31,967 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower): Received ElectionTimeout - switching to Candidate 03:56:31,967 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Election: Candidate has following voting peers: [] 03:56:31,967 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=2, votedFor=leader537 03:56:31,967 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Starting new election term 2 03:56:31,967 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 03:56:31,968 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Received ElectionTimeout 03:56:31,969 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Election: Leader has following peers: [follower538] 03:56:31,969 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:31,969 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 03:56:31,969 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Term 2 in "AppendEntries [leaderId=leader537, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 03:56:31,969 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Set currentTerm=2, votedFor=null 03:56:31,969 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower538: Last sync leader does not match current leader leader537, need to catch up to -1 03:56:31,969 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower538 updated: matchIndex: -1, nextIndex: 0 03:56:31,969 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 15:56:31.970] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower538] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2057c79c 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 0 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from -1 to 0 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 0 data zero 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: zero 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendAppendEntries: 0 is present for follower follower538 03:56:32,17 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Sending AppendEntries to follower follower538: AppendEntries [leaderId=leader537, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=0 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleAppendEntries: AppendEntries [leaderId=leader537, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Number of entries to be appended = 1 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Append entry to log zero 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 1 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from 0 to 1 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 1 data one 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Log size is now 1 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: one 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Commit index set to 0 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendAppendEntries: 0 is present for follower follower538 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower538, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Sending AppendEntries to follower follower538: AppendEntries [leaderId=leader537, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower538: Lagging 0 entries behind leader leader537 and reached 0 (of expected -1) 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Setting last applied to 0 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Moving last applied index from -1 to 0 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=1 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Applying state for log index 0 data zero 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower538 updated: matchIndex: 0, nextIndex: 1 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: fakeSnapshot purging log to 0 for term 2 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: applyState called: zero 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendAppendEntries: 1 is present for follower follower538 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Sending AppendEntries to follower follower538: AppendEntries [leaderId=leader537, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:32,18 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:32,18 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleAppendEntries: AppendEntries [leaderId=leader537, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Number of entries to be appended = 2 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Append entry to log one 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Log size is now 2 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Commit index set to 1 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower538, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower538: Lagging 0 entries behind leader leader537 and reached 1 (of expected -1) 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Setting last applied to 1 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Moving last applied index from 0 to 1 03:56:32,19 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower538 updated: matchIndex: 1, nextIndex: 2 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Applying state for log index 1 data one 03:56:32,19 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: applyState called: one 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Persisting ApplyJournalEntries with index=0 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleAppendEntries: AppendEntries [leaderId=leader537, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Number of entries to be appended = 1 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Log size is now 2 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower538, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower538: Lagging 0 entries behind leader leader537 and reached 1 (of expected -1) 03:56:32,19 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: fakeSnapshot purging log to 0 for term 2 03:56:32,20 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Persisting ApplyJournalEntries with index=1 [WARN] [01/16/2024 15:56:32.020] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower538] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7805877f 03:56:32,80 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader537 with journal batch size 1000 [WARN] [01/16/2024 15:56:32.080] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader537]: org.opendaylight.controller.cluster.common.actor.Monitor@6d89ae29 03:56:32,87 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=1, votedFor=leader537 03:56:32,87 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:32,87 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Updated server config: isVoting: true, peers: [PeerInfo [id=follower538, address=akka://test/user/follower538, votingState=NON_VOTING]] 03:56:32,87 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=2, votedFor=leader537 03:56:32,88 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:32,596 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.218:25520, Removed) 03:56:32,596 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower): Received ElectionTimeout - switching to Candidate 03:56:32,597 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Election: Candidate has following voting peers: [] 03:56:32,597 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=3, votedFor=leader537 03:56:32,597 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Starting new election term 3 03:56:32,597 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 03:56:32,598 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Received ElectionTimeout 03:56:32,598 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Election: Leader has following peers: [follower538] 03:56:32,598 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:32,599 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 0 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from -1 to 0 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 0 data zero-1 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: zero-1 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=0 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:32,643 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 1 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from 0 to 1 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 1 data one-1 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: one-1 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=1 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 2 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from 1 to 2 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 2 data two-1 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: two-1 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=2 03:56:32,644 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 03:56:32,717 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Term 3 in "AppendEntries [leaderId=leader537, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 03:56:32,717 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Set currentTerm=3, votedFor=null 03:56:32,717 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower538: Lagging -2 entries behind leader leader537 and reached 1 (of expected -1) 03:56:32,718 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleAppendEntriesReply: follower follower538 last log term 2 for index 1 conflicts with the leader's 3 - set the follower's next index to 0 03:56:32,718 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 03:56:32,718 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendAppendEntries: 0 is present for follower follower538 03:56:32,718 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Sending AppendEntries to follower follower538: AppendEntries [leaderId=leader537, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1], SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1]]] 03:56:32,719 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleAppendEntries: AppendEntries [leaderId=leader537, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1], SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1]]] 03:56:32,719 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Number of entries to be appended = 3 03:56:32,719 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: 2 03:56:32,719 PM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:56:32,719 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Removing entries from log starting at 0, commitIndex: 1, lastApplied: 1 03:56:32,719 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Could not remove entries - sending reply to force snapshot 03:56:32,719 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower538: Lagging 1 entries behind leader leader537 and reached 1 (of expected -1) 03:56:32,719 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower538, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=true, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 03:56:32,719 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=3, lastIndex=2, lastTerm=3, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower538 03:56:32,719 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: lastSequenceNumber prior to capture: -1 03:56:32,720 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: CaptureSnapshotReply received by actor 03:56:32,721 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=3, lastAppliedIndex=2, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1, two-1]], electionTerm=3, electionVotedFor=leader537, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower538, isVoting=false], ServerInfo[peerId=leader537, isVoting=true]]]] 03:56:32,721 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 03:56:32,721 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendInstallSnapshot 03:56:32,721 PM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader537 (Leader): Snapshot 351 bytes, total chunks to send: 1 03:56:32,721 PM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader537 (Leader): Next chunk: total length=351, offset=0, size=351, hashCode=236499276 03:56:32,721 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): next snapshot chunk size for follower follower538: 351 03:56:32,721 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): InstallSnapshot sent to follower Vector(user, follower538), Chunk: 1/1 03:56:32,721 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader537, lastIncludedIndex=2, lastIncludedTerm=3, datasize=351, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower538, isVoting=false], ServerInfo[peerId=leader537, isVoting=true]]]] 03:56:32,721 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Snapshot success - sequence number: -1 03:56:32,721 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower538: Lagging 1 entries behind leader leader537 and reached 1 (of expected -1) 03:56:32,721 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 03:56:32,721 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: SnapshotComplete received 03:56:32,721 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Snapshot installed from leader: leader537 03:56:32,722 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Applying snapshot on follower: Snapshot [lastIndex=2, lastTerm=3, lastAppliedIndex=2, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1, two-1]], electionTerm=3, electionVotedFor=null, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower538, isVoting=false], ServerInfo[peerId=leader537, isVoting=true]]]] 03:56:32,722 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 03:56:32,722 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Snapshot success - sequence number: -1 03:56:32,722 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Moving last applied index from 1 to 2 03:56:32,722 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Set currentTerm=3, votedFor=null 03:56:32,722 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Updated server config: isVoting: false, peers: [PeerInfo [id=leader537, address=akka://test/user/leader537, votingState=VOTING]] 03:56:32,722 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: applySnapshot called 03:56:32,723 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower538, chunkIndex=1, success=true] 03:56:32,723 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: SnapshotComplete received 03:56:32,723 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower538, chunkIndex=1, success=true] 03:56:32,723 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Snapshot successfully installed on follower follower538 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 03:56:32,723 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: fakeSnapshot purging log to 1 for term 3 03:56:32,744 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart ending 03:56:32,744 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower538-collector540#1792860261] 03:56:32,755 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower538] 03:56:32,755 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader537-collector541#1792200072] 03:56:32,755 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader537] 03:56:32,755 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader537-collector542#-1870553069] 03:56:32,755 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader537] 03:56:32,756 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart starting [WARN] [01/16/2024 15:56:32.759] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower544]: org.opendaylight.controller.cluster.common.actor.Monitor@256dfbcc 03:56:32,759 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower544 with journal batch size 1000 [WARN] [01/16/2024 15:56:32.761] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader543]: org.opendaylight.controller.cluster.common.actor.Monitor@16fd452d 03:56:32,762 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Set currentTerm=1, votedFor=leader543 03:56:32,762 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:32,762 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Updated server config: isVoting: false, peers: [PeerInfo [id=leader543, address=akka://test/user/leader543, votingState=VOTING]] 03:56:32,762 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader543 with journal batch size 1000 03:56:32,762 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:32,763 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Set currentTerm=1, votedFor=leader543 03:56:32,763 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Received ReplicatedLogEntry for recovery: index: 0, size: 143 03:56:32,763 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Updated server config: isVoting: true, peers: [PeerInfo [id=follower544, address=akka://test/user/follower544, votingState=NON_VOTING]] 03:56:32,763 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:33,247 PM [test-akka.actor.default-dispatcher-7] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:56:33,247 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.218:25520, Removed) 03:56:33,247 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower): Received ElectionTimeout - switching to Candidate 03:56:33,247 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Election: Candidate has following voting peers: [] 03:56:33,247 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Set currentTerm=2, votedFor=leader543 03:56:33,247 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Starting new election term 2 03:56:33,247 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 03:56:33,251 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Received ElectionTimeout 03:56:33,251 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Election: Leader has following peers: [follower544] 03:56:33,251 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:33,251 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 03:56:33,251 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Term 2 in "AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 1 - updating term 03:56:33,251 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Set currentTerm=2, votedFor=null 03:56:33,252 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower544: Last sync leader does not match current leader leader543, need to catch up to -1 03:56:33,252 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower544 updated: matchIndex: -1, nextIndex: 0 03:56:33,252 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 15:56:33.253] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower544] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7abb7a70 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 0 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from -1 to 0 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 0 data zero 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: zero 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower544 03:56:33,264 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower544: AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=0 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 1 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Append entry to log zero 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Log size is now 1 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Commit index set to 0 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower544, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 0 (of expected -1) 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 1 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 0 to 1 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Setting last applied to 0 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 1 data one 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Moving last applied index from -1 to 0 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Applying state for log index 0 data zero 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: one 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: applyState called: zero 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower544 03:56:33,265 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Persisting ApplyJournalEntries with index=0 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower544: AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower544 updated: matchIndex: 0, nextIndex: 1 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: fakeSnapshot purging log to 0 for term 2 [WARN] [01/16/2024 15:56:33.265] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower544] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7c27927 03:56:33,265 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 1 is present for follower follower544 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero], SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 2 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower544: AppendEntries [leaderId=leader543, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Append entry to log one 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Log size is now 2 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Commit index set to 1 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower544, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=1 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 1 (of expected -1) 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Setting last applied to 1 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Moving last applied index from 0 to 1 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Applying state for log index 1 data one 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: applyState called: one 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower544 updated: matchIndex: 1, nextIndex: 2 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 1 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Log size is now 2 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower544, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 1 (of expected -1) 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: fakeSnapshot purging log to 0 for term 2 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 03:56:33,266 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Persisting ApplyJournalEntries with index=1 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 2 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 1 to 2 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 2 data two 03:56:33,266 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: two 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 2 is present for follower follower544 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower544: AppendEntries [leaderId=leader543, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 1 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 03:56:33,267 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: fakeSnapshot purging log to 1 for term 2 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Append entry to log two 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Log size is now 2 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Commit index set to 2 03:56:33,267 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 2 is present for follower follower544 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower544, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 2 (of expected -1) 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Setting last applied to 2 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Moving last applied index from 1 to 2 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Applying state for log index 2 data two 03:56:33,267 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=2 03:56:33,267 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: applyState called: two 03:56:33,267 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower544 updated: matchIndex: 2, nextIndex: 3 03:56:33,268 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Persisting ApplyJournalEntries with index=2 03:56:33,268 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 03:56:33,268 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 03:56:33,487 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 2 (of expected -1) 03:56:33,488 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: fakeSnapshot purging log to 1 for term 2 [WARN] [01/16/2024 15:56:33.531] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower545]: org.opendaylight.controller.cluster.common.actor.Monitor@b70f9f4 03:56:33,532 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower545 with journal batch size 1000 03:56:33,534 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Received ReplicatedLogEntry for recovery: index: 0, size: 174 03:56:33,535 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Updated server config: isVoting: true, peers: [PeerInfo [id=leader543, address=akka://test/user/leader543, votingState=VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING], PeerInfo [id=follower544, address=akka://test/user/follower544, votingState=NON_VOTING]] 03:56:33,535 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:33,539 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader543 with journal batch size 1000 [WARN] [01/16/2024 15:56:33.539] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader543]: org.opendaylight.controller.cluster.common.actor.Monitor@2cd5ac 03:56:33,541 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Set currentTerm=2, votedFor=leader543 03:56:33,541 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Received ReplicatedLogEntry for recovery: index: 0, size: 174 03:56:33,541 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Updated server config: isVoting: true, peers: [PeerInfo [id=follower545, address=akka://test/user/follower545, votingState=VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING], PeerInfo [id=follower544, address=akka://test/user/follower544, votingState=NON_VOTING]] 03:56:33,541 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 03:56:33,986 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.218:25520, Removed) 03:56:33,986 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower): Received ElectionTimeout - switching to Candidate 03:56:33,987 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Election: Candidate has following voting peers: [follower545] 03:56:33,987 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Set currentTerm=3, votedFor=leader543 03:56:33,987 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Starting new election term 3 03:56:33,987 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Sending RequestVote [term=3, candidateId=leader543, lastLogIndex=-1, lastLogTerm=-1] to peer follower545 03:56:33,987 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 03:56:33,987 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 03:56:33,987 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Cluster state: [] 03:56:33,987 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=leader543, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 03:56:33,987 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Term 3 in "RequestVote [term=3, candidateId=leader543, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 03:56:33,987 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Set currentTerm=3, votedFor=null 03:56:33,987 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): In requestVote: RequestVote [term=3, candidateId=leader543, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 03:56:33,987 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Set currentTerm=3, votedFor=leader543 03:56:33,987 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 03:56:33,988 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 03:56:33,988 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 03:56:33,989 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Election: Leader has following peers: [follower545, downPeer, follower544] 03:56:33,989 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:33,989 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 03:56:33,989 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 03:56:33,989 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower545: Last sync leader does not match current leader leader543, need to catch up to -1 03:56:33,989 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: -1, nextIndex: 0 03:56:33,989 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 15:56:33.989] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower545] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2c84957e 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower545 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower545: AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1]]] 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower545 03:56:33,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1]]] 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Number of entries to be appended = 1 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log zero-1 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Log size is now 1 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower545, logLastIndex=0, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached -1 (of expected -1) 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: 0, nextIndex: 1 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 0 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from -1 to 0 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 0 data zero-1 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: zero-1 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 1 is present for follower follower545 [WARN] [01/16/2024 15:56:33.992] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower545] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@677ff6bb 03:56:33,992 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower545: AppendEntries [leaderId=leader543, prevLogIndex=0, prevLogTerm=3, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=3, payload=one-1]]] 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=0 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=0, prevLogTerm=3, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=3, payload=one-1]]] 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Number of entries to be appended = 1 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: -1 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 1 is present for follower follower545 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log one-1 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Log size is now 2 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Commit index set to 0 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=three-1}, logIndex: 3, isSendImmediate: true 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower545, logLastIndex=1, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 0 (of expected -1) 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 1 is present for follower follower545 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 0 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from -1 to 0 03:56:33,993 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 0 data zero-1 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: 1, nextIndex: 2 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 1 03:56:33,993 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 0 to 1 03:56:33,994 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 1 data one-1 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: zero-1 03:56:33,994 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: one-1 03:56:33,994 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 03:56:33,994 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 2 is present for follower follower545 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Persisting ApplyJournalEntries with index=0 03:56:33,994 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower545: AppendEntries [leaderId=leader543, prevLogIndex=1, prevLogTerm=3, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1]]] 03:56:33,994 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=1, prevLogTerm=3, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1]]] 03:56:33,994 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=1 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Number of entries to be appended = 2 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 03:56:33,994 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log two-1 03:56:33,994 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 03:56:33,994 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=four-1}, logIndex: 4, isSendImmediate: true 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log three-1 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 03:56:33,994 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:56:33,994 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 2 is present for follower follower545 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Log size is now 4 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Commit index set to 1 03:56:33,994 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower545, logLastIndex=3, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 1 (of expected -1) 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 3 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 1 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from 0 to 1 03:56:33,994 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: 3, nextIndex: 4 03:56:33,994 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 1 data one-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 2 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 1 to 2 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 2 data two-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: one-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: two-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 3 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 2 to 3 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 3 data three-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Persisting ApplyJournalEntries with index=1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: three-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 4 is present for follower follower545 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower545: AppendEntries [leaderId=leader543, prevLogIndex=3, prevLogTerm=3, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=3, prevLogTerm=3, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Number of entries to be appended = 1 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log four-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Log size is now 5 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Commit index set to 3 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower545, logLastIndex=4, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 3 (of expected -1) 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 4 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 2 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from 1 to 2 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 2 data two-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=3 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: two-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 3 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from 2 to 3 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 3 data three-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: 4, nextIndex: 5 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: three-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 4 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 3 to 4 03:56:33,995 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 4 data four-1 03:56:33,995 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Persisting ApplyJournalEntries with index=3 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: four-1 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Commit index set to 4 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 4 (of expected -1) 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 4 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 4 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from 3 to 4 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 4 data four-1 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: four-1 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Persisting ApplyJournalEntries with index=4 03:56:33,996 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=4 03:56:34,107 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 4 (of expected -1) 03:56:34,107 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Term 3 in "AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 2 - updating term 03:56:34,107 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Set currentTerm=3, votedFor=null 03:56:34,107 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower544: Lagging -3 entries behind leader leader543 and reached 2 (of expected -1) 03:56:34,108 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply: follower follower544 last log term 2 for index 2 conflicts with the leader's 3 - set the follower's next index to 1 03:56:34,108 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 1, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:56:34,108 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 1 is present for follower follower544 03:56:34,108 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower544: AppendEntries [leaderId=leader543, prevLogIndex=0, prevLogTerm=3, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1], SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 03:56:34,109 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=0, prevLogTerm=3, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1], SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 03:56:34,109 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): The prevLogIndex 0 was found in the log but the term 2 is not equal to the append entries prevLogTerm 3 - lastIndex: 2, snapshotIndex: 1, snapshotTerm: 2 03:56:34,109 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=3, success=false, followerId=follower544, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 03:56:34,109 PM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower544: Lagging 2 entries behind leader leader543 and reached 2 (of expected -1) 03:56:34,109 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower544, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 03:56:34,109 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): follower follower544 last log term 2 conflicts with the leader's 3 - dec next index to 0 03:56:34,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 03:56:34,109 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower544 03:56:34,110 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower544: AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1], SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1], SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 03:56:34,110 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=4, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1], SimpleReplicatedLogEntry [index=1, term=3, payload=one-1], SimpleReplicatedLogEntry [index=2, term=3, payload=two-1], SimpleReplicatedLogEntry [index=3, term=3, payload=three-1], SimpleReplicatedLogEntry [index=4, term=3, payload=four-1]]] 03:56:34,110 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 5 03:56:34,110 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: -1 03:56:34,110 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] is present: existingEntryTerm: 2 03:56:34,110 PM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 03:56:34,110 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Removing entries from log starting at 1, commitIndex: 2, lastApplied: 2 03:56:34,110 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Could not remove entries - sending reply to force snapshot 03:56:34,110 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower544: Lagging 2 entries behind leader leader543 and reached 2 (of expected -1) 03:56:34,110 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower544, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=true, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 03:56:34,110 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=4, lastAppliedTerm=3, lastIndex=4, lastTerm=3, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower544 03:56:34,110 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: lastSequenceNumber prior to capture: -1 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: CaptureSnapshotReply received by actor 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting of snapshot done: Snapshot [lastIndex=4, lastTerm=3, lastAppliedIndex=4, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1, two-1, three-1, four-1]], electionTerm=3, electionVotedFor=leader543, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower545, isVoting=true], ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=follower544, isVoting=false], ServerInfo[peerId=leader543, isVoting=true]]]] 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendInstallSnapshot 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [DEBUG] LeaderInstallSnapshotState - leader543 (Leader): Snapshot 390 bytes, total chunks to send: 1 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [DEBUG] LeaderInstallSnapshotState - leader543 (Leader): Next chunk: total length=390, offset=0, size=390, hashCode=-929342248 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): next snapshot chunk size for follower follower544: 390 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): InstallSnapshot sent to follower Vector(user, follower544), Chunk: 1/1 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Snapshot success - sequence number: -1 03:56:34,111 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader543, lastIncludedIndex=4, lastIncludedTerm=3, datasize=390, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower545, isVoting=true], ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=follower544, isVoting=false], ServerInfo[peerId=leader543, isVoting=true]]]] 03:56:34,111 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: SnapshotComplete received 03:56:34,111 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower544: Lagging 2 entries behind leader leader543 and reached 2 (of expected -1) 03:56:34,111 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 03:56:34,112 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Snapshot installed from leader: leader543 03:56:34,113 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Applying snapshot on follower: Snapshot [lastIndex=4, lastTerm=3, lastAppliedIndex=4, lastAppliedTerm=3, unAppliedEntries size=0, state=MockSnapshotState [state=[zero-1, one-1, two-1, three-1, four-1]], electionTerm=3, electionVotedFor=null, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower545, isVoting=true], ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=follower544, isVoting=false], ServerInfo[peerId=leader543, isVoting=true]]]] 03:56:34,113 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 03:56:34,113 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Snapshot success - sequence number: -1 03:56:34,113 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Moving last applied index from 2 to 4 03:56:34,113 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Set currentTerm=3, votedFor=null 03:56:34,113 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Updated server config: isVoting: false, peers: [PeerInfo [id=leader543, address=akka://test/user/leader543, votingState=VOTING], PeerInfo [id=follower545, address=null, votingState=VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING]] 03:56:34,113 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: applySnapshot called 03:56:34,113 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower544, chunkIndex=1, success=true] 03:56:34,113 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: SnapshotComplete received 03:56:34,113 PM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower544, chunkIndex=1, success=true] 03:56:34,113 PM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Snapshot successfully installed on follower follower544 (last chunk 1) - matchIndex set to 4, nextIndex set to 5 03:56:34,143 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart ending 03:56:34,143 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower544-collector546#686100926] 03:56:34,154 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower544] 03:56:34,155 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader543-collector547#1449646624] 03:56:34,155 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader543] 03:56:34,155 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower545-collector548#-195377904] 03:56:34,156 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower545] 03:56:34,156 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader543-collector549#-914998379] 03:56:34,156 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader543] [INFO] [01/16/2024 15:56:34.157] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 03:56:34,158 PM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [01/16/2024 15:56:34.159] [test-akka.actor.default-dispatcher-7] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.218:25520) [INFO] [01/16/2024 15:56:34.160] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.218:25520] - Exiting completed 03:56:34,160 PM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.218:25520] - Exiting completed [INFO] [01/16/2024 15:56:34.160] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.218:25520] - Shutting down... 03:56:34,160 PM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.218:25520] - Shutting down... [INFO] [01/16/2024 15:56:34.161] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.218:25520] - Successfully shut down 03:56:34,161 PM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.218:25520] - Successfully shut down [INFO] [01/16/2024 15:56:34.162] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.218:25520/system/remoting-terminator] Shutting down remote daemon. 03:56:34,162 PM [test-akka.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 03:56:34,162 PM [test-akka.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/16/2024 15:56:34.162] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.218:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/16/2024 15:56:34.169] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.218:25520/system/remoting-terminator] Remoting shut down. 03:56:34,169 PM [test-akka.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.