[DEBUG] [03/13/2024 10:40:09.912] [main] [EventStream(akka://test)] logger log1-TestEventListener started 10:40:09,913 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/13/2024 10:40:09.913] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/13/2024 10:40:09.913] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/13/2024 10:40:09.975] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.252:25520] with UID [2460317820898493806] [INFO] [03/13/2024 10:40:09.977] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Starting up, Akka version [2.6.21] ... 10:40:09,979 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.252:25520] with UID [2460317820898493806] 10:40:09,979 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Starting up, Akka version [2.6.21] ... 10:40:09,985 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Registered cluster JMX MBean [akka:type=Cluster] 10:40:09,985 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Started up successfully 10:40:09,991 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 10:40:09,991 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [03/13/2024 10:40:09.981] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/13/2024 10:40:09.981] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Started up successfully [INFO] [03/13/2024 10:40:09.990] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/13/2024 10:40:09.990] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 10:40:09,993 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerLeaderStateChanges [WARN] [03/13/2024 10:40:10.003] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower467]: org.opendaylight.controller.cluster.common.actor.Monitor@3d44a35b [INFO] [akkaDeadLetter][03/13/2024 10:40:10.003] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower467] 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'. 10:40:10,3 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower467] 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'. 10:40:10,6 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower467 with journal batch size 1000 10:40:10,9 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower467: Set currentTerm=1, votedFor=leader466 10:40:10,9 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower467: Received ReplicatedLogEntry for recovery: index: 0, size: 143 [WARN] [03/13/2024 10:40:10.010] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader466]: org.opendaylight.controller.cluster.common.actor.Monitor@296a4824 [INFO] [akkaDeadLetter][03/13/2024 10:40:10.010] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader466] 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'. 10:40:10,10 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader466] 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'. 10:40:10,11 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader466 with journal batch size 1000 10:40:10,15 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower467: Updated server config: isVoting: false, peers: [PeerInfo [id=leader466, address=akka://test/user/leader466, votingState=VOTING]] 10:40:10,15 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower467: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:10,19 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466: Set currentTerm=1, votedFor=leader466 10:40:10,19 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:10,19 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466: Updated server config: isVoting: true, peers: [PeerInfo [id=follower467, address=akka://test/user/follower467, votingState=NON_VOTING]] 10:40:10,19 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader466: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:10,518 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:10,518 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:10,518 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Follower): Received ElectionTimeout - switching to Candidate 10:40:10,518 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Candidate): Election: Candidate has following voting peers: [] 10:40:10,518 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466: Set currentTerm=2, votedFor=leader466 10:40:10,519 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Candidate): Starting new election term 2 10:40:10,519 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:10,521 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Candidate): Received ElectionTimeout 10:40:10,521 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Leader): Election: Leader has following peers: [follower467] 10:40:10,521 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Leader): Checking sendAppendEntries for follower follower467: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:10,522 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:10,522 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower467 (Follower): Term 2 in "AppendEntries [leaderId=leader466, 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 10:40:10,522 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower467: Set currentTerm=2, votedFor=null 10:40:10,522 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower467: Last sync leader does not match current leader leader466, need to catch up to -1 10:40:10,522 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower467 updated: matchIndex: -1, nextIndex: 0 10:40:10,522 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Leader): Checking sendAppendEntries for follower follower467: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:10.524] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower467] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@9f5885e [INFO] [akkaDeadLetter][03/13/2024 10:40:10.524] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower467] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower467] 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'. 10:40:10,524 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower467] 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'. 10:40:10,572 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:10,879 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower467: Lagging 0 entries behind leader leader466 and reached -1 (of expected -1) [WARN] [03/13/2024 10:40:10.879] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower467] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2adbf8b 10:40:10,880 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower467] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/13/2024 10:40:10.879] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower467] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower467] 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'. 10:40:10,925 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/roleChangeNotifier469#-910306569] 10:40:10,937 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower467-collector470#-780748672] 10:40:10,937 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower467] 10:40:10,938 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader466-collector471#1107847224] 10:40:10,938 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader466] 10:40:10,939 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart starting [WARN] [03/13/2024 10:40:10.941] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower473]: org.opendaylight.controller.cluster.common.actor.Monitor@2a845004 10:40:10,942 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower473] 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'. [INFO] [akkaDeadLetter][03/13/2024 10:40:10.941] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower473] 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'. 10:40:10,942 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower473 with journal batch size 1000 10:40:10,946 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Set currentTerm=1, votedFor=leader472 10:40:10,946 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:10,947 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Updated server config: isVoting: false, peers: [PeerInfo [id=leader472, address=akka://test/user/leader472, votingState=VOTING]] 10:40:10,947 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:11.044] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader472]: org.opendaylight.controller.cluster.common.actor.Monitor@257e712f [INFO] [akkaDeadLetter][03/13/2024 10:40:11.045] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader472] 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'. 10:40:11,45 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader472] 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'. 10:40:11,45 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader472 with journal batch size 1000 10:40:11,49 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=1, votedFor=leader472 10:40:11,50 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:11,50 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Updated server config: isVoting: true, peers: [PeerInfo [id=follower473, address=akka://test/user/follower473, votingState=NON_VOTING]] 10:40:11,50 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:11,498 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:11,498 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:11,498 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower): Received ElectionTimeout - switching to Candidate 10:40:11,498 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Election: Candidate has following voting peers: [] 10:40:11,498 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=2, votedFor=leader472 10:40:11,499 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Starting new election term 2 10:40:11,499 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:11,501 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Received ElectionTimeout 10:40:11,501 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Election: Leader has following peers: [follower473] 10:40:11,501 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:11,501 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:11,501 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Term 2 in "AppendEntries [leaderId=leader472, 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 10:40:11,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Set currentTerm=2, votedFor=null 10:40:11,501 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower473: Last sync leader does not match current leader leader472, need to catch up to -1 10:40:11,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower473 updated: matchIndex: -1, nextIndex: 0 10:40:11,502 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:11.503] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower473] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5f6e8d6 10:40:11,503 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower473] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/13/2024 10:40:11.503] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower473] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower473] 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'. 10:40:11,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:11,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:11,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:40:11,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 0 10:40:11,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from -1 to 0 10:40:11,505 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 0 data zero 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: zero 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 0 is present for follower follower473 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Sending AppendEntries to follower follower473: AppendEntries [leaderId=leader472, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=0 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries: AppendEntries [leaderId=leader472, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 1 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Append entry to log zero 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 1 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 1 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from 0 to 1 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 1 data one 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Commit index set to 0 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: one 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower473, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:11,506 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 0 (of expected -1) 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:40:11,506 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 0 is present for follower follower473 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Sending AppendEntries to follower follower473: AppendEntries [leaderId=leader472, 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]]] 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Setting last applied to 0 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Moving last applied index from -1 to 0 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Applying state for log index 0 data zero 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=1 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower473 updated: matchIndex: 0, nextIndex: 1 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: fakeSnapshot purging log to 0 for term 2 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: applyState called: zero 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 1 is present for follower follower473 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries: AppendEntries [leaderId=leader472, 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]]] 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Sending AppendEntries to follower follower473: AppendEntries [leaderId=leader472, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 2 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Append entry to log one 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 2 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Commit index set to 1 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower473, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 1 (of expected -1) 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Setting last applied to 1 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Moving last applied index from 0 to 1 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Applying state for log index 1 data one 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 2 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from 1 to 2 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 2 data two 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: applyState called: one 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: two 10:40:11,507 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Persisting ApplyJournalEntries with index=0 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:40:11,507 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 1 is present for follower follower473 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries: AppendEntries [leaderId=leader472, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 10:40:11,508 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Sending AppendEntries to follower follower473: AppendEntries [leaderId=leader472, 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]]] 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 1 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower473 updated: matchIndex: 1, nextIndex: 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower473, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:11,508 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: fakeSnapshot purging log to 1 for term 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 1 (of expected -1) 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: fakeSnapshot purging log to 0 for term 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:40:11,508 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 2 is present for follower follower473 10:40:11,508 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Sending AppendEntries to follower follower473: AppendEntries [leaderId=leader472, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Persisting ApplyJournalEntries with index=1 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries: AppendEntries [leaderId=leader472, 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]]] 10:40:11,508 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Append entry to log two 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Commit index set to 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 2 is present for follower follower473 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower473, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 2 (of expected -1) 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Setting last applied to 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Moving last applied index from 1 to 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Applying state for log index 2 data two 10:40:11,508 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower473 updated: matchIndex: 2, nextIndex: 3 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: applyState called: two 10:40:11,508 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries: AppendEntries [leaderId=leader472, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 1 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 10:40:11,508 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 10:40:11,509 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 2 10:40:11,509 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower473, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:11,509 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 2 (of expected -1) 10:40:11,509 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: fakeSnapshot purging log to 1 for term 2 10:40:11,509 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Persisting ApplyJournalEntries with index=2 [WARN] [03/13/2024 10:40:11.509] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower473] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@47b49bc4 10:40:11,509 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower473] 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'. [INFO] [akkaDeadLetter][03/13/2024 10:40:11.509] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower473] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower473] 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'. 10:40:11,572 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader472 with journal batch size 1000 [WARN] [03/13/2024 10:40:11.572] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader472]: org.opendaylight.controller.cluster.common.actor.Monitor@233bceae 10:40:11,572 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader472] to Actor[akka://test/user/termination-monitor] was not delivered. [9] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/13/2024 10:40:11.572] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader472] 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'. 10:40:11,576 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=1, votedFor=leader472 10:40:11,576 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:11,576 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Updated server config: isVoting: true, peers: [PeerInfo [id=follower473, address=akka://test/user/follower473, votingState=NON_VOTING]] 10:40:11,576 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=2, votedFor=leader472 10:40:11,576 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:12,9 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:12,9 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower): Received ElectionTimeout - switching to Candidate 10:40:12,9 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Election: Candidate has following voting peers: [] 10:40:12,9 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=3, votedFor=leader472 10:40:12,9 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Starting new election term 3 10:40:12,9 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:40:12,11 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Received ElectionTimeout 10:40:12,11 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Election: Leader has following peers: [follower473] 10:40:12,12 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:12,12 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 10:40:12,30 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:12,30 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 0 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from -1 to 0 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 0 data zero-1 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: zero-1 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=0 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:12,31 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:12,32 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 10:40:12,32 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 1 10:40:12,32 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from 0 to 1 10:40:12,32 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 1 data one-1 10:40:12,32 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: one-1 10:40:12,32 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:40:12,32 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=1 10:40:12,32 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:12,129 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Term 3 in "AppendEntries [leaderId=leader472, 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 10:40:12,129 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Set currentTerm=3, votedFor=null 10:40:12,129 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower473: Lagging -3 entries behind leader leader472 and reached 2 (of expected -1) 10:40:12,129 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply: follower follower473 lastIndex 2 is ahead of our lastIndex 1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 10:40:12,130 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: 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 follower473 10:40:12,130 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: lastSequenceNumber prior to capture: -1 10:40:12,132 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: CaptureSnapshotReply received by actor 10:40:12,134 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: 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=leader472, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower473, isVoting=false], ServerInfo[peerId=leader472, isVoting=true]]]] 10:40:12,134 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 10:40:12,134 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendInstallSnapshot 10:40:12,134 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader472 (Leader): Snapshot 333 bytes, total chunks to send: 1 10:40:12,134 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader472 (Leader): Next chunk: total length=333, offset=0, size=333, hashCode=878051978 10:40:12,134 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): next snapshot chunk size for follower follower473: 333 10:40:12,134 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): InstallSnapshot sent to follower Vector(user, follower473), Chunk: 1/1 10:40:12,134 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Snapshot success - sequence number: -1 10:40:12,135 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: SnapshotComplete received 10:40:12,135 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader472, lastIncludedIndex=1, lastIncludedTerm=3, datasize=333, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower473, isVoting=false], ServerInfo[peerId=leader472, isVoting=true]]]] 10:40:12,135 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower473: Lagging -1 entries behind leader leader472 and reached 2 (of expected -1) 10:40:12,135 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 10:40:12,135 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Snapshot installed from leader: leader472 10:40:12,137 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: 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=follower473, isVoting=false], ServerInfo[peerId=leader472, isVoting=true]]]] 10:40:12,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 10:40:12,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Snapshot success - sequence number: -1 10:40:12,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Moving last applied index from 2 to 1 10:40:12,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Set currentTerm=3, votedFor=null 10:40:12,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Updated server config: isVoting: false, peers: [PeerInfo [id=leader472, address=akka://test/user/leader472, votingState=VOTING]] 10:40:12,137 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: applySnapshot called 10:40:12,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower473, chunkIndex=1, success=true] 10:40:12,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: SnapshotComplete received 10:40:12,137 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower473, chunkIndex=1, success=true] 10:40:12,137 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Snapshot successfully installed on follower follower473 (last chunk 1) - matchIndex set to 1, nextIndex set to 2 10:40:12,137 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: fakeSnapshot purging log to 0 for term 3 10:40:12,183 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart ending 10:40:12,183 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower473-collector475#-980948881] 10:40:12,195 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower473] 10:40:12,195 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader472-collector476#-406387288] 10:40:12,196 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader472] 10:40:12,196 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader472-collector477#-2126234758] 10:40:12,196 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader472] 10:40:12,198 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart starting [WARN] [03/13/2024 10:40:12.200] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower479]: org.opendaylight.controller.cluster.common.actor.Monitor@6b7640 10:40:12,201 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower479 with journal batch size 1000 [INFO] [akkaDeadLetter][03/13/2024 10:40:12.202] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower479] 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'. 10:40:12,203 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower479] 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'. 10:40:12,207 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Set currentTerm=1, votedFor=leader478 10:40:12,207 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:12,207 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Updated server config: isVoting: false, peers: [PeerInfo [id=leader478, address=akka://test/user/leader478, votingState=VOTING]] 10:40:12,207 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:12.304] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader478]: org.opendaylight.controller.cluster.common.actor.Monitor@3f713c0e 10:40:12,306 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader478 with journal batch size 1000 10:40:12,310 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=1, votedFor=leader478 10:40:12,310 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:12,310 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Updated server config: isVoting: true, peers: [PeerInfo [id=follower479, address=akka://test/user/follower479, votingState=NON_VOTING]] 10:40:12,310 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:12,757 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:12,758 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:12,758 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower): Received ElectionTimeout - switching to Candidate 10:40:12,758 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Election: Candidate has following voting peers: [] 10:40:12,758 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=2, votedFor=leader478 10:40:12,758 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Starting new election term 2 10:40:12,758 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:12,760 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Received ElectionTimeout 10:40:12,761 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Election: Leader has following peers: [follower479] 10:40:12,761 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:12,761 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:12,761 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Term 2 in "AppendEntries [leaderId=leader478, 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 10:40:12,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Set currentTerm=2, votedFor=null 10:40:12,761 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower479: Last sync leader does not match current leader leader478, need to catch up to -1 10:40:12,761 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: -1, nextIndex: 0 10:40:12,761 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:12.763] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower479] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7309de33 10:40:12,767 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:12,767 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:12,767 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:40:12,767 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Setting last applied to 0 10:40:12,767 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Moving last applied index from -1 to 0 10:40:12,767 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Applying state for log index 0 data zero 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: applyState called: zero 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 0 is present for follower follower479 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Sending AppendEntries to follower follower479: AppendEntries [leaderId=leader478, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persisting ApplyJournalEntries with index=0 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries: AppendEntries [leaderId=leader478, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 1 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Append entry to log zero 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 1 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Setting last applied to 1 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Moving last applied index from 0 to 1 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Applying state for log index 1 data one 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Commit index set to 0 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: applyState called: one 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower479, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 0 (of expected -1) 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Setting last applied to 0 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from -1 to 0 10:40:12,768 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Applying state for log index 0 data zero 10:40:12,768 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 0 is present for follower follower479 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applyState called: zero 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Sending AppendEntries to follower follower479: AppendEntries [leaderId=leader478, 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]]] 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persisting ApplyJournalEntries with index=1 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Persisting ApplyJournalEntries with index=0 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: 0, nextIndex: 1 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: fakeSnapshot purging log to 0 for term 2 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries: AppendEntries [leaderId=leader478, 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]]] 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 1 is present for follower follower479 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 2 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Sending AppendEntries to follower follower479: AppendEntries [leaderId=leader478, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Append entry to log one 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 2 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Commit index set to 1 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower479, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Setting last applied to 2 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 1 (of expected -1) 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Moving last applied index from 1 to 2 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Applying state for log index 2 data two 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Setting last applied to 1 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from 0 to 1 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Applying state for log index 1 data one 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: applyState called: two 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 1 is present for follower follower479 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applyState called: one 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Sending AppendEntries to follower follower479: AppendEntries [leaderId=leader478, 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]]] 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries: AppendEntries [leaderId=leader478, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: 1, nextIndex: 2 10:40:12,769 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: fakeSnapshot purging log to 1 for term 2 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 1 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 10:40:12,769 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:40:12,770 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 2 is present for follower follower479 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower479, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 1 (of expected -1) 10:40:12,770 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Sending AppendEntries to follower follower479: AppendEntries [leaderId=leader478, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: fakeSnapshot purging log to 0 for term 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persisting ApplyJournalEntries with index=2 10:40:12,770 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Persisting ApplyJournalEntries with index=1 10:40:12,770 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 2 is present for follower follower479 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries: AppendEntries [leaderId=leader478, 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]]] 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Append entry to log two 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Commit index set to 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower479, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 2 (of expected -1) 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Setting last applied to 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from 1 to 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Applying state for log index 2 data two 10:40:12,770 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: 2, nextIndex: 3 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applyState called: two 10:40:12,770 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries: AppendEntries [leaderId=leader478, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 1 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower479, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 2 (of expected -1) 10:40:12,770 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: fakeSnapshot purging log to 1 for term 2 10:40:12,770 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Persisting ApplyJournalEntries with index=2 [WARN] [03/13/2024 10:40:12.771] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower479] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@15204566 10:40:12,833 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader478 with journal batch size 1000 [WARN] [03/13/2024 10:40:12.833] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader478]: org.opendaylight.controller.cluster.common.actor.Monitor@79bee3f 10:40:12,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=1, votedFor=leader478 10:40:12,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:12,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Updated server config: isVoting: true, peers: [PeerInfo [id=follower479, address=akka://test/user/follower479, votingState=NON_VOTING]] 10:40:12,836 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=2, votedFor=leader478 10:40:12,836 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:13,258 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:13,258 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower): Received ElectionTimeout - switching to Candidate 10:40:13,258 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Election: Candidate has following voting peers: [] 10:40:13,258 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=3, votedFor=leader478 10:40:13,259 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Starting new election term 3 10:40:13,259 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:40:13,260 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Received ElectionTimeout 10:40:13,261 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Election: Leader has following peers: [follower479] 10:40:13,261 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:13,261 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 10:40:13,261 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Term 3 in "AppendEntries [leaderId=leader478, 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 10:40:13,261 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Set currentTerm=3, votedFor=null 10:40:13,261 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower479: Lagging -3 entries behind leader leader478 and reached 2 (of expected -1) 10:40:13,261 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply: follower follower479 lastIndex 2 is ahead of our lastIndex -1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 10:40:13,261 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 10:40:13,261 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: 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 follower479 10:40:13,261 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: lastSequenceNumber prior to capture: -1 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: CaptureSnapshotReply received by actor 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persisting of snapshot done: Snapshot [lastIndex=-1, lastTerm=-1, lastAppliedIndex=-1, lastAppliedTerm=-1, unAppliedEntries size=0, state=MockSnapshotState [state=[]], electionTerm=3, electionVotedFor=leader478, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower479, isVoting=false], ServerInfo[peerId=leader478, isVoting=true]]]] 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendInstallSnapshot 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader478 (Leader): Snapshot 171 bytes, total chunks to send: 1 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader478 (Leader): Next chunk: total length=171, offset=0, size=171, hashCode=-2041399403 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): next snapshot chunk size for follower follower479: 171 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): InstallSnapshot sent to follower Vector(user, follower479), Chunk: 1/1 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Snapshot success - sequence number: -1 10:40:13,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: SnapshotComplete received 10:40:13,263 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader478, lastIncludedIndex=-1, lastIncludedTerm=-1, datasize=171, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower479, isVoting=false], ServerInfo[peerId=leader478, isVoting=true]]]] 10:40:13,264 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower479: Lagging -3 entries behind leader leader478 and reached 2 (of expected -1) 10:40:13,264 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 10:40:13,264 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Snapshot installed from leader: leader478 10:40:13,264 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: 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=follower479, isVoting=false], ServerInfo[peerId=leader478, isVoting=true]]]] 10:40:13,264 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 10:40:13,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Snapshot success - sequence number: -1 10:40:13,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from 2 to -1 10:40:13,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Set currentTerm=3, votedFor=null 10:40:13,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Updated server config: isVoting: false, peers: [PeerInfo [id=leader478, address=akka://test/user/leader478, votingState=VOTING]] 10:40:13,265 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applySnapshot called 10:40:13,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower479, chunkIndex=1, success=true] 10:40:13,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: SnapshotComplete received 10:40:13,265 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower479, chunkIndex=1, success=true] 10:40:13,265 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Snapshot successfully installed on follower follower479 (last chunk 1) - matchIndex set to -1, nextIndex set to 0 10:40:13,285 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:13,285 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:13,285 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 10:40:13,285 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Setting last applied to 0 10:40:13,285 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Moving last applied index from -1 to 0 10:40:13,285 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Applying state for log index 0 data zero-1 10:40:13,286 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: applyState called: zero-1 10:40:13,286 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:13,286 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 0 is present for follower follower479 10:40:13,286 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Sending AppendEntries to follower follower479: AppendEntries [leaderId=leader478, 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]]] 10:40:13,286 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persisting ApplyJournalEntries with index=0 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries: AppendEntries [leaderId=leader478, 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]]] 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 1 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:13,286 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Append entry to log zero-1 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 1 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Commit index set to 0 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower479, logLastIndex=0, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 0 (of expected -1) 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Setting last applied to 0 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from -1 to 0 10:40:13,286 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: 0, nextIndex: 1 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Applying state for log index 0 data zero-1 10:40:13,286 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:13,286 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applyState called: zero-1 10:40:13,287 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Persisting ApplyJournalEntries with index=0 10:40:13,336 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart ending 10:40:13,336 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower479-collector481#140298487] 10:40:13,347 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower479] 10:40:13,348 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader478-collector482#336809000] 10:40:13,348 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader478] 10:40:13,348 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader478-collector483#1737069598] 10:40:13,348 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader478] 10:40:13,351 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart starting [WARN] [03/13/2024 10:40:13.356] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower485]: org.opendaylight.controller.cluster.common.actor.Monitor@2b6a4e99 10:40:13,357 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower485 with journal batch size 1000 10:40:13,359 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Set currentTerm=1, votedFor=leader484 10:40:13,359 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:13,359 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Updated server config: isVoting: false, peers: [PeerInfo [id=leader484, address=akka://test/user/leader484, votingState=VOTING]] 10:40:13,360 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:13.458] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader484]: org.opendaylight.controller.cluster.common.actor.Monitor@3ecb3394 10:40:13,460 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader484 with journal batch size 1000 10:40:13,463 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=1, votedFor=leader484 10:40:13,463 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:13,463 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Updated server config: isVoting: true, peers: [PeerInfo [id=follower485, address=akka://test/user/follower485, votingState=NON_VOTING]] 10:40:13,463 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:13,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:13,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:13,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower): Received ElectionTimeout - switching to Candidate 10:40:13,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Election: Candidate has following voting peers: [] 10:40:13,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=2, votedFor=leader484 10:40:13,889 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Starting new election term 2 10:40:13,889 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:13,891 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Received ElectionTimeout 10:40:13,891 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Election: Leader has following peers: [follower485] 10:40:13,892 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:13,892 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:13,892 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Term 2 in "AppendEntries [leaderId=leader484, 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 10:40:13,892 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Set currentTerm=2, votedFor=null 10:40:13,892 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower485: Last sync leader does not match current leader leader484, need to catch up to -1 10:40:13,892 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower485 updated: matchIndex: -1, nextIndex: 0 10:40:13,892 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:13.893] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower485] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3dfaaaf0 10:40:13,922 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:13,922 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:13,922 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:40:13,922 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 0 10:40:13,922 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from -1 to 0 10:40:13,922 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 0 data zero 10:40:13,922 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: zero 10:40:13,922 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:13,922 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendAppendEntries: 0 is present for follower follower485 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Sending AppendEntries to follower follower485: AppendEntries [leaderId=leader484, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=0 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleAppendEntries: AppendEntries [leaderId=leader484, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Number of entries to be appended = 1 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Append entry to log zero 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 1 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from 0 to 1 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 1 data one 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Log size is now 1 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Commit index set to 0 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: one 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower485, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendAppendEntries: 0 is present for follower follower485 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower485: Lagging 0 entries behind leader leader484 and reached 0 (of expected -1) 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Sending AppendEntries to follower follower485: AppendEntries [leaderId=leader484, 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]]] 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Setting last applied to 0 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Moving last applied index from -1 to 0 10:40:13,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Applying state for log index 0 data zero 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=1 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower485 updated: matchIndex: 0, nextIndex: 1 10:40:13,923 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: fakeSnapshot purging log to 0 for term 2 10:40:13,924 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:40:13,924 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendAppendEntries: 1 is present for follower follower485 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: applyState called: zero 10:40:13,924 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Sending AppendEntries to follower follower485: AppendEntries [leaderId=leader484, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 10:40:13,924 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleAppendEntries: AppendEntries [leaderId=leader484, 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]]] 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Number of entries to be appended = 2 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Append entry to log one 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Log size is now 2 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Commit index set to 1 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower485, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower485: Lagging 0 entries behind leader leader484 and reached 1 (of expected -1) 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Setting last applied to 1 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Moving last applied index from 0 to 1 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Applying state for log index 1 data one 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: applyState called: one 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Persisting ApplyJournalEntries with index=0 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleAppendEntries: AppendEntries [leaderId=leader484, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Number of entries to be appended = 1 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Log size is now 2 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower485, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower485: Lagging 0 entries behind leader leader484 and reached 1 (of expected -1) 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: fakeSnapshot purging log to 0 for term 2 10:40:13,924 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower485 updated: matchIndex: 1, nextIndex: 2 10:40:13,925 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:40:13,925 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Persisting ApplyJournalEntries with index=1 [WARN] [03/13/2024 10:40:13.925] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower485] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1c5df1f2 [WARN] [03/13/2024 10:40:13.988] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader484]: org.opendaylight.controller.cluster.common.actor.Monitor@3392ee91 10:40:13,989 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader484 with journal batch size 1000 10:40:13,992 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=1, votedFor=leader484 10:40:13,992 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:13,992 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Updated server config: isVoting: true, peers: [PeerInfo [id=follower485, address=akka://test/user/follower485, votingState=NON_VOTING]] 10:40:13,992 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=2, votedFor=leader484 10:40:13,992 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:14,419 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:14,419 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower): Received ElectionTimeout - switching to Candidate 10:40:14,419 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Election: Candidate has following voting peers: [] 10:40:14,419 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=3, votedFor=leader484 10:40:14,419 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Starting new election term 3 10:40:14,419 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:40:14,421 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Received ElectionTimeout 10:40:14,421 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Election: Leader has following peers: [follower485] 10:40:14,421 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:14,421 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 10:40:14,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:14,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:14,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 10:40:14,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 0 10:40:14,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from -1 to 0 10:40:14,447 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 0 data zero-1 10:40:14,447 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: zero-1 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=0 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 1 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from 0 to 1 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 1 data one-1 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: one-1 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=1 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 2 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from 1 to 2 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 2 data two-1 10:40:14,448 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: two-1 10:40:14,449 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:40:14,449 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=2 10:40:14,449 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 10:40:14,538 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Term 3 in "AppendEntries [leaderId=leader484, 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 10:40:14,538 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Set currentTerm=3, votedFor=null 10:40:14,539 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower485: Lagging -2 entries behind leader leader484 and reached 1 (of expected -1) 10:40:14,539 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleAppendEntriesReply: follower follower485 last log term 2 for index 1 conflicts with the leader's 3 - set the follower's next index to 0 10:40:14,539 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:40:14,539 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendAppendEntries: 0 is present for follower follower485 10:40:14,539 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Sending AppendEntries to follower follower485: AppendEntries [leaderId=leader484, 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]]] 10:40:14,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleAppendEntries: AppendEntries [leaderId=leader484, 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]]] 10:40:14,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Number of entries to be appended = 3 10:40:14,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: 2 10:40:14,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:14,540 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Removing entries from log starting at 0, commitIndex: 1, lastApplied: 1 10:40:14,541 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Could not remove entries - sending reply to force snapshot 10:40:14,541 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower485: Lagging 1 entries behind leader leader484 and reached 1 (of expected -1) 10:40:14,541 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower485, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=true, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 10:40:14,541 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: 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 follower485 10:40:14,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: lastSequenceNumber prior to capture: -1 10:40:14,541 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: CaptureSnapshotReply received by actor 10:40:14,542 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: 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=leader484, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower485, isVoting=false], ServerInfo[peerId=leader484, isVoting=true]]]] 10:40:14,542 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 10:40:14,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendInstallSnapshot 10:40:14,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader484 (Leader): Snapshot 351 bytes, total chunks to send: 1 10:40:14,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] LeaderInstallSnapshotState - leader484 (Leader): Next chunk: total length=351, offset=0, size=351, hashCode=236499276 10:40:14,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): next snapshot chunk size for follower follower485: 351 10:40:14,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): InstallSnapshot sent to follower Vector(user, follower485), Chunk: 1/1 10:40:14,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Snapshot success - sequence number: -1 10:40:14,542 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: SnapshotComplete received 10:40:14,542 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader484, lastIncludedIndex=2, lastIncludedTerm=3, datasize=351, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower485, isVoting=false], ServerInfo[peerId=leader484, isVoting=true]]]] 10:40:14,542 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower485: Lagging 1 entries behind leader leader484 and reached 1 (of expected -1) 10:40:14,542 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 10:40:14,542 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Snapshot installed from leader: leader484 10:40:14,544 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: 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=follower485, isVoting=false], ServerInfo[peerId=leader484, isVoting=true]]]] 10:40:14,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 10:40:14,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Snapshot success - sequence number: -1 10:40:14,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Moving last applied index from 1 to 2 10:40:14,544 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Set currentTerm=3, votedFor=null 10:40:14,545 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Updated server config: isVoting: false, peers: [PeerInfo [id=leader484, address=akka://test/user/leader484, votingState=VOTING]] 10:40:14,545 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: applySnapshot called 10:40:14,545 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower485, chunkIndex=1, success=true] 10:40:14,545 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: SnapshotComplete received 10:40:14,545 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower485, chunkIndex=1, success=true] 10:40:14,545 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Snapshot successfully installed on follower follower485 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 10:40:14,545 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: fakeSnapshot purging log to 1 for term 3 10:40:14,548 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart ending 10:40:14,548 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower485-collector487#-895757696] 10:40:14,559 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower485] 10:40:14,560 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader484-collector488#1036896976] 10:40:14,560 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader484] 10:40:14,560 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader484-collector489#-1563597821] 10:40:14,560 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader484] 10:40:14,562 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart starting [WARN] [03/13/2024 10:40:14.565] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower491]: org.opendaylight.controller.cluster.common.actor.Monitor@6ec52434 10:40:14,566 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower491 with journal batch size 1000 [WARN] [03/13/2024 10:40:14.568] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader490]: org.opendaylight.controller.cluster.common.actor.Monitor@4ea857d8 10:40:14,569 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader490 with journal batch size 1000 10:40:14,569 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Set currentTerm=1, votedFor=leader490 10:40:14,570 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:14,570 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Updated server config: isVoting: false, peers: [PeerInfo [id=leader490, address=akka://test/user/leader490, votingState=VOTING]] 10:40:14,570 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:14,571 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Set currentTerm=1, votedFor=leader490 10:40:14,571 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Received ReplicatedLogEntry for recovery: index: 0, size: 143 10:40:14,571 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Updated server config: isVoting: true, peers: [PeerInfo [id=follower491, address=akka://test/user/follower491, votingState=NON_VOTING]] 10:40:14,571 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:15,28 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:15,29 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:15,29 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower): Received ElectionTimeout - switching to Candidate 10:40:15,29 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Election: Candidate has following voting peers: [] 10:40:15,29 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Set currentTerm=2, votedFor=leader490 10:40:15,29 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Starting new election term 2 10:40:15,29 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:40:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Received ElectionTimeout 10:40:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Election: Leader has following peers: [follower491] 10:40:15,31 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:15,31 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:40:15,31 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Term 2 in "AppendEntries [leaderId=leader490, 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 10:40:15,31 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Set currentTerm=2, votedFor=null 10:40:15,32 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower491: Last sync leader does not match current leader leader490, need to catch up to -1 10:40:15,32 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower491 updated: matchIndex: -1, nextIndex: 0 10:40:15,32 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/13/2024 10:40:15.033] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower491] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@226dfdb2 10:40:15,73 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 0 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from -1 to 0 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 0 data zero 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: zero 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower491 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower491: AppendEntries [leaderId=leader490, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:15,74 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=0 10:40:15,74 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]] 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 1 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Append entry to log zero 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 1 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Commit index set to 0 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower491, logLastIndex=0, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 0 (of expected -1) 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Setting last applied to 0 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Moving last applied index from -1 to 0 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Applying state for log index 0 data zero 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 1 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 0 to 1 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 1 data one 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: applyState called: zero 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: one 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower491 10:40:15,75 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Persisting ApplyJournalEntries with index=0 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower491: AppendEntries [leaderId=leader490, 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]]] 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower491 updated: matchIndex: 0, nextIndex: 1 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: fakeSnapshot purging log to 0 for term 2 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower491 10:40:15,75 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower491: AppendEntries [leaderId=leader490, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] [WARN] [03/13/2024 10:40:15.075] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower491] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@b19ce30 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=1 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, 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]]] 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Append entry to log one 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Commit index set to 1 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower491, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 1 (of expected -1) 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Setting last applied to 1 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Moving last applied index from 0 to 1 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Applying state for log index 1 data one 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: applyState called: one 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 1 to 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, prevLogIndex=0, prevLogTerm=2, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=2, payload=one]]] 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 2 data two 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 1 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower491, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 1 (of expected -1) 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: fakeSnapshot purging log to 0 for term 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: two 10:40:15,76 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Persisting ApplyJournalEntries with index=1 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower491 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower491: AppendEntries [leaderId=leader490, 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]]] 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower491 updated: matchIndex: 1, nextIndex: 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: fakeSnapshot purging log to 1 for term 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, 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]]] 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 2 is present for follower follower491 10:40:15,76 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 10:40:15,76 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower491: AppendEntries [leaderId=leader490, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 10:40:15,76 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Append entry to log two 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 2 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Commit index set to 2 10:40:15,77 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 2 is present for follower follower491 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower491, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 2 (of expected -1) 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Setting last applied to 2 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Moving last applied index from 1 to 2 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Applying state for log index 2 data two 10:40:15,77 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=2 10:40:15,77 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: applyState called: two 10:40:15,77 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower491 updated: matchIndex: 2, nextIndex: 3 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, prevLogIndex=1, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 1 10:40:15,77 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 2 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower491, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 2 (of expected -1) 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: fakeSnapshot purging log to 1 for term 2 10:40:15,77 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Persisting ApplyJournalEntries with index=2 10:40:15,269 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 2 (of expected -1) [WARN] [03/13/2024 10:40:15.291] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower492]: org.opendaylight.controller.cluster.common.actor.Monitor@33caadc9 10:40:15,292 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower492 with journal batch size 1000 10:40:15,295 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Received ReplicatedLogEntry for recovery: index: 0, size: 174 10:40:15,295 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Updated server config: isVoting: true, peers: [PeerInfo [id=follower491, address=akka://test/user/follower491, votingState=NON_VOTING], PeerInfo [id=leader490, address=akka://test/user/leader490, votingState=VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING]] 10:40:15,295 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/13/2024 10:40:15.297] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader490]: org.opendaylight.controller.cluster.common.actor.Monitor@6bd5b9c4 10:40:15,297 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader490 with journal batch size 1000 10:40:15,300 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Set currentTerm=2, votedFor=leader490 10:40:15,300 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Received ReplicatedLogEntry for recovery: index: 0, size: 174 10:40:15,300 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Updated server config: isVoting: true, peers: [PeerInfo [id=follower492, address=akka://test/user/follower492, votingState=VOTING], PeerInfo [id=follower491, address=akka://test/user/follower491, votingState=NON_VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING]] 10:40:15,300 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:40:15,789 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.252:25520, Removed) 10:40:15,789 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower): Received ElectionTimeout - switching to Candidate 10:40:15,789 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Election: Candidate has following voting peers: [follower492] 10:40:15,789 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Set currentTerm=3, votedFor=leader490 10:40:15,789 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Starting new election term 3 10:40:15,789 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Sending RequestVote [term=3, candidateId=leader490, lastLogIndex=-1, lastLogTerm=-1] to peer follower492 10:40:15,790 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 10:40:15,790 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:40:15,790 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Cluster state: [] 10:40:15,790 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=leader490, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:40:15,790 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Term 3 in "RequestVote [term=3, candidateId=leader490, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:40:15,790 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Set currentTerm=3, votedFor=null 10:40:15,790 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): In requestVote: RequestVote [term=3, candidateId=leader490, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 10:40:15,790 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Set currentTerm=3, votedFor=leader490 10:40:15,790 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 10:40:15,791 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 10:40:15,791 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 10:40:15,792 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Election: Leader has following peers: [follower492, follower491, downPeer] 10:40:15,792 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:15,792 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:15,792 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 10:40:15,792 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower492: Last sync leader does not match current leader leader490, need to catch up to -1 [WARN] [03/13/2024 10:40:15.792] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower492] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5a05d534 10:40:15,792 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: -1, nextIndex: 0 10:40:15,792 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:40:15,806 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:15,806 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:15,806 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 10:40:15,806 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:15,806 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower492 10:40:15,806 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower492: AppendEntries [leaderId=leader490, 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]]] 10:40:15,806 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:40:15,806 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:15,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, 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]]] 10:40:15,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 10:40:15,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:40:15,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log zero-1 10:40:15,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:15,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:15,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 1 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:15,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower492, logLastIndex=0, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 10:40:15,807 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached -1 (of expected -1) 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower492 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 0, nextIndex: 1 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 0 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from -1 to 0 10:40:15,807 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 0 data zero-1 [WARN] [03/13/2024 10:40:15.807] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower492] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1568b413 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: zero-1 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower492 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower492: AppendEntries [leaderId=leader490, 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]]] 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, 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]]] 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=0 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log one-1 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 2 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 0 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower492, logLastIndex=1, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 0 (of expected -1) 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 0 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from -1 to 0 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 0 data zero-1 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower492 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: zero-1 10:40:15,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:40:15,808 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=0 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 1, nextIndex: 2 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 0 to 1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 1 data one-1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: one-1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 2 is present for follower follower492 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower492: AppendEntries [leaderId=leader490, 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]]] 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, 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]]] 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log two-1 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=1 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 3 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower492, logLastIndex=2, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=three-1}, logIndex: 3, isSendImmediate: true 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 1 (of expected -1) 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 1 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from 0 to 1 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 1 data one-1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 2 is present for follower follower492 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: one-1 10:40:15,809 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 2, nextIndex: 3 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 2 10:40:15,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 1 to 2 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 2 data two-1 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: two-1 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 3 is present for follower follower492 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower492: AppendEntries [leaderId=leader490, 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]]] 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, 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]]] 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log three-1 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=2 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 4 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 2 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower492, logLastIndex=3, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 2 (of expected -1) 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 2 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from 1 to 2 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 2 data two-1 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=four-1}, logIndex: 4, isSendImmediate: true 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: two-1 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 3 is present for follower follower492 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:40:15,810 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=2 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 3, nextIndex: 4 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 3 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 2 to 3 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 3 data three-1 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: three-1 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 4 is present for follower follower492 10:40:15,810 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower492: AppendEntries [leaderId=leader490, 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]]] 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, 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]]] 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 10:40:15,811 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=3 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log four-1 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 10:40:15,811 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 5 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 3 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): handleAppendEntries returning : AppendEntriesReply [term=3, success=true, followerId=follower492, logLastIndex=4, logLastTerm=3, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 3 (of expected -1) 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 3 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from 2 to 3 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 3 data three-1 10:40:15,811 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 4, nextIndex: 5 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: three-1 10:40:15,811 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 10:40:15,811 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 4 10:40:15,811 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 3 to 4 10:40:15,811 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 4 data four-1 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=3 10:40:15,811 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: four-1 10:40:15,811 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:40:15,811 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=4 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 4 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 4 (of expected -1) 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 4 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 4 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from 3 to 4 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 4 data four-1 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: four-1 10:40:15,811 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=4 10:40:15,908 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Term 3 in "AppendEntries [leaderId=leader490, 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 10:40:15,908 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Set currentTerm=3, votedFor=null 10:40:15,908 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower491: Lagging -3 entries behind leader leader490 and reached 2 (of expected -1) 10:40:15,909 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply: follower follower491 last log term 2 for index 2 conflicts with the leader's 3 - set the follower's next index to 1 10:40:15,909 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 1, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:40:15,909 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower491 10:40:15,909 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower491: AppendEntries [leaderId=leader490, 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]]] 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, 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]]] 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (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 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=3, success=false, followerId=follower491, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower491: Lagging 2 entries behind leader leader490 and reached 2 (of expected -1) 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower491, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): follower follower491 last log term 2 conflicts with the leader's 3 - dec next index to 0 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower491 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Sending AppendEntries to follower follower491: AppendEntries [leaderId=leader490, 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]]] 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleAppendEntries: AppendEntries [leaderId=leader490, 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]]] 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 5 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: -1 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] is present: existingEntryTerm: 2 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Removing entries from log starting at 1, commitIndex: 2, lastApplied: 2 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Could not remove entries - sending reply to force snapshot 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower491: Lagging 2 entries behind leader leader490 and reached 2 (of expected -1) 10:40:15,910 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=3, success=false, followerId=follower491, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=true, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 10:40:15,911 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: 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 follower491 10:40:15,911 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: lastSequenceNumber prior to capture: -1 10:40:15,911 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: CaptureSnapshotReply received by actor 10:40:15,911 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: 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=leader490, ServerConfigPayload=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower492, isVoting=true], ServerInfo[peerId=follower491, isVoting=false], ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=leader490, isVoting=true]]]] 10:40:15,911 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 10:40:15,911 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendInstallSnapshot 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader490 (Leader): Snapshot 390 bytes, total chunks to send: 1 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader490 (Leader): Next chunk: total length=390, offset=0, size=390, hashCode=-929342248 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): next snapshot chunk size for follower follower491: 390 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): InstallSnapshot sent to follower Vector(user, follower491), Chunk: 1/1 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Snapshot success - sequence number: -1 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: SnapshotComplete received 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleInstallSnapshot: InstallSnapshot [term=3, leaderId=leader490, lastIncludedIndex=4, lastIncludedTerm=3, datasize=390, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=ServerConfigurationPayload [serverConfig=[ServerInfo[peerId=follower492, isVoting=true], ServerInfo[peerId=follower491, isVoting=false], ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=leader490, isVoting=true]]]] 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower491: Lagging 2 entries behind leader leader490 and reached 2 (of expected -1) 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 10:40:15,912 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Snapshot installed from leader: leader490 10:40:15,913 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: 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=follower492, isVoting=true], ServerInfo[peerId=follower491, isVoting=false], ServerInfo[peerId=downPeer, isVoting=false], ServerInfo[peerId=leader490, isVoting=true]]]] 10:40:15,913 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 10:40:15,913 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Snapshot success - sequence number: -1 10:40:15,913 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Moving last applied index from 2 to 4 10:40:15,913 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Set currentTerm=3, votedFor=null 10:40:15,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Updated server config: isVoting: false, peers: [PeerInfo [id=follower492, address=null, votingState=VOTING], PeerInfo [id=leader490, address=akka://test/user/leader490, votingState=VOTING], PeerInfo [id=downPeer, address=null, votingState=NON_VOTING]] 10:40:15,914 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: applySnapshot called 10:40:15,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower491, chunkIndex=1, success=true] 10:40:15,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: SnapshotComplete received 10:40:15,914 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower491, chunkIndex=1, success=true] 10:40:15,914 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Snapshot successfully installed on follower follower491 (last chunk 1) - matchIndex set to 4, nextIndex set to 5 10:40:15,958 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart ending 10:40:15,958 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower491-collector493#1102720775] 10:40:15,969 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower491] 10:40:15,970 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader490-collector494#292433544] 10:40:15,970 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader490] 10:40:15,970 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower492-collector495#1143502917] 10:40:15,970 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower492] 10:40:15,971 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader490-collector496#-919834144] 10:40:15,971 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader490] [INFO] [03/13/2024 10:40:15.972] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 10:40:15,974 AM [test-akka.actor.default-dispatcher-12] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/13/2024 10:40:15.974] [test-akka.actor.default-dispatcher-18] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.252:25520) [INFO] [03/13/2024 10:40:15.975] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Exiting completed [INFO] [03/13/2024 10:40:15.975] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Shutting down... [INFO] [03/13/2024 10:40:15.975] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.252:25520] - Successfully shut down 10:40:15,977 AM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Exiting completed 10:40:15,977 AM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Shutting down... 10:40:15,977 AM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.252:25520] - Successfully shut down 10:40:15,977 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [03/13/2024 10:40:15.977] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.252:25520/system/remoting-terminator] Shutting down remote daemon. 10:40:15,977 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/13/2024 10:40:15.977] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.252:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 10:40:15,981 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [03/13/2024 10:40:15.981] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.252:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [03/13/2024 10:40:15.981] [test-akka.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger