[DEBUG] [03/11/2024 13:31:16.404] [main] [EventStream(akka://test)] logger log1-TestEventListener started 01:31:16,405 PM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/11/2024 13:31:16.405] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/11/2024 13:31:16.405] [main] [EventStream(akka://test)] Default Loggers started 01:31:16,426 PM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.175:25520] with UID [-4432515089756778970] 01:31:16,426 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.175:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/11/2024 13:31:16.425] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.175:25520] with UID [-4432515089756778970] [INFO] [03/11/2024 13:31:16.426] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.175:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/11/2024 13:31:16.430] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.175:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/11/2024 13:31:16.430] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.175:25520] - Started up successfully [INFO] [03/11/2024 13:31:16.431] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.175:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/11/2024 13:31:16.431] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.175:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:31:16,432 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.175:25520] - Registered cluster JMX MBean [akka:type=Cluster] 01:31:16,432 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.175:25520] - Started up successfully 01:31:16,432 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.175:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 01:31:16,432 PM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.175:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:31:16,442 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerLeaderStateChanges [WARN] [03/11/2024 13:31:16.447] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower520]: org.opendaylight.controller.cluster.common.actor.Monitor@5ff50002 [INFO] [akkaDeadLetter][03/11/2024 13:31:16.447] [test-akka.actor.default-dispatcher-11] [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'. 01:31:16,448 PM [test-akka.actor.default-dispatcher-11] [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'. 01:31:16,449 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower520 with journal batch size 1000 [WARN] [03/11/2024 13:31:16.450] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader519]: org.opendaylight.controller.cluster.common.actor.Monitor@54d8f401 [INFO] [akkaDeadLetter][03/11/2024 13:31:16.450] [test-akka.actor.default-dispatcher-12] [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'. 01:31:16,450 PM [test-akka.actor.default-dispatcher-12] [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'. 01:31:16,450 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader519 with journal batch size 1000 01:31:16,454 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower520: Set currentTerm=1, votedFor=leader519 01:31:16,455 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower520: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:16,455 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower520: Updated server config: isVoting: false, peers: [PeerInfo [id=leader519, address=akka://test/user/leader519, votingState=VOTING]] 01:31:16,455 PM [test-akka.actor.default-dispatcher-6] [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 01:31:16,455 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519: Set currentTerm=1, votedFor=leader519 01:31:16,455 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:16,456 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519: Updated server config: isVoting: true, peers: [PeerInfo [id=follower520, address=akka://test/user/follower520, votingState=NON_VOTING]] 01:31:16,456 PM [test-akka.actor.default-dispatcher-5] [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 01:31:16,896 PM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:31:16,896 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.170.175:25520, Removed) 01:31:16,896 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Follower): Received ElectionTimeout - switching to Candidate 01:31:16,896 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Candidate): Election: Candidate has following voting peers: [] 01:31:16,896 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519: Set currentTerm=2, votedFor=leader519 01:31:16,897 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Candidate): Starting new election term 2 01:31:16,897 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:31:16,898 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Candidate): Received ElectionTimeout 01:31:16,898 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Leader): Election: Leader has following peers: [follower520] 01:31:16,899 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:16,899 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:31:16,899 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 01:31:16,899 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower520: Set currentTerm=2, votedFor=null 01:31:16,899 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 01:31:16,899 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower520 updated: matchIndex: -1, nextIndex: 0 01:31:16,899 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader519 (Leader): Checking sendAppendEntries for follower follower520: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/11/2024 13:31:16.900] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower520] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2dd32695 [INFO] [akkaDeadLetter][03/11/2024 13:31:16.900] [test-akka.actor.default-dispatcher-5] [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'. 01:31:16,900 PM [test-akka.actor.default-dispatcher-6] [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'. 01:31:16,904 PM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:31:17,256 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower520: Lagging 0 entries behind leader leader519 and reached -1 (of expected -1) [WARN] [03/11/2024 13:31:17.257] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower520] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@64f5388a 01:31:17,257 PM [test-akka.actor.default-dispatcher-11] [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'. [INFO] [akkaDeadLetter][03/11/2024 13:31:17.257] [test-akka.actor.default-dispatcher-11] [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'. 01:31:17,307 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/roleChangeNotifier522#443867541] 01:31:17,318 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower520-collector523#1416249596] 01:31:17,318 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower520] 01:31:17,318 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader519-collector524#-1265998717] 01:31:17,319 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader519] 01:31:17,320 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart starting [WARN] [03/11/2024 13:31:17.322] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower526]: org.opendaylight.controller.cluster.common.actor.Monitor@c8f0cf7 [INFO] [akkaDeadLetter][03/11/2024 13:31:17.322] [test-akka.actor.default-dispatcher-6] [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'. 01:31:17,322 PM [test-akka.actor.default-dispatcher-16] [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'. 01:31:17,322 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower526 with journal batch size 1000 [WARN] [03/11/2024 13:31:17.324] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader525]: org.opendaylight.controller.cluster.common.actor.Monitor@4714a1e6 [INFO] [akkaDeadLetter][03/11/2024 13:31:17.324] [test-akka.actor.default-dispatcher-6] [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'. 01:31:17,324 PM [test-akka.actor.default-dispatcher-6] [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'. 01:31:17,324 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader525 with journal batch size 1000 01:31:17,325 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Set currentTerm=1, votedFor=leader525 01:31:17,325 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:17,325 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Updated server config: isVoting: false, peers: [PeerInfo [id=leader525, address=akka://test/user/leader525, votingState=VOTING]] 01:31:17,325 PM [test-akka.actor.default-dispatcher-11] [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 01:31:17,326 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=1, votedFor=leader525 01:31:17,326 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:17,326 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Updated server config: isVoting: true, peers: [PeerInfo [id=follower526, address=akka://test/user/follower526, votingState=NON_VOTING]] 01:31:17,326 PM [test-akka.actor.default-dispatcher-15] [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 01:31:17,796 PM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:31:17,796 PM [test-akka.actor.default-dispatcher-16] [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.170.175:25520, Removed) 01:31:17,796 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower): Received ElectionTimeout - switching to Candidate 01:31:17,797 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Election: Candidate has following voting peers: [] 01:31:17,797 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=2, votedFor=leader525 01:31:17,797 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Starting new election term 2 01:31:17,797 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:31:17,798 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Received ElectionTimeout 01:31:17,798 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Election: Leader has following peers: [follower526] 01:31:17,798 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:17,799 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:31:17,799 PM [test-akka.actor.default-dispatcher-15] [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 01:31:17,799 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Set currentTerm=2, votedFor=null 01:31:17,799 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower526: Last sync leader does not match current leader leader525, need to catch up to -1 01:31:17,799 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower526 updated: matchIndex: -1, nextIndex: 0 01:31:17,799 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/11/2024 13:31:17.800] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower526] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@d30c842 01:31:17,800 PM [test-akka.actor.default-dispatcher-15] [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'. [INFO] [akkaDeadLetter][03/11/2024 13:31:17.800] [test-akka.actor.default-dispatcher-15] [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'. 01:31:17,830 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:17,830 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:17,830 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:31:17,830 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 0 01:31:17,830 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from -1 to 0 01:31:17,830 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 0 data zero 01:31:17,830 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: zero 01:31:17,830 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 01:31:17,830 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 0 is present for follower follower526 01:31:17,830 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]]] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=0 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Number of entries to be appended = 1 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Append entry to log zero 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Log size is now 1 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Commit index set to 0 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [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] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower526: Lagging 0 entries behind leader leader525 and reached 0 (of expected -1) 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 1 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Setting last applied to 0 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from 0 to 1 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Moving last applied index from -1 to 0 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 1 data one 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Applying state for log index 0 data zero 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: one 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: applyState called: zero 01:31:17,831 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 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 0 is present for follower follower526 01:31:17,831 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]]] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Persisting ApplyJournalEntries with index=0 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower526 updated: matchIndex: 0, nextIndex: 1 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Number of entries to be appended = 2 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: fakeSnapshot purging log to 0 for term 2 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Append entry to log one 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:17,831 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 01:31:17,831 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 1 is present for follower follower526 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Log size is now 2 01:31:17,831 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]]] 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Commit index set to 1 01:31:17,831 PM [test-akka.actor.default-dispatcher-6] [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] 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower526: Lagging 0 entries behind leader leader525 and reached 1 (of expected -1) 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Setting last applied to 1 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Moving last applied index from 0 to 1 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=1 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Applying state for log index 1 data one 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: applyState called: one 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower526 updated: matchIndex: 1, nextIndex: 2 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Number of entries to be appended = 1 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Log size is now 2 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [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] 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 2 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower526: Lagging 0 entries behind leader leader525 and reached 1 (of expected -1) 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from 1 to 2 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: fakeSnapshot purging log to 0 for term 2 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 2 data two 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: two 01:31:17,832 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Persisting ApplyJournalEntries with index=1 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 2 is present for follower follower526 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [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]]] 01:31:17,832 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]]] [WARN] [03/11/2024 13:31:17.832] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower526] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3f21dd74 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Number of entries to be appended = 1 01:31:17,832 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. [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'. 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 [INFO] [akkaDeadLetter][03/11/2024 13:31:17.832] [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'. 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Append entry to log two 01:31:17,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Log size is now 2 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Commit index set to 2 01:31:17,833 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: fakeSnapshot purging log to 1 for term 2 01:31:17,833 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] 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower526: Lagging 0 entries behind leader leader525 and reached 2 (of expected -1) 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:31:17,833 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendAppendEntries: 2 is present for follower follower526 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Setting last applied to 2 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Moving last applied index from 1 to 2 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Applying state for log index 2 data two 01:31:17,833 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=2 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: applyState called: two 01:31:17,833 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:17,833 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Persisting ApplyJournalEntries with index=2 01:31:17,833 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower526 updated: matchIndex: 2, nextIndex: 3 01:31:17,833 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 [WARN] [03/11/2024 13:31:17.893] [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@4b27ed2d 01:31:17,893 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][03/11/2024 13:31:17.893] [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. [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'. 01:31:17,894 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader525 with journal batch size 1000 01:31:17,896 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=1, votedFor=leader525 01:31:17,896 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:17,896 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Updated server config: isVoting: true, peers: [PeerInfo [id=follower526, address=akka://test/user/follower526, votingState=NON_VOTING]] 01:31:17,896 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=2, votedFor=leader525 01:31:17,896 PM [test-akka.actor.default-dispatcher-11] [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 01:31:18,356 PM [test-akka.actor.default-dispatcher-15] [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.170.175:25520, Removed) 01:31:18,356 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower): Received ElectionTimeout - switching to Candidate 01:31:18,357 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Election: Candidate has following voting peers: [] 01:31:18,357 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Set currentTerm=3, votedFor=leader525 01:31:18,357 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Starting new election term 3 01:31:18,357 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:31:18,358 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate): Received ElectionTimeout 01:31:18,358 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Election: Leader has following peers: [follower526] 01:31:18,358 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:18,358 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:31:18,396 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:18,396 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:18,396 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 01:31:18,396 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 0 01:31:18,396 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from -1 to 0 01:31:18,396 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 0 data zero-1 01:31:18,396 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: zero-1 01:31:18,396 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:31:18,396 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=0 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Setting last applied to 1 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Moving last applied index from 0 to 1 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Applying state for log index 1 data one-1 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: applyState called: one-1 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Persisting ApplyJournalEntries with index=1 01:31:18,397 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:18,476 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 01:31:18,476 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Set currentTerm=3, votedFor=null 01:31:18,476 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower526: Lagging -3 entries behind leader leader525 and reached 2 (of expected -1) 01:31:18,476 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleAppendEntriesReply: follower follower526 lastIndex 2 is ahead of our lastIndex 1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 01:31:18,476 PM [test-akka.actor.default-dispatcher-11] [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 01:31:18,476 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: lastSequenceNumber prior to capture: -1 01:31:18,477 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: CaptureSnapshotReply received by actor 01:31:18,477 PM [test-akka.actor.default-dispatcher-11] [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]]]] 01:31:18,477 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 01:31:18,477 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): sendInstallSnapshot 01:31:18,477 PM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader525 (Leader): Snapshot 333 bytes, total chunks to send: 1 01:31:18,477 PM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader525 (Leader): Next chunk: total length=333, offset=0, size=333, hashCode=878051978 01:31:18,477 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): next snapshot chunk size for follower follower526: 333 01:31:18,477 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): InstallSnapshot sent to follower Vector(user, follower526), Chunk: 1/1 01:31:18,477 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: Snapshot success - sequence number: -1 01:31:18,478 PM [test-akka.actor.default-dispatcher-12] [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]]]] 01:31:18,478 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: SnapshotComplete received 01:31:18,478 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower526: Lagging -1 entries behind leader leader525 and reached 2 (of expected -1) 01:31:18,478 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:31:18,478 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): Snapshot installed from leader: leader525 01:31:18,479 PM [test-akka.actor.default-dispatcher-12] [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]]]] 01:31:18,479 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 01:31:18,479 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Snapshot success - sequence number: -1 01:31:18,479 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Moving last applied index from 2 to 1 01:31:18,479 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Set currentTerm=3, votedFor=null 01:31:18,479 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: Updated server config: isVoting: false, peers: [PeerInfo [id=leader525, address=akka://test/user/leader525, votingState=VOTING]] 01:31:18,479 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: applySnapshot called 01:31:18,480 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower526, chunkIndex=1, success=true] 01:31:18,480 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower526: SnapshotComplete received 01:31:18,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower526, chunkIndex=1, success=true] 01:31:18,480 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader525 (Leader): Snapshot successfully installed on follower follower526 (last chunk 1) - matchIndex set to 1, nextIndex set to 2 01:31:18,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader525: fakeSnapshot purging log to 0 for term 3 01:31:18,497 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart ending 01:31:18,497 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower526-collector528#1927451912] 01:31:18,508 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower526] 01:31:18,508 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader525-collector529#-605001588] 01:31:18,508 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader525] 01:31:18,509 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader525-collector530#48090213] 01:31:18,509 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader525] 01:31:18,510 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart starting [WARN] [03/11/2024 13:31:18.512] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower532]: org.opendaylight.controller.cluster.common.actor.Monitor@3d636448 [INFO] [akkaDeadLetter][03/11/2024 13:31:18.512] [test-akka.actor.default-dispatcher-11] [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'. 01:31:18,512 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower532 with journal batch size 1000 01:31:18,512 PM [test-akka.actor.default-dispatcher-11] [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'. [WARN] [03/11/2024 13:31:18.514] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader531]: org.opendaylight.controller.cluster.common.actor.Monitor@4656b8b2 01:31:18,515 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader531 with journal batch size 1000 01:31:18,515 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=leader531 01:31:18,515 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:18,515 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Updated server config: isVoting: false, peers: [PeerInfo [id=leader531, address=akka://test/user/leader531, votingState=VOTING]] 01:31:18,515 PM [test-akka.actor.default-dispatcher-6] [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 01:31:18,517 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=1, votedFor=leader531 01:31:18,517 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:18,517 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Updated server config: isVoting: true, peers: [PeerInfo [id=follower532, address=akka://test/user/follower532, votingState=NON_VOTING]] 01:31:18,517 PM [test-akka.actor.default-dispatcher-15] [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 01:31:18,976 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:31:18,976 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.170.175:25520, Removed) 01:31:18,976 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower): Received ElectionTimeout - switching to Candidate 01:31:18,976 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Election: Candidate has following voting peers: [] 01:31:18,976 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=2, votedFor=leader531 01:31:18,976 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Starting new election term 2 01:31:18,976 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:31:18,977 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Received ElectionTimeout 01:31:18,978 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Election: Leader has following peers: [follower532] 01:31:18,978 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:18,978 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:31:18,978 PM [test-akka.actor.default-dispatcher-5] [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 01:31:18,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=2, votedFor=null 01:31:18,978 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower532: Last sync leader does not match current leader leader531, need to catch up to -1 01:31:18,978 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: -1, nextIndex: 0 01:31:18,978 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/11/2024 13:31:18.979] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7b0de59e 01:31:19,21 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:19,21 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:19,21 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:31:19,21 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Setting last applied to 0 01:31:19,21 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Moving last applied index from -1 to 0 01:31:19,21 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Applying state for log index 0 data zero 01:31:19,21 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: applyState called: zero 01:31:19,21 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 01:31:19,21 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 0 is present for follower follower532 01:31:19,22 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=2, payload=zero]]] 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [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]]] 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persisting ApplyJournalEntries with index=0 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 1 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log zero 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 1 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 0 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [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] 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader531 and reached 0 (of expected -1) 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 0 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 0 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 0 data zero 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: zero 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 0, nextIndex: 1 01:31:19,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=0 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [03/11/2024 13:31:19.022] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7cce205b 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Setting last applied to 1 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Moving last applied index from 0 to 1 01:31:19,22 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Applying state for log index 1 data one 01:31:19,23 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: applyState called: one 01:31:19,23 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:31:19,23 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 1 is present for follower follower532 01:31:19,23 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Sending AppendEntries to follower follower532: AppendEntries [leaderId=leader531, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries: AppendEntries [leaderId=leader531, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 1 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log one 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 2 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 1 01:31:19,23 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] 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader531 and reached 1 (of expected -1) 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 1 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from 0 to 1 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 1 data one 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: one 01:31:19,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=1 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persisting ApplyJournalEntries with index=1 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: fakeSnapshot purging log to 0 for term 2 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 1, nextIndex: 2 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Setting last applied to 2 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Moving last applied index from 1 to 2 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Applying state for log index 2 data two 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: applyState called: two 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 2 is present for follower follower532 01:31:19,24 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 1 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log two 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 3 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 2 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [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] 01:31:19,25 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persisting ApplyJournalEntries with index=2 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader531 and reached 2 (of expected -1) 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 2 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from 1 to 2 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 2 data two 01:31:19,25 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: two 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: fakeSnapshot purging log to 0 for term 2 01:31:19,25 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: fakeSnapshot purging log to 1 for term 2 01:31:19,25 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=2 01:31:19,25 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 2, nextIndex: 3 01:31:19,25 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 [WARN] [03/11/2024 13:31:19.086] [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@1b9e2bfc 01:31:19,87 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader531 with journal batch size 1000 01:31:19,89 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=1, votedFor=leader531 01:31:19,89 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:19,89 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]] 01:31:19,89 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=2, votedFor=leader531 01:31:19,89 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 01:31:19,576 PM [test-akka.actor.default-dispatcher-11] [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.170.175:25520, Removed) 01:31:19,576 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower): Received ElectionTimeout - switching to Candidate 01:31:19,576 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Election: Candidate has following voting peers: [] 01:31:19,576 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Set currentTerm=3, votedFor=leader531 01:31:19,576 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Starting new election term 3 01:31:19,576 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:31:19,577 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate): Received ElectionTimeout 01:31:19,578 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Election: Leader has following peers: [follower532] 01:31:19,578 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:19,578 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:31:19,578 PM [test-akka.actor.default-dispatcher-11] [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 01:31:19,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=3, votedFor=null 01:31:19,578 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower532: Lagging -3 entries behind leader leader531 and reached 2 (of expected -1) 01:31:19,578 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply: follower follower532 lastIndex 2 is ahead of our lastIndex -1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [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 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: lastSequenceNumber prior to capture: -1 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: CaptureSnapshotReply received by actor 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [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]]]] 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendInstallSnapshot 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] LeaderInstallSnapshotState - leader531 (Leader): Snapshot 171 bytes, total chunks to send: 1 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] LeaderInstallSnapshotState - leader531 (Leader): Next chunk: total length=171, offset=0, size=171, hashCode=-2041399403 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): next snapshot chunk size for follower follower532: 171 01:31:19,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): InstallSnapshot sent to follower Vector(user, follower532), Chunk: 1/1 01:31:19,580 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Snapshot success - sequence number: -1 01:31:19,580 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: SnapshotComplete received 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [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]]]] 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower532: Lagging -3 entries behind leader leader531 and reached 2 (of expected -1) 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Snapshot installed from leader: leader531 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [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]]]] 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Snapshot success - sequence number: -1 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from 2 to -1 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=3, votedFor=null 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Updated server config: isVoting: false, peers: [PeerInfo [id=leader531, address=akka://test/user/leader531, votingState=VOTING]] 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applySnapshot called 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower532, chunkIndex=1, success=true] 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower532, chunkIndex=1, success=true] 01:31:19,581 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Snapshot successfully installed on follower follower532 (last chunk 1) - matchIndex set to -1, nextIndex set to 0 01:31:19,582 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: SnapshotComplete received 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Setting last applied to 0 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Moving last applied index from -1 to 0 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Applying state for log index 0 data zero-1 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: applyState called: zero-1 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): sendAppendEntries: 0 is present for follower follower532 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [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]]] 01:31:19,595 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: Persisting ApplyJournalEntries with index=0 01:31:19,596 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 1 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log zero-1 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 1 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 0 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [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] 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader531 and reached 0 (of expected -1) 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 0 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 0 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 0 data zero-1 01:31:19,596 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 0, nextIndex: 1 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: zero-1 01:31:19,596 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=0 01:31:19,596 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader531 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:31:19,646 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart ending 01:31:19,646 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower532-collector534#-1250524163] 01:31:19,657 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower532] 01:31:19,657 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader531-collector535#-1052319894] 01:31:19,658 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader531] 01:31:19,658 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader531-collector536#1948988312] 01:31:19,658 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader531] 01:31:19,659 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart starting [WARN] [03/11/2024 13:31:19.662] [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@4ddafef5 01:31:19,663 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower538 with journal batch size 1000 01:31:19,664 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Set currentTerm=1, votedFor=leader537 01:31:19,664 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:19,664 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Updated server config: isVoting: false, peers: [PeerInfo [id=leader537, address=akka://test/user/leader537, votingState=VOTING]] 01:31:19,664 PM [test-akka.actor.default-dispatcher-6] [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] [03/11/2024 13:31:19.667] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader537]: org.opendaylight.controller.cluster.common.actor.Monitor@6eb62e95 01:31:19,667 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader537 with journal batch size 1000 01:31:19,669 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=1, votedFor=leader537 01:31:19,669 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:19,669 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Updated server config: isVoting: true, peers: [PeerInfo [id=follower538, address=akka://test/user/follower538, votingState=NON_VOTING]] 01:31:19,669 PM [test-akka.actor.default-dispatcher-12] [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 01:31:20,106 PM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:31:20,106 PM [test-akka.actor.default-dispatcher-6] [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.170.175:25520, Removed) 01:31:20,106 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower): Received ElectionTimeout - switching to Candidate 01:31:20,106 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Election: Candidate has following voting peers: [] 01:31:20,106 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=2, votedFor=leader537 01:31:20,106 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Starting new election term 2 01:31:20,106 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:31:20,108 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Received ElectionTimeout 01:31:20,108 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Election: Leader has following peers: [follower538] 01:31:20,108 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:20,108 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:31:20,108 PM [test-akka.actor.default-dispatcher-12] [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 01:31:20,108 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Set currentTerm=2, votedFor=null 01:31:20,108 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower538: Last sync leader does not match current leader leader537, need to catch up to -1 01:31:20,108 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower538 updated: matchIndex: -1, nextIndex: 0 01:31:20,109 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/11/2024 13:31:20.109] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower538] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@debec7f 01:31:20,123 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:20,123 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:20,123 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:31:20,123 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 0 01:31:20,123 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from -1 to 0 01:31:20,123 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 0 data zero 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: zero 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendAppendEntries: 0 is present for follower follower538 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=0 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Number of entries to be appended = 1 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Append entry to log zero 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 1 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from 0 to 1 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Log size is now 1 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 1 data one 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Commit index set to 0 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [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] 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower538: Lagging 0 entries behind leader leader537 and reached 0 (of expected -1) 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: one 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Setting last applied to 0 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Moving last applied index from -1 to 0 01:31:20,124 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Applying state for log index 0 data zero 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendAppendEntries: 0 is present for follower follower538 01:31:20,124 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:20,125 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower538 updated: matchIndex: 0, nextIndex: 1 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: applyState called: zero 01:31:20,125 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: fakeSnapshot purging log to 0 for term 2 01:31:20,125 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:31:20,125 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendAppendEntries: 1 is present for follower follower538 01:31:20,125 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Number of entries to be appended = 2 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 01:31:20,125 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=1 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Append entry to log one 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:20,125 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Log size is now 2 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Commit index set to 1 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [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] 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower538: Lagging 0 entries behind leader leader537 and reached 1 (of expected -1) 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Setting last applied to 1 01:31:20,125 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower538 updated: matchIndex: 1, nextIndex: 2 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Moving last applied index from 0 to 1 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Applying state for log index 1 data one 01:31:20,125 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 01:31:20,125 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: applyState called: one 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Persisting ApplyJournalEntries with index=0 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Number of entries to be appended = 1 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Log size is now 2 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [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] 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower538: Lagging 0 entries behind leader leader537 and reached 1 (of expected -1) 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: fakeSnapshot purging log to 0 for term 2 01:31:20,126 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Persisting ApplyJournalEntries with index=1 [WARN] [03/11/2024 13:31:20.126] [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@7d34fda2 01:31:20,189 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader537 with journal batch size 1000 [WARN] [03/11/2024 13:31:20.189] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader537]: org.opendaylight.controller.cluster.common.actor.Monitor@2295d233 01:31:20,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=1, votedFor=leader537 01:31:20,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:20,191 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]] 01:31:20,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=2, votedFor=leader537 01:31:20,191 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 01:31:20,696 PM [test-akka.actor.default-dispatcher-18] [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.170.175:25520, Removed) 01:31:20,696 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower): Received ElectionTimeout - switching to Candidate 01:31:20,696 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Election: Candidate has following voting peers: [] 01:31:20,696 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Set currentTerm=3, votedFor=leader537 01:31:20,696 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Starting new election term 3 01:31:20,696 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:31:20,698 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate): Received ElectionTimeout 01:31:20,698 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Election: Leader has following peers: [follower538] 01:31:20,698 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:20,698 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:31:20,741 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:20,741 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:20,741 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 01:31:20,741 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 0 01:31:20,741 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from -1 to 0 01:31:20,741 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 0 data zero-1 01:31:20,742 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: zero-1 01:31:20,742 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 01:31:20,742 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=0 01:31:20,742 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:20,742 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:20,742 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:20,742 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 01:31:20,742 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 1 01:31:20,742 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from 0 to 1 01:31:20,742 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 1 data one-1 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: one-1 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=1 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Setting last applied to 2 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Moving last applied index from 1 to 2 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Applying state for log index 2 data two-1 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: applyState called: two-1 01:31:20,743 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:31:20,744 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Persisting ApplyJournalEntries with index=2 01:31:20,744 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:31:20,816 PM [test-akka.actor.default-dispatcher-6] [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 01:31:20,816 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Set currentTerm=3, votedFor=null 01:31:20,817 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower538: Lagging -2 entries behind leader leader537 and reached 1 (of expected -1) 01:31:20,817 PM [test-akka.actor.default-dispatcher-11] [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 01:31:20,817 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Checking sendAppendEntries for follower follower538: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:31:20,817 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendAppendEntries: 0 is present for follower follower538 01:31:20,817 PM [test-akka.actor.default-dispatcher-11] [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]]] 01:31:20,818 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:20,818 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Number of entries to be appended = 3 01:31:20,818 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: 2 01:31:20,818 PM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:31:20,818 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Removing entries from log starting at 0, commitIndex: 1, lastApplied: 1 01:31:20,818 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Could not remove entries - sending reply to force snapshot 01:31:20,818 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower538: Lagging 1 entries behind leader leader537 and reached 1 (of expected -1) 01:31:20,818 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 01:31:20,818 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 01:31:20,818 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: lastSequenceNumber prior to capture: -1 01:31:20,819 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: CaptureSnapshotReply received by actor 01:31:20,819 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]]]] 01:31:20,819 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 01:31:20,820 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): sendInstallSnapshot 01:31:20,820 PM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader537 (Leader): Snapshot 351 bytes, total chunks to send: 1 01:31:20,820 PM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader537 (Leader): Next chunk: total length=351, offset=0, size=351, hashCode=236499276 01:31:20,820 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): next snapshot chunk size for follower follower538: 351 01:31:20,820 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): InstallSnapshot sent to follower Vector(user, follower538), Chunk: 1/1 01:31:20,820 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: Snapshot success - sequence number: -1 01:31:20,820 PM [test-akka.actor.default-dispatcher-6] [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]]]] 01:31:20,820 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: SnapshotComplete received 01:31:20,820 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower538: Lagging 1 entries behind leader leader537 and reached 1 (of expected -1) 01:31:20,820 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:31:20,820 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): Snapshot installed from leader: leader537 01:31:20,821 PM [test-akka.actor.default-dispatcher-6] [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]]]] 01:31:20,821 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 01:31:20,821 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Snapshot success - sequence number: -1 01:31:20,821 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Moving last applied index from 1 to 2 01:31:20,821 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Set currentTerm=3, votedFor=null 01:31:20,821 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: Updated server config: isVoting: false, peers: [PeerInfo [id=leader537, address=akka://test/user/leader537, votingState=VOTING]] 01:31:20,821 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: applySnapshot called 01:31:20,821 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower538, chunkIndex=1, success=true] 01:31:20,822 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower538: SnapshotComplete received 01:31:20,822 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower538, chunkIndex=1, success=true] 01:31:20,822 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader537 (Leader): Snapshot successfully installed on follower follower538 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 01:31:20,822 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader537: fakeSnapshot purging log to 1 for term 3 01:31:20,842 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart ending 01:31:20,842 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower538-collector540#-1080429269] 01:31:20,853 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower538] 01:31:20,853 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader537-collector541#-1950744151] 01:31:20,853 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader537] 01:31:20,854 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader537-collector542#-2058510091] 01:31:20,854 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader537] 01:31:20,855 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart starting [WARN] [03/11/2024 13:31:20.858] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower544]: org.opendaylight.controller.cluster.common.actor.Monitor@43dc7b24 01:31:20,859 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower544 with journal batch size 1000 01:31:20,861 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Set currentTerm=1, votedFor=leader543 01:31:20,861 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:20,861 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]] 01:31:20,861 PM [test-akka.actor.default-dispatcher-15] [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 [WARN] [03/11/2024 13:31:20.960] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader543]: org.opendaylight.controller.cluster.common.actor.Monitor@225035f1 01:31:20,961 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader543 with journal batch size 1000 01:31:20,963 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Set currentTerm=1, votedFor=leader543 01:31:20,963 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:31:20,963 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Updated server config: isVoting: true, peers: [PeerInfo [id=follower544, address=akka://test/user/follower544, votingState=NON_VOTING]] 01:31:20,963 PM [test-akka.actor.default-dispatcher-11] [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 01:31:21,426 PM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:31:21,426 PM [test-akka.actor.default-dispatcher-11] [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.170.175:25520, Removed) 01:31:21,426 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower): Received ElectionTimeout - switching to Candidate 01:31:21,427 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Election: Candidate has following voting peers: [] 01:31:21,427 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Set currentTerm=2, votedFor=leader543 01:31:21,427 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Starting new election term 2 01:31:21,427 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:31:21,428 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Received ElectionTimeout 01:31:21,428 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Election: Leader has following peers: [follower544] 01:31:21,428 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:21,428 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:31:21,429 PM [test-akka.actor.default-dispatcher-6] [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 01:31:21,429 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Set currentTerm=2, votedFor=null 01:31:21,429 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower544: Last sync leader does not match current leader leader543, need to catch up to -1 01:31:21,429 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower544 updated: matchIndex: -1, nextIndex: 0 01:31:21,429 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/11/2024 13:31:21.430] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower544] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2d5cd228 01:31:21,463 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:21,463 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:21,463 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:31:21,463 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 0 01:31:21,463 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from -1 to 0 01:31:21,463 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 0 data zero 01:31:21,463 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: zero 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower544 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [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]]] 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=0 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 1 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Append entry to log zero 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Log size is now 1 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Commit index set to 0 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [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] 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 0 (of expected -1) 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 1 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 0 to 1 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Setting last applied to 0 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 1 data one 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Moving last applied index from -1 to 0 01:31:21,464 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Applying state for log index 0 data zero 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: one 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:31:21,464 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower544 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: applyState called: zero 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [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]]] 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Persisting ApplyJournalEntries with index=0 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower544 updated: matchIndex: 0, nextIndex: 1 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: fakeSnapshot purging log to 0 for term 2 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 2 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 1 is present for follower follower544 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [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]]] 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Append entry to log one 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Log size is now 2 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Commit index set to 1 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=1 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [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] 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 1 (of expected -1) 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Setting last applied to 1 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Moving last applied index from 0 to 1 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Applying state for log index 1 data one 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower544 updated: matchIndex: 1, nextIndex: 2 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: applyState called: one 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 1 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 2 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 1 to 2 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:31:21,465 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 2 data two 01:31:21,465 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Log size is now 2 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [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] 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 1 (of expected -1) 01:31:21,466 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: two 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: fakeSnapshot purging log to 0 for term 2 01:31:21,466 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:31:21,466 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 2 is present for follower follower544 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Persisting ApplyJournalEntries with index=1 01:31:21,466 PM [test-akka.actor.default-dispatcher-11] [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]]] 01:31:21,466 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: fakeSnapshot purging log to 1 for term 2 01:31:21,466 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 2 is present for follower follower544 [WARN] [03/11/2024 13:31:21.466] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower544] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2662f468 01:31:21,466 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=2 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [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]]] 01:31:21,466 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 1 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Append entry to log two 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Log size is now 2 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Commit index set to 2 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [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] 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 2 (of expected -1) 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Setting last applied to 2 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Moving last applied index from 1 to 2 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Applying state for log index 2 data two 01:31:21,466 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower544 updated: matchIndex: 2, nextIndex: 3 01:31:21,466 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: applyState called: two 01:31:21,466 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:31:21,467 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Persisting ApplyJournalEntries with index=2 01:31:21,667 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower544: Lagging 0 entries behind leader leader543 and reached 2 (of expected -1) 01:31:21,667 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: fakeSnapshot purging log to 1 for term 2 [WARN] [03/11/2024 13:31:21.681] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower545]: org.opendaylight.controller.cluster.common.actor.Monitor@20819b92 01:31:21,682 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower545 with journal batch size 1000 01:31:21,684 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Received ReplicatedLogEntry for recovery: index: 0, size: 174 01:31:21,684 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]] 01:31:21,684 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 [WARN] [03/11/2024 13:31:21.687] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader543]: org.opendaylight.controller.cluster.common.actor.Monitor@75e3c569 01:31:21,687 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader543 with journal batch size 1000 01:31:21,689 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Set currentTerm=2, votedFor=leader543 01:31:21,689 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Received ReplicatedLogEntry for recovery: index: 0, size: 174 01:31:21,689 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]] 01:31:21,689 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 01:31:22,176 PM [test-akka.actor.default-dispatcher-15] [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.170.175:25520, Removed) 01:31:22,176 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower): Received ElectionTimeout - switching to Candidate 01:31:22,176 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Election: Candidate has following voting peers: [follower545] 01:31:22,176 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Set currentTerm=3, votedFor=leader543 01:31:22,176 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Starting new election term 3 01:31:22,176 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): Sending RequestVote [term=3, candidateId=leader543, lastLogIndex=-1, lastLogTerm=-1] to peer follower545 01:31:22,176 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:31:22,176 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:31:22,176 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Cluster state: [] 01:31:22,176 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=leader543, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:31:22,177 PM [test-akka.actor.default-dispatcher-6] [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 01:31:22,177 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Set currentTerm=3, votedFor=null 01:31:22,177 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): In requestVote: RequestVote [term=3, candidateId=leader543, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:31:22,177 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Set currentTerm=3, votedFor=leader543 01:31:22,177 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:31:22,177 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 01:31:22,177 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 01:31:22,178 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Election: Leader has following peers: [follower545, downPeer, follower544] 01:31:22,178 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:22,178 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:22,178 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:31:22,178 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 01:31:22,178 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/11/2024 13:31:22.178] [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@225f7308 01:31:22,178 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:31:22,189 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:22,189 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:22,189 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 01:31:22,189 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:31:22,189 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower545 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:22,190 PM [test-akka.actor.default-dispatcher-18] [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]]] 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 01:31:22,190 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Number of entries to be appended = 1 01:31:22,190 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:31:22,190 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log zero-1 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower545 01:31:22,190 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:22,190 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:31:22,190 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Log size is now 1 01:31:22,190 PM [test-akka.actor.default-dispatcher-18] [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] 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:22,190 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached -1 (of expected -1) 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: 0, nextIndex: 1 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 0 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from -1 to 0 01:31:22,190 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 0 data zero-1 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: zero-1 [WARN] [03/11/2024 13:31:22.190] [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@717ff97f 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 1 is present for follower follower545 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=0 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [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]]] 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Number of entries to be appended = 1 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log one-1 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Log size is now 2 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Commit index set to 0 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [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] 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 0 (of expected -1) 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 1 is present for follower follower545 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 0 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from -1 to 0 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 0 data zero-1 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: zero-1 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: 1, nextIndex: 2 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 1 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 0 to 1 01:31:22,191 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Persisting ApplyJournalEntries with index=0 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 1 data one-1 01:31:22,191 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: one-1 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 2 is present for follower follower545 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [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]]] 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Number of entries to be appended = 1 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log two-1 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=1 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Log size is now 3 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Commit index set to 1 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower545, logLastIndex=2, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 1 (of expected -1) 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 1 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from 0 to 1 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 1 data one-1 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=three-1}, logIndex: 3, isSendImmediate: true 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: one-1 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 2 is present for follower follower545 01:31:22,192 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Persisting ApplyJournalEntries with index=1 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: 2, nextIndex: 3 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 2 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 1 to 2 01:31:22,192 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 2 data two-1 01:31:22,193 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: two-1 01:31:22,193 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:31:22,193 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 3 is present for follower follower545 01:31:22,193 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Sending AppendEntries to follower follower545: AppendEntries [leaderId=leader543, prevLogIndex=2, prevLogTerm=3, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=3, payload=three-1]]] 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=2 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persist data SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): handleAppendEntries: AppendEntries [leaderId=leader543, prevLogIndex=2, prevLogTerm=3, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=3, payload=three-1]]] 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Number of entries to be appended = 1 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log three-1 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Replicate message: identifier: MockIdentifier{value=four-1}, logIndex: 4, isSendImmediate: true 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Log size is now 4 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Commit index set to 2 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 3 is present for follower follower545 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [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] 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 2 (of expected -1) 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 2 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from 1 to 2 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 2 data two-1 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: 3, nextIndex: 4 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: two-1 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 3 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 2 to 3 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 3 data three-1 01:31:22,193 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: three-1 01:31:22,193 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Persisting ApplyJournalEntries with index=2 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 4 is present for follower follower545 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [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]]] 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=3 01:31:22,194 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]]] 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Number of entries to be appended = 1 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Append entry to log four-1 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Log size is now 5 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Commit index set to 3 01:31:22,194 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] 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 3 (of expected -1) 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 3 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower545 updated: matchIndex: 4, nextIndex: 5 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from 2 to 3 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 3 data three-1 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Setting last applied to 4 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Moving last applied index from 3 to 4 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Applying state for log index 4 data four-1 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: applyState called: four-1 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: three-1 01:31:22,194 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower545: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:31:22,194 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Persisting ApplyJournalEntries with index=3 01:31:22,195 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Persisting ApplyJournalEntries with index=4 01:31:22,195 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Commit index set to 4 01:31:22,195 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 4 (of expected -1) 01:31:22,195 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 4 01:31:22,195 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545 (Follower): Setting last applied to 4 01:31:22,195 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Moving last applied index from 3 to 4 01:31:22,195 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Applying state for log index 4 data four-1 01:31:22,195 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: applyState called: four-1 01:31:22,195 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower545: Persisting ApplyJournalEntries with index=4 01:31:22,296 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower545: Lagging 0 entries behind leader leader543 and reached 4 (of expected -1) 01:31:22,296 PM [test-akka.actor.default-dispatcher-12] [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 01:31:22,296 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Set currentTerm=3, votedFor=null 01:31:22,296 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower544: Lagging -3 entries behind leader leader543 and reached 2 (of expected -1) 01:31:22,296 PM [test-akka.actor.default-dispatcher-15] [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 01:31:22,296 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Checking sendAppendEntries for follower follower544: active: true, followerNextIndex: 1, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:31:22,296 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 1 is present for follower follower544 01:31:22,296 PM [test-akka.actor.default-dispatcher-15] [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]]] 01:31:22,297 PM [test-akka.actor.default-dispatcher-12] [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]]] 01:31:22,297 PM [test-akka.actor.default-dispatcher-12] [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 01:31:22,297 PM [test-akka.actor.default-dispatcher-12] [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] 01:31:22,297 PM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower544: Lagging 2 entries behind leader leader543 and reached 2 (of expected -1) 01:31:22,297 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 01:31:22,297 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 01:31:22,297 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 01:31:22,297 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendAppendEntries: 0 is present for follower follower544 01:31:22,298 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]]] 01:31:22,298 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]]] 01:31:22,298 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Number of entries to be appended = 5 01:31:22,298 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 01:31:22,298 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 01:31:22,298 PM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:31:22,298 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Removing entries from log starting at 1, commitIndex: 2, lastApplied: 2 01:31:22,298 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Could not remove entries - sending reply to force snapshot 01:31:22,298 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower544: Lagging 2 entries behind leader leader543 and reached 2 (of expected -1) 01:31:22,298 PM [test-akka.actor.default-dispatcher-12] [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 01:31:22,298 PM [test-akka.actor.default-dispatcher-12] [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 01:31:22,298 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: lastSequenceNumber prior to capture: -1 01:31:22,299 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: CaptureSnapshotReply received by actor 01:31:22,299 PM [test-akka.actor.default-dispatcher-12] [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]]]] 01:31:22,299 PM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 01:31:22,299 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): sendInstallSnapshot 01:31:22,300 PM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader543 (Leader): Snapshot 390 bytes, total chunks to send: 1 01:31:22,300 PM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader543 (Leader): Next chunk: total length=390, offset=0, size=390, hashCode=-929342248 01:31:22,300 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): next snapshot chunk size for follower follower544: 390 01:31:22,300 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): InstallSnapshot sent to follower Vector(user, follower544), Chunk: 1/1 01:31:22,300 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: Snapshot success - sequence number: -1 01:31:22,300 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]]]] 01:31:22,300 PM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543: SnapshotComplete received 01:31:22,300 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower544: Lagging 2 entries behind leader leader543 and reached 2 (of expected -1) 01:31:22,300 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:31:22,300 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): Snapshot installed from leader: leader543 01:31:22,301 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]]]] 01:31:22,301 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 01:31:22,301 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Snapshot success - sequence number: -1 01:31:22,301 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Moving last applied index from 2 to 4 01:31:22,301 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: Set currentTerm=3, votedFor=null 01:31:22,301 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]] 01:31:22,301 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: applySnapshot called 01:31:22,301 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower544, chunkIndex=1, success=true] 01:31:22,301 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower544, chunkIndex=1, success=true] 01:31:22,301 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower544: SnapshotComplete received 01:31:22,301 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader543 (Leader): Snapshot successfully installed on follower follower544 (last chunk 1) - matchIndex set to 4, nextIndex set to 5 01:31:22,342 PM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart ending 01:31:22,343 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower544-collector546#-2006854257] 01:31:22,353 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower544] 01:31:22,354 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader543-collector547#969806618] 01:31:22,354 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader543] 01:31:22,354 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower545-collector548#61943718] 01:31:22,354 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower545] 01:31:22,355 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader543-collector549#-1084959901] 01:31:22,355 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader543] [INFO] [03/11/2024 13:31:22.355] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:31:22,356 PM [test-akka.actor.default-dispatcher-15] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/11/2024 13:31:22.357] [test-akka.actor.default-dispatcher-17] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.175:25520) [INFO] [03/11/2024 13:31:22.357] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.175:25520] - Exiting completed [INFO] [03/11/2024 13:31:22.357] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.175:25520] - Shutting down... [INFO] [03/11/2024 13:31:22.358] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.175:25520] - Successfully shut down 01:31:22,358 PM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.175:25520] - Exiting completed 01:31:22,358 PM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.175:25520] - Shutting down... 01:31:22,358 PM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.170.175:25520] - Successfully shut down [INFO] [03/11/2024 13:31:22.360] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.175:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [03/11/2024 13:31:22.360] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.175:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:31:22,360 PM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 01:31:22,360 PM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/11/2024 13:31:22.364] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.170.175:25520/system/remoting-terminator] Remoting shut down. 01:31:22,365 PM [test-akka.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [03/11/2024 13:31:22.365] [test-akka.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger