[DEBUG] [01/22/2024 06:56:21.457] [main] [EventStream(akka://test)] logger log1-TestEventListener started 06:56:21,457 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [01/22/2024 06:56:21.457] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [01/22/2024 06:56:21.457] [main] [EventStream(akka://test)] Default Loggers started 06:56:21,478 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.69:25520] with UID [3187879652010753230] 06:56:21,478 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/22/2024 06:56:21.477] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.69:25520] with UID [3187879652010753230] [INFO] [01/22/2024 06:56:21.478] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/22/2024 06:56:21.481] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Registered cluster JMX MBean [akka:type=Cluster] 06:56:21,482 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Registered cluster JMX MBean [akka:type=Cluster] 06:56:21,483 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Started up successfully [INFO] [01/22/2024 06:56:21.481] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Started up successfully 06:56:21,499 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerLeaderStateChanges [INFO] [01/22/2024 06:56:21.502] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [01/22/2024 06:56:21.502] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 06:56:21,503 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 06:56:21,503 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [01/22/2024 06:56:21.508] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower403]: org.opendaylight.controller.cluster.common.actor.Monitor@4ca5c81 [INFO] [akkaDeadLetter][01/22/2024 06:56:21.509] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower403] 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'. 06:56:21,509 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower403] 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'. 06:56:21,566 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower403 with journal batch size 1000 06:56:21,575 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower403: Set currentTerm=1, votedFor=leader402 06:56:21,575 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower403: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:21,577 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower403: Updated server config: isVoting: false, peers: [PeerInfo [id=leader402, address=akka://test/user/leader402, votingState=VOTING]] 06:56:21,577 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower403: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:56:21.609] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader402]: org.opendaylight.controller.cluster.common.actor.Monitor@61de1d66 06:56:21,609 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader402] 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'. [INFO] [akkaDeadLetter][01/22/2024 06:56:21.609] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader402] 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'. 06:56:21,610 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader402 with journal batch size 1000 06:56:21,613 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402: Set currentTerm=1, votedFor=leader402 06:56:21,613 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:21,613 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402: Updated server config: isVoting: true, peers: [PeerInfo [id=follower403, address=akka://test/user/follower403, votingState=NON_VOTING]] 06:56:21,613 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader402: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:22,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:56:22,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:56:22,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Follower): Received ElectionTimeout - switching to Candidate 06:56:22,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Candidate): Election: Candidate has following voting peers: [] 06:56:22,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402: Set currentTerm=2, votedFor=leader402 06:56:22,117 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Candidate): Starting new election term 2 06:56:22,117 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 06:56:22,119 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Candidate): Received ElectionTimeout 06:56:22,119 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Leader): Election: Leader has following peers: [follower403] 06:56:22,119 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Leader): Checking sendAppendEntries for follower follower403: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:22,119 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:56:22,120 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower403 (Follower): Term 2 in "AppendEntries [leaderId=leader402, 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 06:56:22,120 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower403: Set currentTerm=2, votedFor=null 06:56:22,120 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower403: Last sync leader does not match current leader leader402, need to catch up to -1 06:56:22,120 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower403 updated: matchIndex: -1, nextIndex: 0 06:56:22,120 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader402 (Leader): Checking sendAppendEntries for follower follower403: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:56:22.127] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower403] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@b5152e5 06:56:22,128 AM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower403] 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'. [INFO] [akkaDeadLetter][01/22/2024 06:56:22.127] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower403] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower403] 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'. 06:56:22,138 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:56:22,478 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower403: Lagging 0 entries behind leader leader402 and reached -1 (of expected -1) [WARN] [01/22/2024 06:56:22.478] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower403] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4a393065 [INFO] [akkaDeadLetter][01/22/2024 06:56:22.478] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower403] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower403] 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'. 06:56:22,478 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower403] 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'. 06:56:22,491 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/roleChangeNotifier405#-1923456421] 06:56:22,503 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower403-collector406#-569221883] 06:56:22,503 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower403] 06:56:22,504 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader402-collector407#-994904063] 06:56:22,504 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader402] 06:56:22,505 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart starting [WARN] [01/22/2024 06:56:22.511] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower409]: org.opendaylight.controller.cluster.common.actor.Monitor@418c2af1 [INFO] [akkaDeadLetter][01/22/2024 06:56:22.511] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower409] 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'. 06:56:22,512 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower409] 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'. 06:56:22,512 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower409 with journal batch size 1000 06:56:22,515 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Set currentTerm=1, votedFor=leader408 06:56:22,515 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:22,515 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Updated server config: isVoting: false, peers: [PeerInfo [id=leader408, address=akka://test/user/leader408, votingState=VOTING]] 06:56:22,515 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:22,613 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader408] 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'. [WARN] [01/22/2024 06:56:22.613] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader408]: org.opendaylight.controller.cluster.common.actor.Monitor@589af455 [INFO] [akkaDeadLetter][01/22/2024 06:56:22.613] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader408] 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'. 06:56:22,614 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader408 with journal batch size 1000 06:56:22,616 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Set currentTerm=1, votedFor=leader408 06:56:22,616 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:22,616 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Updated server config: isVoting: true, peers: [PeerInfo [id=follower409, address=akka://test/user/follower409, votingState=NON_VOTING]] 06:56:22,616 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:23,117 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:56:23,118 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:56:23,118 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Follower): Received ElectionTimeout - switching to Candidate 06:56:23,118 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Candidate): Election: Candidate has following voting peers: [] 06:56:23,118 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Set currentTerm=2, votedFor=leader408 06:56:23,118 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Candidate): Starting new election term 2 06:56:23,118 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 06:56:23,120 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Candidate): Received ElectionTimeout 06:56:23,120 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Election: Leader has following peers: [follower409] 06:56:23,120 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:23,120 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:56:23,120 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Term 2 in "AppendEntries [leaderId=leader408, 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 06:56:23,120 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Set currentTerm=2, votedFor=null 06:56:23,121 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower409: Last sync leader does not match current leader leader408, need to catch up to -1 06:56:23,121 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower409 updated: matchIndex: -1, nextIndex: 0 06:56:23,121 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:23,122 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower409] 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'. [WARN] [01/22/2024 06:56:23.122] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower409] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@67766ff8 [INFO] [akkaDeadLetter][01/22/2024 06:56:23.122] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower409] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower409] 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'. 06:56:23,169 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:23,170 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:23,171 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:56:23,171 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Setting last applied to 0 06:56:23,171 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Moving last applied index from -1 to 0 06:56:23,171 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Applying state for log index 0 data zero 06:56:23,171 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: applyState called: zero 06:56:23,171 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:23,171 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): sendAppendEntries: 0 is present for follower follower409 06:56:23,171 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Sending AppendEntries to follower follower409: AppendEntries [leaderId=leader408, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 06:56:23,171 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleAppendEntries: AppendEntries [leaderId=leader408, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 06:56:23,171 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Number of entries to be appended = 1 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Append entry to log zero 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Log size is now 1 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Commit index set to 0 06:56:23,172 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persisting ApplyJournalEntries with index=0 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower409, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower409: Lagging 0 entries behind leader leader408 and reached 0 (of expected -1) 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Setting last applied to 0 06:56:23,172 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Moving last applied index from -1 to 0 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Applying state for log index 0 data zero 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: applyState called: zero 06:56:23,172 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower409 updated: matchIndex: 0, nextIndex: 1 06:56:23,172 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Persisting ApplyJournalEntries with index=0 06:56:23,172 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Setting last applied to 1 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Moving last applied index from 0 to 1 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Applying state for log index 1 data one 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: applyState called: one [WARN] [01/22/2024 06:56:23.173] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower409] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2dc78307 06:56:23,173 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower409] 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'. 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): sendAppendEntries: 1 is present for follower follower409 [INFO] [akkaDeadLetter][01/22/2024 06:56:23.173] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower409] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower409] 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'. 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Sending AppendEntries to follower follower409: AppendEntries [leaderId=leader408, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persisting ApplyJournalEntries with index=1 06:56:23,173 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleAppendEntries: AppendEntries [leaderId=leader408, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 06:56:23,173 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Number of entries to be appended = 1 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:23,173 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:56:23,173 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Append entry to log one 06:56:23,173 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:23,173 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: fakeSnapshot purging log to 0 for term 2 06:56:23,173 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:23,173 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Log size is now 2 06:56:23,173 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Commit index set to 1 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower409, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower409: Lagging 0 entries behind leader leader408 and reached 1 (of expected -1) 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Setting last applied to 1 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Moving last applied index from 0 to 1 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Applying state for log index 1 data one 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Setting last applied to 2 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Moving last applied index from 1 to 2 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Applying state for log index 2 data two 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: applyState called: two 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): sendAppendEntries: 1 is present for follower follower409 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Sending AppendEntries to follower follower409: AppendEntries [leaderId=leader408, prevLogIndex=0, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: applyState called: one 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower409 updated: matchIndex: 1, nextIndex: 2 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: fakeSnapshot purging log to 1 for term 2 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): sendAppendEntries: 2 is present for follower follower409 06:56:23,174 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Sending AppendEntries to follower follower409: AppendEntries [leaderId=leader408, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleAppendEntries: AppendEntries [leaderId=leader408, prevLogIndex=0, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Number of entries to be appended = 2 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 06:56:23,174 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Append entry to log two 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Log size is now 3 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Commit index set to 2 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower409, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower409: Lagging 0 entries behind leader leader408 and reached 2 (of expected -1) 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Setting last applied to 2 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Moving last applied index from 1 to 2 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Applying state for log index 2 data two 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: applyState called: two 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: fakeSnapshot purging log to 0 for term 2 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Persisting ApplyJournalEntries with index=1 06:56:23,175 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persisting ApplyJournalEntries with index=2 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleAppendEntries: AppendEntries [leaderId=leader408, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Number of entries to be appended = 1 06:56:23,175 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Log size is now 2 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower409, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:23,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower409: Lagging 0 entries behind leader leader408 and reached 2 (of expected -1) 06:56:23,176 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: fakeSnapshot purging log to 1 for term 2 06:56:23,176 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower409 updated: matchIndex: 2, nextIndex: 3 06:56:23,176 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 06:56:23,176 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Persisting ApplyJournalEntries with index=2 [WARN] [01/22/2024 06:56:23.237] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader408]: org.opendaylight.controller.cluster.common.actor.Monitor@6b535def [INFO] [akkaDeadLetter][01/22/2024 06:56:23.237] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader408] 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'. 06:56:23,237 AM [test-akka.actor.default-dispatcher-15] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader408] 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'. 06:56:23,238 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader408 with journal batch size 1000 06:56:23,242 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Set currentTerm=1, votedFor=leader408 06:56:23,242 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:23,242 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Updated server config: isVoting: true, peers: [PeerInfo [id=follower409, address=akka://test/user/follower409, votingState=NON_VOTING]] 06:56:23,242 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Set currentTerm=2, votedFor=leader408 06:56:23,242 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:23,697 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:56:23,697 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Follower): Received ElectionTimeout - switching to Candidate 06:56:23,697 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Candidate): Election: Candidate has following voting peers: [] 06:56:23,697 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Set currentTerm=3, votedFor=leader408 06:56:23,698 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Candidate): Starting new election term 3 06:56:23,698 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 06:56:23,699 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Candidate): Received ElectionTimeout 06:56:23,700 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Election: Leader has following peers: [follower409] 06:56:23,700 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:23,700 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 06:56:23,748 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:23,748 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:23,748 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 06:56:23,748 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Setting last applied to 0 06:56:23,748 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Moving last applied index from -1 to 0 06:56:23,748 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Applying state for log index 0 data zero-1 06:56:23,749 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: applyState called: zero-1 06:56:23,749 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:23,749 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persisting ApplyJournalEntries with index=0 06:56:23,749 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:23,749 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:23,749 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:23,749 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 06:56:23,750 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Setting last applied to 1 06:56:23,750 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Moving last applied index from 0 to 1 06:56:23,750 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Applying state for log index 1 data one-1 06:56:23,750 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: applyState called: one-1 06:56:23,750 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Checking sendAppendEntries for follower follower409: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:56:23,750 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Persisting ApplyJournalEntries with index=1 06:56:23,750 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:23,817 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Term 3 in "AppendEntries [leaderId=leader408, 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 06:56:23,817 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Set currentTerm=3, votedFor=null 06:56:23,818 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower409: Lagging -3 entries behind leader leader408 and reached 2 (of expected -1) 06:56:23,818 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): handleAppendEntriesReply: follower follower409 lastIndex 2 is ahead of our lastIndex 1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 06:56:23,818 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: 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 follower409 06:56:23,818 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: lastSequenceNumber prior to capture: -1 06:56:23,820 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: CaptureSnapshotReply received by actor 06:56:23,822 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: 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=leader408, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower409, isVoting=false], ServerInfo[peerId=leader408, isVoting=true]]]] 06:56:23,822 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 06:56:23,822 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): sendInstallSnapshot 06:56:23,822 AM [test-akka.actor.default-dispatcher-5] [DEBUG] LeaderInstallSnapshotState - leader408 (Leader): Snapshot 333 bytes, total chunks to send: 1 06:56:23,822 AM [test-akka.actor.default-dispatcher-5] [DEBUG] LeaderInstallSnapshotState - leader408 (Leader): Next chunk: total length=333, offset=0, size=333, hashCode=878051978 06:56:23,822 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): next snapshot chunk size for follower follower409: 333 06:56:23,822 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): InstallSnapshot sent to follower Vector(user, follower409), Chunk: 1/1 06:56:23,822 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: Snapshot success - sequence number: -1 06:56:23,823 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: SnapshotComplete received 06:56:23,823 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader408, lastIncludedIndex=1, lastIncludedTerm=3, datasize=333, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower409, isVoting=false], ServerInfo[peerId=leader408, isVoting=true]]]] 06:56:23,823 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower409: Lagging -1 entries behind leader leader408 and reached 2 (of expected -1) 06:56:23,823 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 06:56:23,823 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): Snapshot installed from leader: leader408 06:56:23,823 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: 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=follower409, isVoting=false], ServerInfo[peerId=leader408, isVoting=true]]]] 06:56:23,824 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 06:56:23,824 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Snapshot success - sequence number: -1 06:56:23,824 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Moving last applied index from 2 to 1 06:56:23,824 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Set currentTerm=3, votedFor=null 06:56:23,824 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: Updated server config: isVoting: false, peers: [PeerInfo [id=leader408, address=akka://test/user/leader408, votingState=VOTING]] 06:56:23,824 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: applySnapshot called 06:56:23,824 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower409, chunkIndex=1, success=true] 06:56:23,824 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower409: SnapshotComplete received 06:56:23,824 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower409, chunkIndex=1, success=true] 06:56:23,824 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader408 (Leader): Snapshot successfully installed on follower follower409 (last chunk 1) - matchIndex set to 1, nextIndex set to 2 06:56:23,824 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader408: fakeSnapshot purging log to 0 for term 3 06:56:23,849 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart ending 06:56:23,849 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower409-collector411#668109855] 06:56:23,860 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower409] 06:56:23,860 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader408-collector412#1724041830] 06:56:23,862 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader408] 06:56:23,862 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader408-collector413#923381731] 06:56:23,863 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader408] 06:56:23,863 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart starting [WARN] [01/22/2024 06:56:23.869] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower415]: org.opendaylight.controller.cluster.common.actor.Monitor@734a16f [INFO] [akkaDeadLetter][01/22/2024 06:56:23.870] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower415] 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'. 06:56:23,870 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower415] 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'. 06:56:23,870 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower415 with journal batch size 1000 [WARN] [01/22/2024 06:56:23.872] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader414]: org.opendaylight.controller.cluster.common.actor.Monitor@329dcf48 06:56:23,872 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Set currentTerm=1, votedFor=leader414 06:56:23,872 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:23,872 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Updated server config: isVoting: false, peers: [PeerInfo [id=leader414, address=akka://test/user/leader414, votingState=VOTING]] 06:56:23,873 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:23,873 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader414 with journal batch size 1000 06:56:23,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Set currentTerm=1, votedFor=leader414 06:56:23,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:23,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Updated server config: isVoting: true, peers: [PeerInfo [id=follower415, address=akka://test/user/follower415, votingState=NON_VOTING]] 06:56:23,874 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:24,346 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:56:24,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:56:24,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Follower): Received ElectionTimeout - switching to Candidate 06:56:24,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Candidate): Election: Candidate has following voting peers: [] 06:56:24,347 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Set currentTerm=2, votedFor=leader414 06:56:24,347 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Candidate): Starting new election term 2 06:56:24,347 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 06:56:24,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Candidate): Received ElectionTimeout 06:56:24,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Election: Leader has following peers: [follower415] 06:56:24,348 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:24,349 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:56:24,349 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Term 2 in "AppendEntries [leaderId=leader414, 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 06:56:24,349 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Set currentTerm=2, votedFor=null 06:56:24,349 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower415: Last sync leader does not match current leader leader414, need to catch up to -1 06:56:24,349 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower415 updated: matchIndex: -1, nextIndex: 0 06:56:24,349 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:56:24.349] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower415] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3534557e 06:56:24,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:24,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:24,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:56:24,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Setting last applied to 0 06:56:24,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Moving last applied index from -1 to 0 06:56:24,375 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Applying state for log index 0 data zero 06:56:24,375 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: applyState called: zero 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): sendAppendEntries: 0 is present for follower follower415 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Sending AppendEntries to follower follower415: AppendEntries [leaderId=leader414, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Persisting ApplyJournalEntries with index=0 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleAppendEntries: AppendEntries [leaderId=leader414, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Number of entries to be appended = 1 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Append entry to log zero 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Log size is now 1 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Commit index set to 0 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower415, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower415: Lagging 0 entries behind leader leader414 and reached 0 (of expected -1) 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Setting last applied to 0 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Moving last applied index from -1 to 0 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Applying state for log index 0 data zero 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: applyState called: zero 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Persisting ApplyJournalEntries with index=0 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower415 updated: matchIndex: 0, nextIndex: 1 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Setting last applied to 1 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Moving last applied index from 0 to 1 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Applying state for log index 1 data one 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: applyState called: one 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:56:24,376 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): sendAppendEntries: 1 is present for follower follower415 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Sending AppendEntries to follower follower415: AppendEntries [leaderId=leader414, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] [WARN] [01/22/2024 06:56:24.377] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower415] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@66ee22e0 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleAppendEntries: AppendEntries [leaderId=leader414, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Number of entries to be appended = 1 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Append entry to log one 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Log size is now 2 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Commit index set to 1 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower415, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower415: Lagging 0 entries behind leader leader414 and reached 1 (of expected -1) 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Setting last applied to 1 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Moving last applied index from 0 to 1 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Applying state for log index 1 data one 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: applyState called: one 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Persisting ApplyJournalEntries with index=1 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Persisting ApplyJournalEntries with index=1 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: fakeSnapshot purging log to 0 for term 2 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower415 updated: matchIndex: 1, nextIndex: 2 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Setting last applied to 2 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Moving last applied index from 1 to 2 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Applying state for log index 2 data two 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: applyState called: two 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): sendAppendEntries: 2 is present for follower follower415 06:56:24,377 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Sending AppendEntries to follower follower415: AppendEntries [leaderId=leader414, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleAppendEntries: AppendEntries [leaderId=leader414, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Number of entries to be appended = 1 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Append entry to log two 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Log size is now 3 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Commit index set to 2 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower415, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower415: Lagging 0 entries behind leader leader414 and reached 2 (of expected -1) 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Setting last applied to 2 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Moving last applied index from 1 to 2 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Applying state for log index 2 data two 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: applyState called: two 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: fakeSnapshot purging log to 0 for term 2 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Persisting ApplyJournalEntries with index=2 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Persisting ApplyJournalEntries with index=2 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower415 updated: matchIndex: 2, nextIndex: 3 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: fakeSnapshot purging log to 1 for term 2 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 06:56:24,378 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:24,438 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader414 with journal batch size 1000 [WARN] [01/22/2024 06:56:24.438] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader414]: org.opendaylight.controller.cluster.common.actor.Monitor@4a17be5f 06:56:24,440 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Set currentTerm=1, votedFor=leader414 06:56:24,440 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:24,440 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Updated server config: isVoting: true, peers: [PeerInfo [id=follower415, address=akka://test/user/follower415, votingState=NON_VOTING]] 06:56:24,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Set currentTerm=2, votedFor=leader414 06:56:24,441 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:24,957 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:56:24,957 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Follower): Received ElectionTimeout - switching to Candidate 06:56:24,957 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Candidate): Election: Candidate has following voting peers: [] 06:56:24,957 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Set currentTerm=3, votedFor=leader414 06:56:24,957 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Candidate): Starting new election term 3 06:56:24,957 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 06:56:24,959 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Candidate): Received ElectionTimeout 06:56:24,959 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Election: Leader has following peers: [follower415] 06:56:24,959 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:24,959 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 06:56:24,959 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Term 3 in "AppendEntries [leaderId=leader414, 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 06:56:24,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Set currentTerm=3, votedFor=null 06:56:24,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower415: Lagging -3 entries behind leader leader414 and reached 2 (of expected -1) 06:56:24,960 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): handleAppendEntriesReply: follower follower415 lastIndex 2 is ahead of our lastIndex -1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 06:56:24,960 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 06:56:24,960 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: 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 follower415 06:56:24,960 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: lastSequenceNumber prior to capture: -1 06:56:24,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: CaptureSnapshotReply received by actor 06:56:24,961 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Persisting of snapshot done: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=3, electionVotedFor=leader414, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower415, isVoting=false], ServerInfo[peerId=leader414, isVoting=true]]]] 06:56:24,961 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 06:56:24,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): sendInstallSnapshot 06:56:24,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader414 (Leader): Snapshot 171 bytes, total chunks to send: 1 06:56:24,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader414 (Leader): Next chunk: total length=171, offset=0, size=171, hashCode=-2041399403 06:56:24,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): next snapshot chunk size for follower follower415: 171 06:56:24,962 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): InstallSnapshot sent to follower Vector(user, follower415), Chunk: 1/1 06:56:24,962 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Snapshot success - sequence number: -1 06:56:24,962 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: SnapshotComplete received 06:56:24,962 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader414, lastIncludedIndex=-1, lastIncludedTerm=-1, datasize=171, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower415, isVoting=false], ServerInfo[peerId=leader414, isVoting=true]]]] 06:56:24,962 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower415: Lagging -3 entries behind leader leader414 and reached 2 (of expected -1) 06:56:24,962 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 06:56:24,962 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Snapshot installed from leader: leader414 06:56:24,963 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: 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=follower415, isVoting=false], ServerInfo[peerId=leader414, isVoting=true]]]] 06:56:24,963 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 06:56:24,963 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Snapshot success - sequence number: -1 06:56:24,963 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Moving last applied index from 2 to -1 06:56:24,963 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Set currentTerm=3, votedFor=null 06:56:24,963 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Updated server config: isVoting: false, peers: [PeerInfo [id=leader414, address=akka://test/user/leader414, votingState=VOTING]] 06:56:24,963 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: applySnapshot called 06:56:24,963 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower415, chunkIndex=1, success=true] 06:56:24,963 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: SnapshotComplete received 06:56:24,963 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower415, chunkIndex=1, success=true] 06:56:24,963 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Snapshot successfully installed on follower follower415 (last chunk 1) - matchIndex set to -1, nextIndex set to 0 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Setting last applied to 0 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Moving last applied index from -1 to 0 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Applying state for log index 0 data zero-1 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: applyState called: zero-1 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): sendAppendEntries: 0 is present for follower follower415 06:56:24,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Sending AppendEntries to follower follower415: AppendEntries [leaderId=leader414, 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]]] 06:56:24,995 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleAppendEntries: AppendEntries [leaderId=leader414, 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]]] 06:56:24,995 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Number of entries to be appended = 1 06:56:24,995 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Append entry to log zero-1 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:24,996 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: Persisting ApplyJournalEntries with index=0 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Log size is now 1 06:56:24,996 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Commit index set to 0 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower415, logLastIndex=0, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower415: Lagging 0 entries behind leader leader414 and reached 0 (of expected -1) 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415 (Follower): Setting last applied to 0 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Moving last applied index from -1 to 0 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Applying state for log index 0 data zero-1 06:56:24,996 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower415 updated: matchIndex: 0, nextIndex: 1 06:56:24,996 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader414 (Leader): Checking sendAppendEntries for follower follower415: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: applyState called: zero-1 06:56:24,996 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower415: Persisting ApplyJournalEntries with index=0 06:56:25,45 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart ending 06:56:25,45 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower415-collector417#-1683872765] 06:56:25,56 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower415] 06:56:25,57 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader414-collector418#1272876232] 06:56:25,57 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader414] 06:56:25,57 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader414-collector419#-620509330] 06:56:25,58 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader414] 06:56:25,59 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart starting [WARN] [01/22/2024 06:56:25.063] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower421]: org.opendaylight.controller.cluster.common.actor.Monitor@7d39c064 06:56:25,64 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower421 with journal batch size 1000 06:56:25,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Set currentTerm=1, votedFor=leader420 06:56:25,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:25,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Updated server config: isVoting: false, peers: [PeerInfo [id=leader420, address=akka://test/user/leader420, votingState=VOTING]] 06:56:25,66 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:56:25.066] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader420]: org.opendaylight.controller.cluster.common.actor.Monitor@60961d10 06:56:25,67 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader420 with journal batch size 1000 06:56:25,70 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Set currentTerm=1, votedFor=leader420 06:56:25,70 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:25,70 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Updated server config: isVoting: true, peers: [PeerInfo [id=follower421, address=akka://test/user/follower421, votingState=NON_VOTING]] 06:56:25,70 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:25,547 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:56:25,548 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:56:25,548 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Follower): Received ElectionTimeout - switching to Candidate 06:56:25,548 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Candidate): Election: Candidate has following voting peers: [] 06:56:25,548 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Set currentTerm=2, votedFor=leader420 06:56:25,548 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Candidate): Starting new election term 2 06:56:25,548 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 06:56:25,549 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Candidate): Received ElectionTimeout 06:56:25,550 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Election: Leader has following peers: [follower421] 06:56:25,550 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:25,550 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:56:25,550 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Term 2 in "AppendEntries [leaderId=leader420, 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 06:56:25,550 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Set currentTerm=2, votedFor=null 06:56:25,550 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower421: Last sync leader does not match current leader leader420, need to catch up to -1 06:56:25,551 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower421 updated: matchIndex: -1, nextIndex: 0 06:56:25,551 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:56:25.551] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower421] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@76376e0a 06:56:25,573 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:25,573 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:25,573 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:56:25,573 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Setting last applied to 0 06:56:25,573 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Moving last applied index from -1 to 0 06:56:25,573 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Applying state for log index 0 data zero 06:56:25,573 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: applyState called: zero 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): sendAppendEntries: 0 is present for follower follower421 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Sending AppendEntries to follower follower421: AppendEntries [leaderId=leader420, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persisting ApplyJournalEntries with index=0 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): handleAppendEntries: AppendEntries [leaderId=leader420, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Number of entries to be appended = 1 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Append entry to log zero 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Log size is now 1 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Commit index set to 0 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower421, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower421: Lagging 0 entries behind leader leader420 and reached 0 (of expected -1) 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Setting last applied to 0 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Moving last applied index from -1 to 0 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Applying state for log index 0 data zero 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Setting last applied to 1 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Moving last applied index from 0 to 1 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Applying state for log index 1 data one 06:56:25,574 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: applyState called: zero 06:56:25,574 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: applyState called: one 06:56:25,575 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:56:25,575 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): sendAppendEntries: 0 is present for follower follower421 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Persisting ApplyJournalEntries with index=0 06:56:25,575 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Sending AppendEntries to follower follower421: AppendEntries [leaderId=leader420, 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]]] 06:56:25,575 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower421 updated: matchIndex: 0, nextIndex: 1 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): handleAppendEntries: AppendEntries [leaderId=leader420, 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]]] 06:56:25,575 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: fakeSnapshot purging log to 0 for term 2 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Number of entries to be appended = 2 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Append entry to log one 06:56:25,575 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:25,575 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): sendAppendEntries: 1 is present for follower follower421 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Log size is now 2 06:56:25,575 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Sending AppendEntries to follower follower421: AppendEntries [leaderId=leader420, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Commit index set to 1 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower421, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower421: Lagging 0 entries behind leader leader420 and reached 1 (of expected -1) 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Setting last applied to 1 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Moving last applied index from 0 to 1 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Applying state for log index 1 data one 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: applyState called: one 06:56:25,575 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persisting ApplyJournalEntries with index=1 06:56:25,575 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): handleAppendEntries: AppendEntries [leaderId=leader420, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 06:56:25,575 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower421 updated: matchIndex: 1, nextIndex: 2 06:56:25,576 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Number of entries to be appended = 1 06:56:25,576 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 06:56:25,576 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 06:56:25,576 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Log size is now 2 06:56:25,576 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower421, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:25,576 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 06:56:25,576 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower421: Lagging 0 entries behind leader leader420 and reached 1 (of expected -1) 06:56:25,576 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: fakeSnapshot purging log to 0 for term 2 06:56:25,576 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:25,576 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Persisting ApplyJournalEntries with index=1 [WARN] [01/22/2024 06:56:25.576] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower421] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@19afcbb7 [WARN] [01/22/2024 06:56:25.636] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader420]: org.opendaylight.controller.cluster.common.actor.Monitor@6e3d7b9b 06:56:25,637 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader420 with journal batch size 1000 06:56:25,641 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Set currentTerm=1, votedFor=leader420 06:56:25,641 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:25,641 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Updated server config: isVoting: true, peers: [PeerInfo [id=follower421, address=akka://test/user/follower421, votingState=NON_VOTING]] 06:56:25,641 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Set currentTerm=2, votedFor=leader420 06:56:25,641 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:26,107 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:56:26,107 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Follower): Received ElectionTimeout - switching to Candidate 06:56:26,107 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Candidate): Election: Candidate has following voting peers: [] 06:56:26,107 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Set currentTerm=3, votedFor=leader420 06:56:26,107 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Candidate): Starting new election term 3 06:56:26,107 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 06:56:26,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Candidate): Received ElectionTimeout 06:56:26,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Election: Leader has following peers: [follower421] 06:56:26,109 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:26,109 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Setting last applied to 0 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Moving last applied index from -1 to 0 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Applying state for log index 0 data zero-1 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: applyState called: zero-1 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persisting ApplyJournalEntries with index=0 06:56:26,147 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:26,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:26,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:26,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 06:56:26,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Setting last applied to 1 06:56:26,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Moving last applied index from 0 to 1 06:56:26,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Applying state for log index 1 data one-1 06:56:26,148 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: applyState called: one-1 06:56:26,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:56:26,148 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persisting ApplyJournalEntries with index=1 06:56:26,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:26,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 06:56:26,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 06:56:26,148 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 06:56:26,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Setting last applied to 2 06:56:26,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Moving last applied index from 1 to 2 06:56:26,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Applying state for log index 2 data two-1 06:56:26,149 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: applyState called: two-1 06:56:26,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:56:26,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Persisting ApplyJournalEntries with index=2 06:56:26,149 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 06:56:26,227 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Term 3 in "AppendEntries [leaderId=leader420, 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 06:56:26,227 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Set currentTerm=3, votedFor=null 06:56:26,227 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower421: Lagging -2 entries behind leader leader420 and reached 1 (of expected -1) 06:56:26,228 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): handleAppendEntriesReply: follower follower421 last log term 2 for index 1 conflicts with the leader's 3 - set the follower's next index to 0 06:56:26,228 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Checking sendAppendEntries for follower follower421: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:56:26,228 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): sendAppendEntries: 0 is present for follower follower421 06:56:26,228 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Sending AppendEntries to follower follower421: AppendEntries [leaderId=leader420, 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]]] 06:56:26,228 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): handleAppendEntries: AppendEntries [leaderId=leader420, 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]]] 06:56:26,228 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Number of entries to be appended = 3 06:56:26,228 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: 2 06:56:26,228 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:56:26,229 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Removing entries from log starting at 0, commitIndex: 1, lastApplied: 1 06:56:26,229 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Could not remove entries - sending reply to force snapshot 06:56:26,229 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower421: Lagging 1 entries behind leader leader420 and reached 1 (of expected -1) 06:56:26,229 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower421, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=true, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 06:56:26,229 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: 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 follower421 06:56:26,229 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: lastSequenceNumber prior to capture: -1 06:56:26,230 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: CaptureSnapshotReply received by actor 06:56:26,230 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: 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=leader420, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower421, isVoting=false], ServerInfo[peerId=leader420, isVoting=true]]]] 06:56:26,230 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 06:56:26,230 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): sendInstallSnapshot 06:56:26,230 AM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader420 (Leader): Snapshot 351 bytes, total chunks to send: 1 06:56:26,230 AM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader420 (Leader): Next chunk: total length=351, offset=0, size=351, hashCode=236499276 06:56:26,230 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): next snapshot chunk size for follower follower421: 351 06:56:26,230 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): InstallSnapshot sent to follower Vector(user, follower421), Chunk: 1/1 06:56:26,230 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: Snapshot success - sequence number: -1 06:56:26,231 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: SnapshotComplete received 06:56:26,231 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader420, lastIncludedIndex=2, lastIncludedTerm=3, datasize=351, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower421, isVoting=false], ServerInfo[peerId=leader420, isVoting=true]]]] 06:56:26,231 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower421: Lagging 1 entries behind leader leader420 and reached 1 (of expected -1) 06:56:26,231 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 06:56:26,231 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): Snapshot installed from leader: leader420 06:56:26,232 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: 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=follower421, isVoting=false], ServerInfo[peerId=leader420, isVoting=true]]]] 06:56:26,232 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 06:56:26,232 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Snapshot success - sequence number: -1 06:56:26,232 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Moving last applied index from 1 to 2 06:56:26,232 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Set currentTerm=3, votedFor=null 06:56:26,232 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: Updated server config: isVoting: false, peers: [PeerInfo [id=leader420, address=akka://test/user/leader420, votingState=VOTING]] 06:56:26,232 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: applySnapshot called 06:56:26,232 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower421, chunkIndex=1, success=true] 06:56:26,232 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower421: SnapshotComplete received 06:56:26,232 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower421, chunkIndex=1, success=true] 06:56:26,232 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader420 (Leader): Snapshot successfully installed on follower follower421 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 06:56:26,232 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader420: fakeSnapshot purging log to 1 for term 3 06:56:26,248 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart ending 06:56:26,248 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower421-collector423#-1913827212] 06:56:26,259 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower421] 06:56:26,259 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader420-collector424#1945971552] 06:56:26,260 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader420] 06:56:26,260 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader420-collector425#-173419080] 06:56:26,260 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader420] 06:56:26,261 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart starting [WARN] [01/22/2024 06:56:26.264] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower427]: org.opendaylight.controller.cluster.common.actor.Monitor@2bc98d84 06:56:26,265 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower427 with journal batch size 1000 06:56:26,267 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Set currentTerm=1, votedFor=leader426 06:56:26,268 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:26,268 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Updated server config: isVoting: false, peers: [PeerInfo [id=leader426, address=akka://test/user/leader426, votingState=VOTING]] 06:56:26,268 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:56:26.365] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader426]: org.opendaylight.controller.cluster.common.actor.Monitor@34e35ab4 06:56:26,366 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader426 with journal batch size 1000 06:56:26,368 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Set currentTerm=1, votedFor=leader426 06:56:26,368 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Received ReplicatedLogEntry for recovery: index: 0, size: 143 06:56:26,368 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Updated server config: isVoting: true, peers: [PeerInfo [id=follower427, address=akka://test/user/follower427, votingState=NON_VOTING]] 06:56:26,368 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:26,837 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:56:26,837 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:56:26,837 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Follower): Received ElectionTimeout - switching to Candidate 06:56:26,837 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate): Election: Candidate has following voting peers: [] 06:56:26,837 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Set currentTerm=2, votedFor=leader426 06:56:26,837 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate): Starting new election term 2 06:56:26,837 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 06:56:26,838 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate): Received ElectionTimeout 06:56:26,838 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Election: Leader has following peers: [follower427] 06:56:26,838 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:26,838 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:56:26,838 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Term 2 in "AppendEntries [leaderId=leader426, 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 06:56:26,839 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Set currentTerm=2, votedFor=null 06:56:26,839 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower427: Last sync leader does not match current leader leader426, need to catch up to -1 06:56:26,839 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower427 updated: matchIndex: -1, nextIndex: 0 06:56:26,839 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:56:26.840] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower427] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2b16de1d 06:56:26,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:26,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:26,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:56:26,870 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Setting last applied to 0 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Moving last applied index from -1 to 0 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Applying state for log index 0 data zero 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: applyState called: zero 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 0 is present for follower follower427 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower427: AppendEntries [leaderId=leader426, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persisting ApplyJournalEntries with index=0 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Number of entries to be appended = 1 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Append entry to log zero 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Log size is now 1 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Commit index set to 0 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower427, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower427: Lagging 0 entries behind leader leader426 and reached 0 (of expected -1) 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Setting last applied to 1 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Moving last applied index from 0 to 1 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Setting last applied to 0 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Applying state for log index 1 data one 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Moving last applied index from -1 to 0 06:56:26,871 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Applying state for log index 0 data zero 06:56:26,871 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: applyState called: one 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: applyState called: zero 06:56:26,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:56:26,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 0 is present for follower follower427 06:56:26,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower427: AppendEntries [leaderId=leader426, 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]]] 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Persisting ApplyJournalEntries with index=0 06:56:26,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower427 updated: matchIndex: 0, nextIndex: 1 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, 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]]] 06:56:26,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: fakeSnapshot purging log to 0 for term 2 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Number of entries to be appended = 2 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 06:56:26,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Append entry to log one 06:56:26,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 1 is present for follower follower427 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:26,872 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower427: AppendEntries [leaderId=leader426, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Log size is now 2 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Commit index set to 1 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower427, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower427: Lagging 0 entries behind leader leader426 and reached 1 (of expected -1) 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Setting last applied to 1 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Moving last applied index from 0 to 1 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Applying state for log index 1 data one 06:56:26,872 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: applyState called: one 06:56:26,872 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persisting ApplyJournalEntries with index=1 06:56:26,872 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 06:56:26,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 06:56:26,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Number of entries to be appended = 1 06:56:26,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 06:56:26,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 06:56:26,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Log size is now 2 06:56:26,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower427, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower427 updated: matchIndex: 1, nextIndex: 2 06:56:26,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower427: Lagging 0 entries behind leader leader426 and reached 1 (of expected -1) 06:56:26,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: fakeSnapshot purging log to 0 for term 2 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 06:56:26,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Persisting ApplyJournalEntries with index=1 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Setting last applied to 2 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Moving last applied index from 1 to 2 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Applying state for log index 2 data two [WARN] [01/22/2024 06:56:26.873] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower427] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@36f6602c 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: applyState called: two 06:56:26,873 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 06:56:26,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 2 is present for follower follower427 06:56:26,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower427: AppendEntries [leaderId=leader426, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 06:56:26,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persisting ApplyJournalEntries with index=2 06:56:26,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 06:56:26,874 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: fakeSnapshot purging log to 1 for term 2 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Number of entries to be appended = 1 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Append entry to log two 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Log size is now 2 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Commit index set to 2 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower427, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower427: Lagging 0 entries behind leader leader426 and reached 2 (of expected -1) 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Setting last applied to 2 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Moving last applied index from 1 to 2 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Applying state for log index 2 data two 06:56:26,874 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower427 updated: matchIndex: 2, nextIndex: 3 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: applyState called: two 06:56:26,874 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 06:56:26,874 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Persisting ApplyJournalEntries with index=2 06:56:27,77 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower427: Lagging 0 entries behind leader leader426 and reached 2 (of expected -1) 06:56:27,78 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: fakeSnapshot purging log to 1 for term 2 [WARN] [01/22/2024 06:56:27.137] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower428]: org.opendaylight.controller.cluster.common.actor.Monitor@7846af0e 06:56:27,138 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower428 with journal batch size 1000 06:56:27,140 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Received ReplicatedLogEntry for recovery: index: 0, size: 174 06:56:27,140 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Updated server config: isVoting: true, peers: [PeerInfo [id=leader426, address=akka://test/user/leader426, votingState=VOTING], PeerInfo [id=follower427, address=akka://test/user/follower427, votingState=NON_VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING]] 06:56:27,140 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:56:27.142] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader426]: org.opendaylight.controller.cluster.common.actor.Monitor@c31168f 06:56:27,143 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader426 with journal batch size 1000 06:56:27,145 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Set currentTerm=2, votedFor=leader426 06:56:27,145 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Received ReplicatedLogEntry for recovery: index: 0, size: 174 06:56:27,145 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Updated server config: isVoting: true, peers: [PeerInfo [id=follower428, address=akka://test/user/follower428, votingState=VOTING], PeerInfo [id=follower427, address=akka://test/user/follower427, votingState=NON_VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING]] 06:56:27,145 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:56:27,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:56:27,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Follower): Received ElectionTimeout - switching to Candidate 06:56:27,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate): Election: Candidate has following voting peers: [follower428] 06:56:27,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Set currentTerm=3, votedFor=leader426 06:56:27,568 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate): Starting new election term 3 06:56:27,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate): Sending RequestVote [term=3, candidateId=leader426, lastLogIndex=-1, lastLogTerm=-1] to peer follower428 06:56:27,568 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 06:56:27,568 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:56:27,569 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Cluster state: [] 06:56:27,569 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=leader426, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:56:27,569 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Term 3 in "RequestVote [term=3, candidateId=leader426, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:56:27,569 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Set currentTerm=3, votedFor=null 06:56:27,569 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): In requestVote: RequestVote [term=3, candidateId=leader426, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 06:56:27,569 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Set currentTerm=3, votedFor=leader426 06:56:27,569 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 06:56:27,570 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 06:56:27,570 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 06:56:27,570 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Election: Leader has following peers: [follower428, follower427, downPeer] 06:56:27,570 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:27,570 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:27,570 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 06:56:27,571 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower428: Last sync leader does not match current leader leader426, need to catch up to -1 [WARN] [01/22/2024 06:56:27.571] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower428] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@77bd90e7 06:56:27,575 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower428 updated: matchIndex: -1, nextIndex: 0 06:56:27,575 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:56:27,599 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:27,599 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:27,599 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 06:56:27,599 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:27,599 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 0 is present for follower follower428 06:56:27,599 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower428: AppendEntries [leaderId=leader426, 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]]] 06:56:27,599 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:56:27,600 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:27,600 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, 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]]] 06:56:27,600 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Number of entries to be appended = 1 06:56:27,600 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:27,600 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:56:27,600 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:27,600 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Append entry to log zero-1 06:56:27,600 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:27,600 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 06:56:27,600 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 06:56:27,600 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:56:27,600 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Log size is now 1 06:56:27,600 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 0 is present for follower follower428 06:56:27,600 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:56:27,600 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower428, logLastIndex=0, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:27,600 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower428: Lagging 0 entries behind leader leader426 and reached -1 (of expected -1) 06:56:27,600 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower428 updated: matchIndex: 0, nextIndex: 1 06:56:27,600 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:56:27,600 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Setting last applied to 0 06:56:27,600 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Moving last applied index from -1 to 0 06:56:27,600 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Applying state for log index 0 data zero-1 06:56:27,600 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: applyState called: zero-1 [WARN] [01/22/2024 06:56:27.600] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower428] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@21c30e35 06:56:27,601 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:56:27,601 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 1 is present for follower follower428 06:56:27,601 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower428: AppendEntries [leaderId=leader426, 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]]] 06:56:27,601 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, 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]]] 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Number of entries to be appended = 1 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Append entry to log one-1 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:27,601 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persisting ApplyJournalEntries with index=0 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Log size is now 2 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Commit index set to 0 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower428, logLastIndex=1, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:27,601 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower428: Lagging 0 entries behind leader leader426 and reached 0 (of expected -1) 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:56:27,601 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Setting last applied to 0 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Moving last applied index from -1 to 0 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Applying state for log index 0 data zero-1 06:56:27,601 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 06:56:27,601 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: applyState called: zero-1 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 1 is present for follower follower428 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:56:27,602 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Persisting ApplyJournalEntries with index=0 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower428 updated: matchIndex: 1, nextIndex: 2 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Setting last applied to 1 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Moving last applied index from 0 to 1 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Applying state for log index 1 data one-1 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: applyState called: one-1 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 2 is present for follower follower428 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower428: AppendEntries [leaderId=leader426, 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]]] 06:56:27,602 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persisting ApplyJournalEntries with index=1 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persist data SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, 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]]] 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Number of entries to be appended = 1 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Replicate message: identifier: MockIdentifier{value=three-1}, logIndex: 3, isSendImmediate: true 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Append entry to log two-1 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 2 is present for follower follower428 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Log size is now 3 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Commit index set to 1 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower428, logLastIndex=2, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower428: Lagging 0 entries behind leader leader426 and reached 1 (of expected -1) 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Setting last applied to 1 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Moving last applied index from 0 to 1 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Applying state for log index 1 data one-1 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower428 updated: matchIndex: 2, nextIndex: 3 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Setting last applied to 2 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Moving last applied index from 1 to 2 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: applyState called: one-1 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Applying state for log index 2 data two-1 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: applyState called: two-1 06:56:27,603 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Persisting ApplyJournalEntries with index=1 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 3 is present for follower follower428 06:56:27,603 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower428: AppendEntries [leaderId=leader426, 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]]] 06:56:27,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, 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]]] 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Number of entries to be appended = 1 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Append entry to log three-1 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 06:56:27,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persisting ApplyJournalEntries with index=2 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Log size is now 4 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Commit index set to 2 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower428, logLastIndex=3, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:27,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persist data SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower428: Lagging 0 entries behind leader leader426 and reached 2 (of expected -1) 06:56:27,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Setting last applied to 2 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Moving last applied index from 1 to 2 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Applying state for log index 2 data two-1 06:56:27,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Replicate message: identifier: MockIdentifier{value=four-1}, logIndex: 4, isSendImmediate: true 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: applyState called: two-1 06:56:27,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:56:27,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 3 is present for follower follower428 06:56:27,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:56:27,604 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Persisting ApplyJournalEntries with index=2 06:56:27,604 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower428 updated: matchIndex: 3, nextIndex: 4 06:56:27,604 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 06:56:27,604 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Setting last applied to 3 06:56:27,604 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Moving last applied index from 2 to 3 06:56:27,604 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Applying state for log index 3 data three-1 06:56:27,605 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: applyState called: three-1 06:56:27,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:56:27,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 4 is present for follower follower428 06:56:27,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower428: AppendEntries [leaderId=leader426, 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]]] 06:56:27,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persisting ApplyJournalEntries with index=3 06:56:27,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, 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]]] 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Number of entries to be appended = 1 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Append entry to log four-1 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Log size is now 5 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Commit index set to 3 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower428, logLastIndex=4, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower428: Lagging 0 entries behind leader leader426 and reached 3 (of expected -1) 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Setting last applied to 3 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Moving last applied index from 2 to 3 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Applying state for log index 3 data three-1 06:56:27,607 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower428 updated: matchIndex: 4, nextIndex: 5 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: applyState called: three-1 06:56:27,607 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 06:56:27,607 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Setting last applied to 4 06:56:27,607 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Moving last applied index from 3 to 4 06:56:27,607 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Applying state for log index 4 data four-1 06:56:27,607 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Persisting ApplyJournalEntries with index=3 06:56:27,607 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: applyState called: four-1 06:56:27,607 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower428: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:56:27,607 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Persisting ApplyJournalEntries with index=4 06:56:27,607 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Commit index set to 4 06:56:27,607 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower428: Lagging 0 entries behind leader leader426 and reached 4 (of expected -1) 06:56:27,607 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 4 06:56:27,607 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428 (Follower): Setting last applied to 4 06:56:27,607 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Moving last applied index from 3 to 4 06:56:27,607 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Applying state for log index 4 data four-1 06:56:27,608 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: applyState called: four-1 06:56:27,608 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower428: Persisting ApplyJournalEntries with index=4 06:56:27,687 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Term 3 in "AppendEntries [leaderId=leader426, 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 06:56:27,687 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Set currentTerm=3, votedFor=null 06:56:27,688 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower427: Lagging -3 entries behind leader leader426 and reached 2 (of expected -1) 06:56:27,688 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply: follower follower427 last log term 2 for index 2 conflicts with the leader's 3 - set the follower's next index to 1 06:56:27,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: true, followerNextIndex: 1, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:56:27,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 1 is present for follower follower427 06:56:27,688 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower427: AppendEntries [leaderId=leader426, 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]]] 06:56:27,689 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, 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]]] 06:56:27,689 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (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 06:56:27,689 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=3, success=false, followerId=follower427, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:56:27,689 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower427: Lagging 2 entries behind leader leader426 and reached 2 (of expected -1) 06:56:27,689 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower427, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 06:56:27,689 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): follower follower427 last log term 2 conflicts with the leader's 3 - dec next index to 0 06:56:27,689 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Checking sendAppendEntries for follower follower427: active: true, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:56:27,689 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendAppendEntries: 0 is present for follower follower427 06:56:27,689 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Sending AppendEntries to follower follower427: AppendEntries [leaderId=leader426, 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]]] 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleAppendEntries: AppendEntries [leaderId=leader426, 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]]] 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Number of entries to be appended = 5 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: -1 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] is present: existingEntryTerm: 2 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Removing entries from log starting at 1, commitIndex: 2, lastApplied: 2 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Could not remove entries - sending reply to force snapshot 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower427: Lagging 2 entries behind leader leader426 and reached 2 (of expected -1) 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower427, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=true, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: 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 follower427 06:56:27,690 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: lastSequenceNumber prior to capture: -1 06:56:27,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: CaptureSnapshotReply received by actor 06:56:27,691 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: 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=leader426, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower428, isVoting=true], ServerInfo[peerId=follower427, isVoting=false], ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=leader426, isVoting=true]]]] 06:56:27,691 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 06:56:27,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): sendInstallSnapshot 06:56:27,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader426 (Leader): Snapshot 390 bytes, total chunks to send: 1 06:56:27,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader426 (Leader): Next chunk: total length=390, offset=0, size=390, hashCode=-929342248 06:56:27,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): next snapshot chunk size for follower follower427: 390 06:56:27,691 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): InstallSnapshot sent to follower Vector(user, follower427), Chunk: 1/1 06:56:27,692 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: Snapshot success - sequence number: -1 06:56:27,692 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426: SnapshotComplete received 06:56:27,692 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader426, lastIncludedIndex=4, lastIncludedTerm=3, datasize=390, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower428, isVoting=true], ServerInfo[peerId=follower427, isVoting=false], ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=leader426, isVoting=true]]]] 06:56:27,692 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower427: Lagging 2 entries behind leader leader426 and reached 2 (of expected -1) 06:56:27,692 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 06:56:27,692 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): Snapshot installed from leader: leader426 06:56:27,693 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: 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=follower428, isVoting=true], ServerInfo[peerId=follower427, isVoting=false], ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=leader426, isVoting=true]]]] 06:56:27,693 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 06:56:27,693 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Snapshot success - sequence number: -1 06:56:27,693 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Moving last applied index from 2 to 4 06:56:27,693 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Set currentTerm=3, votedFor=null 06:56:27,693 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: Updated server config: isVoting: false, peers: [PeerInfo [id=follower428, address=null, votingState=VOTING], PeerInfo [id=leader426, address=akka://test/user/leader426, votingState=VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING]] 06:56:27,693 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: applySnapshot called 06:56:27,693 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower427, chunkIndex=1, success=true] 06:56:27,693 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower427: SnapshotComplete received 06:56:27,693 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower427, chunkIndex=1, success=true] 06:56:27,693 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader426 (Leader): Snapshot successfully installed on follower follower427 (last chunk 1) - matchIndex set to 4, nextIndex set to 5 06:56:27,701 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart ending 06:56:27,701 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower427-collector429#-1540686566] 06:56:27,712 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower427] 06:56:27,713 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader426-collector430#2139690282] 06:56:27,713 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader426] 06:56:27,713 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower428-collector431#1337104667] 06:56:27,713 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower428] 06:56:27,713 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader426-collector432#1938758678] 06:56:27,714 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader426] [INFO] [01/22/2024 06:56:27.715] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 06:56:27,715 AM [test-akka.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [01/22/2024 06:56:27.716] [test-akka.actor.default-dispatcher-6] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.69:25520) [INFO] [01/22/2024 06:56:27.717] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Exiting completed [INFO] [01/22/2024 06:56:27.717] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Shutting down... [INFO] [01/22/2024 06:56:27.717] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Successfully shut down 06:56:27,719 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Exiting completed 06:56:27,719 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Shutting down... 06:56:27,719 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Successfully shut down [INFO] [01/22/2024 06:56:27.719] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.69:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [01/22/2024 06:56:27.719] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.69:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 06:56:27,719 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 06:56:27,720 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/22/2024 06:56:27.725] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.69:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [01/22/2024 06:56:27.725] [test-akka.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger 06:56:27,726 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.