[DEBUG] [04/11/2024 01:13:41.316] [main] [EventStream(akka://test)] logger log1-TestEventListener started 01:13:41,316 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [04/11/2024 01:13:41.317] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [04/11/2024 01:13:41.317] [main] [EventStream(akka://test)] Default Loggers started 01:13:41,338 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.228:25520] with UID [-5393539914541282843] [INFO] [04/11/2024 01:13:41.338] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.228:25520] with UID [-5393539914541282843] 01:13:41,339 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Starting up, Akka version [2.6.21] ... [INFO] [04/11/2024 01:13:41.339] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Starting up, Akka version [2.6.21] ... [INFO] [04/11/2024 01:13:41.342] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [04/11/2024 01:13:41.342] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Started up successfully 01:13:41,343 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Registered cluster JMX MBean [akka:type=Cluster] 01:13:41,343 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Started up successfully 01:13:41,353 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerLeaderStateChanges [INFO] [04/11/2024 01:13:41.344] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [04/11/2024 01:13:41.344] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:13:41,377 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower467 with journal batch size 1000 [WARN] [04/11/2024 01:13:41.378] [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@1676c452 [INFO] [akkaDeadLetter][04/11/2024 01:13:41.378] [test-akka.actor.default-dispatcher-12] [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'. 01:13:41,395 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 01:13:41,395 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 01:13:41,396 AM [test-akka.actor.default-dispatcher-6] [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'. 01:13:41,406 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower467: Set currentTerm=1, votedFor=leader466 01:13:41,406 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower467: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:41,408 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]] 01:13:41,408 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 [WARN] [04/11/2024 01:13:41.475] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader466]: org.opendaylight.controller.cluster.common.actor.Monitor@66cc3a86 [INFO] [akkaDeadLetter][04/11/2024 01:13:41.475] [test-akka.actor.default-dispatcher-6] [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'. 01:13:41,475 AM [test-akka.actor.default-dispatcher-6] [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'. 01:13:41,478 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader466 with journal batch size 1000 01:13:41,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466: Set currentTerm=1, votedFor=leader466 01:13:41,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:41,480 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466: Updated server config: isVoting: true, peers: [PeerInfo [id=follower467, address=akka://test/user/follower467, votingState=NON_VOTING]] 01:13:41,480 AM [test-akka.actor.default-dispatcher-6] [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 01:13:41,945 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:41,945 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.228:25520, Removed) 01:13:41,945 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Follower): Received ElectionTimeout - switching to Candidate 01:13:41,945 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Candidate): Election: Candidate has following voting peers: [] 01:13:41,945 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466: Set currentTerm=2, votedFor=leader466 01:13:41,945 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Candidate): Starting new election term 2 01:13:41,945 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:41,946 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Candidate): Received ElectionTimeout 01:13:41,946 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Leader): Election: Leader has following peers: [follower467] 01:13:41,946 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Leader): Checking sendAppendEntries for follower follower467: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:41,947 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:41,947 AM [test-akka.actor.default-dispatcher-6] [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 01:13:41,947 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower467: Set currentTerm=2, votedFor=null 01:13:41,947 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower467: Last sync leader does not match current leader leader466, need to catch up to -1 01:13:41,947 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower467 updated: matchIndex: -1, nextIndex: 0 01:13:41,947 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader466 (Leader): Checking sendAppendEntries for follower follower467: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/11/2024 01:13:41.948] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower467] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@46f48c3a 01:13:41,948 AM [test-akka.actor.default-dispatcher-5] [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'. [INFO] [akkaDeadLetter][04/11/2024 01:13:41.948] [test-akka.actor.default-dispatcher-5] [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'. 01:13:41,981 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:42,305 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower467: Lagging 0 entries behind leader leader466 and reached -1 (of expected -1) [WARN] [04/11/2024 01:13:42.305] [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@863dcf8 [INFO] [akkaDeadLetter][04/11/2024 01:13:42.305] [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. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:13:42,305 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. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:13:42,333 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/roleChangeNotifier469#-1706736485] 01:13:42,345 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower467-collector470#-620735452] 01:13:42,345 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower467] 01:13:42,345 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader466-collector471#1418392973] 01:13:42,345 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader466] 01:13:42,346 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart starting 01:13:42,349 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower473 with journal batch size 1000 [WARN] [04/11/2024 01:13:42.350] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower473]: org.opendaylight.controller.cluster.common.actor.Monitor@53fac870 [INFO] [akkaDeadLetter][04/11/2024 01:13:42.350] [test-akka.actor.default-dispatcher-6] [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'. 01:13:42,350 AM [test-akka.actor.default-dispatcher-6] [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'. 01:13:42,353 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Set currentTerm=1, votedFor=leader472 01:13:42,353 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:42,353 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Updated server config: isVoting: false, peers: [PeerInfo [id=leader472, address=akka://test/user/leader472, votingState=VOTING]] 01:13:42,353 AM [test-akka.actor.default-dispatcher-11] [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 01:13:42,451 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'. [WARN] [04/11/2024 01:13:42.451] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader472]: org.opendaylight.controller.cluster.common.actor.Monitor@10e62584 [INFO] [akkaDeadLetter][04/11/2024 01:13:42.451] [test-akka.actor.default-dispatcher-6] [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'. 01:13:42,452 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader472 with journal batch size 1000 01:13:42,454 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=1, votedFor=leader472 01:13:42,455 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:42,455 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Updated server config: isVoting: true, peers: [PeerInfo [id=follower473, address=akka://test/user/follower473, votingState=NON_VOTING]] 01:13:42,455 AM [test-akka.actor.default-dispatcher-12] [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 01:13:42,975 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:42,975 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.228:25520, Removed) 01:13:42,975 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower): Received ElectionTimeout - switching to Candidate 01:13:42,975 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Election: Candidate has following voting peers: [] 01:13:42,975 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=2, votedFor=leader472 01:13:42,975 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Starting new election term 2 01:13:42,975 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:42,976 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Received ElectionTimeout 01:13:42,976 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Election: Leader has following peers: [follower473] 01:13:42,977 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 01:13:42,977 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:42,977 AM [test-akka.actor.default-dispatcher-11] [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 01:13:42,977 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Set currentTerm=2, votedFor=null 01:13:42,977 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower473: Last sync leader does not match current leader leader472, need to catch up to -1 01:13:42,977 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower473 updated: matchIndex: -1, nextIndex: 0 01:13:42,977 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/11/2024 01:13:42.978] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower473] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3c448b3b [INFO] [akkaDeadLetter][04/11/2024 01:13:42.978] [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'. 01:13:42,978 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'. 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 0 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from -1 to 0 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 0 data zero 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: zero 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 0 is present for follower follower473 01:13:43,10 AM [test-akka.actor.default-dispatcher-13] [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]]] 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=0 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [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]]] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 1 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Append entry to log zero 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 1 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 1 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from 0 to 1 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Commit index set to 0 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 1 data one 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [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] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 0 (of expected -1) 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: one 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 0 is present for follower follower473 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [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]]] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Setting last applied to 0 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Moving last applied index from -1 to 0 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Applying state for log index 0 data zero 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower473 updated: matchIndex: 0, nextIndex: 1 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: fakeSnapshot purging log to 0 for term 2 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 1 is present for follower follower473 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: applyState called: zero 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [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]]] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [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]]] 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=1 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 2 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Append entry to log one 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 2 01:13:43,11 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Commit index set to 1 01:13:43,11 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [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] 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 1 (of expected -1) 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Setting last applied to 1 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Moving last applied index from 0 to 1 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Applying state for log index 1 data one 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from 1 to 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 2 data two 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: applyState called: one 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: two 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Persisting ApplyJournalEntries with index=0 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 1 is present for follower follower473 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [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]]] 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [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]]] 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 1 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [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] 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 1 (of expected -1) 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: fakeSnapshot purging log to 0 for term 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower473 updated: matchIndex: 1, nextIndex: 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: fakeSnapshot purging log to 1 for term 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Persisting ApplyJournalEntries with index=1 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 2 is present for follower follower473 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [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]]] 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [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]]] 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Append entry to log two 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Commit index set to 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [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] 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 2 (of expected -1) 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Setting last applied to 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Moving last applied index from 1 to 2 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Applying state for log index 2 data two 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendAppendEntries: 2 is present for follower follower473 01:13:43,12 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: applyState called: two 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower473 updated: matchIndex: 2, nextIndex: 3 01:13:43,12 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:13:43,13 AM [test-akka.actor.default-dispatcher-11] [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]]] 01:13:43,13 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Number of entries to be appended = 1 01:13:43,13 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 01:13:43,13 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 01:13:43,13 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Log size is now 2 01:13:43,13 AM [test-akka.actor.default-dispatcher-11] [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] 01:13:43,13 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower473: Lagging 0 entries behind leader leader472 and reached 2 (of expected -1) 01:13:43,13 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: fakeSnapshot purging log to 1 for term 2 01:13:43,13 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Persisting ApplyJournalEntries with index=2 [WARN] [04/11/2024 01:13:43.013] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower473] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7c8ae760 01:13:43,13 AM [test-akka.actor.default-dispatcher-13] [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][04/11/2024 01:13:43.013] [test-akka.actor.default-dispatcher-13] [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'. [WARN] [04/11/2024 01:13:43.073] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader472]: org.opendaylight.controller.cluster.common.actor.Monitor@28806398 01:13:43,73 AM [test-akka.actor.default-dispatcher-12] [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][04/11/2024 01:13:43.073] [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'. 01:13:43,74 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader472 with journal batch size 1000 01:13:43,77 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=1, votedFor=leader472 01:13:43,77 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:43,77 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Updated server config: isVoting: true, peers: [PeerInfo [id=follower473, address=akka://test/user/follower473, votingState=NON_VOTING]] 01:13:43,77 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=2, votedFor=leader472 01:13:43,77 AM [test-akka.actor.default-dispatcher-13] [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 01:13:43,575 AM [test-akka.actor.default-dispatcher-13] [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.228:25520, Removed) 01:13:43,575 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower): Received ElectionTimeout - switching to Candidate 01:13:43,575 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Election: Candidate has following voting peers: [] 01:13:43,575 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Set currentTerm=3, votedFor=leader472 01:13:43,575 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Starting new election term 3 01:13:43,575 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:13:43,577 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate): Received ElectionTimeout 01:13:43,577 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Election: Leader has following peers: [follower473] 01:13:43,577 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 01:13:43,578 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:13:43,582 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:43,582 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:43,582 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 01:13:43,582 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 0 01:13:43,582 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from -1 to 0 01:13:43,582 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 0 data zero-1 01:13:43,582 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: zero-1 01:13:43,582 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:43,582 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=0 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Setting last applied to 1 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Moving last applied index from 0 to 1 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Applying state for log index 1 data one-1 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: applyState called: one-1 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Checking sendAppendEntries for follower follower473: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:43,583 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Persisting ApplyJournalEntries with index=1 01:13:43,583 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:43,694 AM [test-akka.actor.default-dispatcher-6] [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 01:13:43,694 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Set currentTerm=3, votedFor=null 01:13:43,695 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower473: Lagging -3 entries behind leader leader472 and reached 2 (of expected -1) 01:13:43,695 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleAppendEntriesReply: follower follower473 lastIndex 2 is ahead of our lastIndex 1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 01:13:43,695 AM [test-akka.actor.default-dispatcher-13] [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 01:13:43,695 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: lastSequenceNumber prior to capture: -1 01:13:43,698 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: CaptureSnapshotReply received by actor 01:13:43,700 AM [test-akka.actor.default-dispatcher-13] [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]]]] 01:13:43,700 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 01:13:43,700 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): sendInstallSnapshot 01:13:43,700 AM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader472 (Leader): Snapshot 333 bytes, total chunks to send: 1 01:13:43,700 AM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader472 (Leader): Next chunk: total length=333, offset=0, size=333, hashCode=878051978 01:13:43,700 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): next snapshot chunk size for follower follower473: 333 01:13:43,700 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): InstallSnapshot sent to follower Vector(user, follower473), Chunk: 1/1 01:13:43,701 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: Snapshot success - sequence number: -1 01:13:43,701 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: SnapshotComplete received 01:13:43,701 AM [test-akka.actor.default-dispatcher-6] [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]]]] 01:13:43,701 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower473: Lagging -1 entries behind leader leader472 and reached 2 (of expected -1) 01:13:43,701 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:13:43,701 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): Snapshot installed from leader: leader472 01:13:43,702 AM [test-akka.actor.default-dispatcher-6] [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]]]] 01:13:43,702 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 01:13:43,703 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Snapshot success - sequence number: -1 01:13:43,703 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Moving last applied index from 2 to 1 01:13:43,703 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: Set currentTerm=3, votedFor=null 01:13:43,703 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]] 01:13:43,703 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: applySnapshot called 01:13:43,703 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower473, chunkIndex=1, success=true] 01:13:43,703 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower473: SnapshotComplete received 01:13:43,703 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower473, chunkIndex=1, success=true] 01:13:43,703 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader472 (Leader): Snapshot successfully installed on follower follower473 (last chunk 1) - matchIndex set to 1, nextIndex set to 2 01:13:43,703 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader472: fakeSnapshot purging log to 0 for term 3 01:13:43,734 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithLessLeaderLogEntriesAfterNonPersistentLeaderRestart ending 01:13:43,735 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower473-collector475#-1511902432] 01:13:43,746 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower473] 01:13:43,746 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader472-collector476#-852407061] 01:13:43,746 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader472] 01:13:43,747 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader472-collector477#2141453902] 01:13:43,747 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader472] 01:13:43,748 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart starting [WARN] [04/11/2024 01:13:43.750] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower479]: org.opendaylight.controller.cluster.common.actor.Monitor@55219a14 01:13:43,751 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower479 with journal batch size 1000 [INFO] [akkaDeadLetter][04/11/2024 01:13:43.751] [test-akka.actor.default-dispatcher-12] [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'. 01:13:43,751 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'. 01:13:43,753 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Set currentTerm=1, votedFor=leader478 01:13:43,753 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:43,753 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Updated server config: isVoting: false, peers: [PeerInfo [id=leader478, address=akka://test/user/leader478, votingState=VOTING]] 01:13:43,753 AM [test-akka.actor.default-dispatcher-6] [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] [04/11/2024 01:13:43.853] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader478]: org.opendaylight.controller.cluster.common.actor.Monitor@13340d43 01:13:43,855 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader478 with journal batch size 1000 01:13:43,859 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=1, votedFor=leader478 01:13:43,859 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:43,859 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]] 01:13:43,859 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 01:13:44,354 AM [test-akka.actor.default-dispatcher-13] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:44,354 AM [test-akka.actor.default-dispatcher-13] [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.228:25520, Removed) 01:13:44,354 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower): Received ElectionTimeout - switching to Candidate 01:13:44,354 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Election: Candidate has following voting peers: [] 01:13:44,354 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=2, votedFor=leader478 01:13:44,355 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Starting new election term 2 01:13:44,355 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:44,356 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Received ElectionTimeout 01:13:44,356 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Election: Leader has following peers: [follower479] 01:13:44,356 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:44,356 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:44,356 AM [test-akka.actor.default-dispatcher-11] [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 01:13:44,356 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Set currentTerm=2, votedFor=null 01:13:44,356 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower479: Last sync leader does not match current leader leader478, need to catch up to -1 01:13:44,356 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: -1, nextIndex: 0 01:13:44,356 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/11/2024 01:13:44.357] [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@33ddc98a 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Setting last applied to 0 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Moving last applied index from -1 to 0 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Applying state for log index 0 data zero 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: applyState called: zero 01:13:44,359 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 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 0 is present for follower follower479 01:13:44,359 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]]] 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persisting ApplyJournalEntries with index=0 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:44,359 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Setting last applied to 1 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Moving last applied index from 0 to 1 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Applying state for log index 1 data one 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: applyState called: one 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 1 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:44,360 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 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 0 is present for follower follower479 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Append entry to log zero 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:44,360 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]]] 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persisting ApplyJournalEntries with index=1 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 1 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Commit index set to 0 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Setting last applied to 2 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Moving last applied index from 1 to 2 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Applying state for log index 2 data two 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [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] 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 0 (of expected -1) 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: applyState called: two 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Setting last applied to 0 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 0 is present for follower follower479 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from -1 to 0 01:13:44,360 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=2, 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], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 01:13:44,360 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Applying state for log index 0 data zero 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: 0, nextIndex: 1 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: fakeSnapshot purging log to 0 for term 2 01:13:44,360 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 01:13:44,360 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 1 is present for follower follower479 01:13:44,360 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]]] 01:13:44,360 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persisting ApplyJournalEntries with index=2 01:13:44,360 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:44,361 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applyState called: zero 01:13:44,361 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:13:44,361 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 2 01:13:44,361 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:13:44,361 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 01:13:44,361 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Append entry to log one 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Commit index set to 1 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [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] 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 1 (of expected -1) 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Setting last applied to 1 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from 0 to 1 01:13:44,362 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: 1, nextIndex: 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Applying state for log index 1 data one 01:13:44,362 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: fakeSnapshot purging log to 1 for term 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:13:44,362 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 2 is present for follower follower479 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applyState called: one 01:13:44,362 AM [test-akka.actor.default-dispatcher-13] [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]]] 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleAppendEntries: AppendEntries [leaderId=leader478, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, 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], SimpleReplicatedLogEntry [index=2, term=2, payload=two]]] 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 3 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: 1, entries to be added from: 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Append entry to log two 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 3 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Commit index set to 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [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] 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 2 (of expected -1) 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Setting last applied to 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from 1 to 2 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Applying state for log index 2 data two 01:13:44,362 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: 2, nextIndex: 3 01:13:44,362 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 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applyState called: two 01:13:44,362 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 2 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: 2, entries to be added from: 2 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 3 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [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] 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 2 (of expected -1) 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: fakeSnapshot purging log to 0 for term 2 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Persisting ApplyJournalEntries with index=0 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Persisting ApplyJournalEntries with index=1 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 1 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 2 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [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] 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 2 (of expected -1) 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: fakeSnapshot purging log to 1 for term 2 01:13:44,363 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Persisting ApplyJournalEntries with index=2 [WARN] [04/11/2024 01:13:44.364] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower479] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3d34c43a [WARN] [04/11/2024 01:13:44.424] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader478]: org.opendaylight.controller.cluster.common.actor.Monitor@765d4361 01:13:44,425 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader478 with journal batch size 1000 01:13:44,427 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=1, votedFor=leader478 01:13:44,427 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:44,427 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Updated server config: isVoting: true, peers: [PeerInfo [id=follower479, address=akka://test/user/follower479, votingState=NON_VOTING]] 01:13:44,427 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=2, votedFor=leader478 01:13:44,428 AM [test-akka.actor.default-dispatcher-5] [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 01:13:44,875 AM [test-akka.actor.default-dispatcher-5] [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.228:25520, Removed) 01:13:44,875 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower): Received ElectionTimeout - switching to Candidate 01:13:44,875 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Election: Candidate has following voting peers: [] 01:13:44,875 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Set currentTerm=3, votedFor=leader478 01:13:44,876 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Starting new election term 3 01:13:44,876 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:13:44,877 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate): Received ElectionTimeout 01:13:44,878 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Election: Leader has following peers: [follower479] 01:13:44,878 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:44,878 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:13:44,878 AM [test-akka.actor.default-dispatcher-5] [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 01:13:44,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Set currentTerm=3, votedFor=null 01:13:44,878 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower479: Lagging -3 entries behind leader leader478 and reached 2 (of expected -1) 01:13:44,878 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply: follower follower479 lastIndex 2 is ahead of our lastIndex -1 (snapshotIndex -1, snapshotTerm -1) - forcing install snaphot 01:13:44,878 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Capturing Snapshot : lastLogEntry is null. Using snapshot values lastAppliedIndex -1 and lastAppliedTerm -1 instead. 01:13:44,878 AM [test-akka.actor.default-dispatcher-12] [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 01:13:44,878 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: lastSequenceNumber prior to capture: -1 01:13:44,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: CaptureSnapshotReply received by actor 01:13:44,879 AM [test-akka.actor.default-dispatcher-12] [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]]]] 01:13:44,879 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 01:13:44,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendInstallSnapshot 01:13:44,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader478 (Leader): Snapshot 171 bytes, total chunks to send: 1 01:13:44,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader478 (Leader): Next chunk: total length=171, offset=0, size=171, hashCode=-2041399403 01:13:44,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): next snapshot chunk size for follower follower479: 171 01:13:44,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): InstallSnapshot sent to follower Vector(user, follower479), Chunk: 1/1 01:13:44,880 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Snapshot success - sequence number: -1 01:13:44,880 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: SnapshotComplete received 01:13:44,880 AM [test-akka.actor.default-dispatcher-6] [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]]]] 01:13:44,880 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower479: Lagging -3 entries behind leader leader478 and reached 2 (of expected -1) 01:13:44,880 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:13:44,880 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Snapshot installed from leader: leader478 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [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]]]] 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Snapshot success - sequence number: -1 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from 2 to -1 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Set currentTerm=3, votedFor=null 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Updated server config: isVoting: false, peers: [PeerInfo [id=leader478, address=akka://test/user/leader478, votingState=VOTING]] 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applySnapshot called 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower479, chunkIndex=1, success=true] 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: SnapshotComplete received 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower479, chunkIndex=1, success=true] 01:13:44,881 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Snapshot successfully installed on follower follower479 (last chunk 1) - matchIndex set to -1, nextIndex set to 0 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Setting last applied to 0 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Moving last applied index from -1 to 0 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Applying state for log index 0 data zero-1 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: applyState called: zero-1 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): sendAppendEntries: 0 is present for follower follower479 01:13:44,884 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:13:44,885 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: Persisting ApplyJournalEntries with index=0 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Number of entries to be appended = 1 01:13:44,885 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Append entry to log zero-1 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Log size is now 1 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Commit index set to 0 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [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] 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower479: Lagging 0 entries behind leader leader478 and reached 0 (of expected -1) 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479 (Follower): Setting last applied to 0 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Moving last applied index from -1 to 0 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Applying state for log index 0 data zero-1 01:13:44,885 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower479 updated: matchIndex: 0, nextIndex: 1 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: applyState called: zero-1 01:13:44,885 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader478 (Leader): Checking sendAppendEntries for follower follower479: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:44,885 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower479: Persisting ApplyJournalEntries with index=0 01:13:44,934 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithEmptyLeaderLogAfterNonPersistentLeaderRestart ending 01:13:44,934 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower479-collector481#-1410843606] 01:13:44,946 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower479] 01:13:44,946 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader478-collector482#-1316400565] 01:13:44,947 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader478] 01:13:44,947 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader478-collector483#-571766266] 01:13:44,947 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader478] 01:13:44,949 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart starting [WARN] [04/11/2024 01:13:44.952] [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@62c451a4 01:13:44,953 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower485 with journal batch size 1000 01:13:44,955 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader484 with journal batch size 1000 [WARN] [04/11/2024 01:13:44.955] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader484]: org.opendaylight.controller.cluster.common.actor.Monitor@268a5297 01:13:44,956 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Set currentTerm=1, votedFor=leader484 01:13:44,956 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:44,956 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Updated server config: isVoting: false, peers: [PeerInfo [id=leader484, address=akka://test/user/leader484, votingState=VOTING]] 01:13:44,956 AM [test-akka.actor.default-dispatcher-11] [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 01:13:44,957 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=1, votedFor=leader484 01:13:44,957 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:44,957 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Updated server config: isVoting: true, peers: [PeerInfo [id=follower485, address=akka://test/user/follower485, votingState=NON_VOTING]] 01:13:44,958 AM [test-akka.actor.default-dispatcher-5] [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 01:13:45,435 AM [test-akka.actor.default-dispatcher-13] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:45,435 AM [test-akka.actor.default-dispatcher-13] [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.228:25520, Removed) 01:13:45,435 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower): Received ElectionTimeout - switching to Candidate 01:13:45,435 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Election: Candidate has following voting peers: [] 01:13:45,435 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=2, votedFor=leader484 01:13:45,436 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Starting new election term 2 01:13:45,436 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:45,437 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Received ElectionTimeout 01:13:45,438 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Election: Leader has following peers: [follower485] 01:13:45,438 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 01:13:45,438 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:45,438 AM [test-akka.actor.default-dispatcher-13] [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 01:13:45,438 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Set currentTerm=2, votedFor=null 01:13:45,438 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower485: Last sync leader does not match current leader leader484, need to catch up to -1 01:13:45,438 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower485 updated: matchIndex: -1, nextIndex: 0 01:13:45,438 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/11/2024 01:13:45.439] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower485] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@25435e2c 01:13:45,463 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:45,463 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:45,463 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:13:45,463 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 0 01:13:45,463 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from -1 to 0 01:13:45,463 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 0 data zero 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: zero 01:13:45,464 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 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendAppendEntries: 0 is present for follower follower485 01:13:45,464 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]]] 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=0 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Number of entries to be appended = 1 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Append entry to log zero 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Log size is now 1 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Commit index set to 0 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 1 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from 0 to 1 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [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] 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 1 data one 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower485: Lagging 0 entries behind leader leader484 and reached 0 (of expected -1) 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Setting last applied to 0 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Moving last applied index from -1 to 0 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Applying state for log index 0 data zero 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: one 01:13:45,464 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 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendAppendEntries: 0 is present for follower follower485 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: applyState called: zero 01:13:45,464 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]]] 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Persisting ApplyJournalEntries with index=0 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower485 updated: matchIndex: 0, nextIndex: 1 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: fakeSnapshot purging log to 0 for term 2 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [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]]] 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Number of entries to be appended = 2 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:13:45,464 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 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 01:13:45,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendAppendEntries: 1 is present for follower follower485 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Append entry to log one 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:45,464 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]]] 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Log size is now 2 01:13:45,464 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Commit index set to 1 01:13:45,465 AM [test-akka.actor.default-dispatcher-5] [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] 01:13:45,465 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower485: Lagging 0 entries behind leader leader484 and reached 1 (of expected -1) 01:13:45,465 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:13:45,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=1 01:13:45,465 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Setting last applied to 1 01:13:45,465 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Moving last applied index from 0 to 1 01:13:45,465 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Applying state for log index 1 data one 01:13:45,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:45,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower485 updated: matchIndex: 1, nextIndex: 2 01:13:45,465 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: applyState called: one 01:13:45,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:13:45,465 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]]] 01:13:45,465 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Number of entries to be appended = 1 01:13:45,465 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:13:45,465 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:13:45,465 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Log size is now 2 01:13:45,465 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] 01:13:45,465 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower485: Lagging 0 entries behind leader leader484 and reached 1 (of expected -1) 01:13:45,465 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: fakeSnapshot purging log to 0 for term 2 01:13:45,465 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Persisting ApplyJournalEntries with index=1 [WARN] [04/11/2024 01:13:45.465] [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@3a53816c [WARN] [04/11/2024 01:13:45.529] [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@1689d35a 01:13:45,529 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader484 with journal batch size 1000 01:13:45,533 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=1, votedFor=leader484 01:13:45,533 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:45,533 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Updated server config: isVoting: true, peers: [PeerInfo [id=follower485, address=akka://test/user/follower485, votingState=NON_VOTING]] 01:13:45,533 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=2, votedFor=leader484 01:13:45,534 AM [test-akka.actor.default-dispatcher-12] [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 01:13:45,984 AM [test-akka.actor.default-dispatcher-16] [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.228:25520, Removed) 01:13:45,984 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower): Received ElectionTimeout - switching to Candidate 01:13:45,985 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Election: Candidate has following voting peers: [] 01:13:45,985 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Set currentTerm=3, votedFor=leader484 01:13:45,985 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Starting new election term 3 01:13:45,985 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:13:45,987 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate): Received ElectionTimeout 01:13:45,987 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Election: Leader has following peers: [follower485] 01:13:45,987 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:45,988 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:13:45,989 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:45,989 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:45,989 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 01:13:45,989 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 0 01:13:45,989 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from -1 to 0 01:13:45,989 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 0 data zero-1 01:13:45,989 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: zero-1 01:13:45,989 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=0 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 1 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from 0 to 1 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 1 data one-1 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: one-1 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=1 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Setting last applied to 2 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Moving last applied index from 1 to 2 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Applying state for log index 2 data two-1 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: applyState called: two-1 01:13:45,990 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:45,991 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Persisting ApplyJournalEntries with index=2 01:13:45,991 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:13:46,105 AM [test-akka.actor.default-dispatcher-16] [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 01:13:46,105 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Set currentTerm=3, votedFor=null 01:13:46,105 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower485: Lagging -2 entries behind leader leader484 and reached 1 (of expected -1) 01:13:46,105 AM [test-akka.actor.default-dispatcher-17] [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 01:13:46,105 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Checking sendAppendEntries for follower follower485: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:46,105 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendAppendEntries: 0 is present for follower follower485 01:13:46,105 AM [test-akka.actor.default-dispatcher-17] [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]]] 01:13:46,106 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:13:46,106 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Number of entries to be appended = 3 01:13:46,106 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: 2 01:13:46,106 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:46,106 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Removing entries from log starting at 0, commitIndex: 1, lastApplied: 1 01:13:46,106 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Could not remove entries - sending reply to force snapshot 01:13:46,106 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower485: Lagging 1 entries behind leader leader484 and reached 1 (of expected -1) 01:13:46,106 AM [test-akka.actor.default-dispatcher-12] [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 01:13:46,106 AM [test-akka.actor.default-dispatcher-12] [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 01:13:46,106 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: lastSequenceNumber prior to capture: -1 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: CaptureSnapshotReply received by actor 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [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]]]] 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): sendInstallSnapshot 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader484 (Leader): Snapshot 351 bytes, total chunks to send: 1 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader484 (Leader): Next chunk: total length=351, offset=0, size=351, hashCode=236499276 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): next snapshot chunk size for follower follower485: 351 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): InstallSnapshot sent to follower Vector(user, follower485), Chunk: 1/1 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: Snapshot success - sequence number: -1 01:13:46,107 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: SnapshotComplete received 01:13:46,107 AM [test-akka.actor.default-dispatcher-16] [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]]]] 01:13:46,107 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower485: Lagging 1 entries behind leader leader484 and reached 1 (of expected -1) 01:13:46,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:13:46,108 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): Snapshot installed from leader: leader484 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [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]]]] 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Snapshot success - sequence number: -1 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Moving last applied index from 1 to 2 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Set currentTerm=3, votedFor=null 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: Updated server config: isVoting: false, peers: [PeerInfo [id=leader484, address=akka://test/user/leader484, votingState=VOTING]] 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: applySnapshot called 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower485, chunkIndex=1, success=true] 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower485: SnapshotComplete received 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower485, chunkIndex=1, success=true] 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader484 (Leader): Snapshot successfully installed on follower follower485 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 01:13:46,109 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader484: fakeSnapshot purging log to 1 for term 3 01:13:46,140 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithOneMoreLeaderLogEntryAfterNonPersistentLeaderRestart ending 01:13:46,140 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower485-collector487#1120223630] 01:13:46,151 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower485] 01:13:46,152 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader484-collector488#-101244872] 01:13:46,152 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader484] 01:13:46,152 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader484-collector489#1446571635] 01:13:46,153 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader484] 01:13:46,154 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart starting [WARN] [04/11/2024 01:13:46.157] [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@47d4028e 01:13:46,158 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower491 with journal batch size 1000 01:13:46,161 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Set currentTerm=1, votedFor=leader490 01:13:46,161 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:46,161 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Updated server config: isVoting: false, peers: [PeerInfo [id=leader490, address=akka://test/user/leader490, votingState=VOTING]] 01:13:46,161 AM [test-akka.actor.default-dispatcher-17] [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 [WARN] [04/11/2024 01:13:46.162] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader490]: org.opendaylight.controller.cluster.common.actor.Monitor@17ef2f9e 01:13:46,163 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader490 with journal batch size 1000 01:13:46,164 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Set currentTerm=1, votedFor=leader490 01:13:46,165 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Received ReplicatedLogEntry for recovery: index: 0, size: 143 01:13:46,165 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Updated server config: isVoting: true, peers: [PeerInfo [id=follower491, address=akka://test/user/follower491, votingState=NON_VOTING]] 01:13:46,165 AM [test-akka.actor.default-dispatcher-11] [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 01:13:46,665 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:46,665 AM [test-akka.actor.default-dispatcher-11] [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.228:25520, Removed) 01:13:46,665 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower): Received ElectionTimeout - switching to Candidate 01:13:46,665 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Election: Candidate has following voting peers: [] 01:13:46,665 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Set currentTerm=2, votedFor=leader490 01:13:46,665 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Starting new election term 2 01:13:46,665 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:46,666 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Received ElectionTimeout 01:13:46,667 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Election: Leader has following peers: [follower491] 01:13:46,667 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:46,667 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:13:46,667 AM [test-akka.actor.default-dispatcher-11] [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 01:13:46,667 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Set currentTerm=2, votedFor=null 01:13:46,667 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower491: Last sync leader does not match current leader leader490, need to catch up to -1 01:13:46,667 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower491 updated: matchIndex: -1, nextIndex: 0 01:13:46,667 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/11/2024 01:13:46.668] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower491] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@75d22a1 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 0 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from -1 to 0 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 0 data zero 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: zero 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower491 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=0 01:13:46,716 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:46,716 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 1 01:13:46,716 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:46,716 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Append entry to log zero 01:13:46,716 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:46,716 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: persist complete SimpleReplicatedLogEntry [index=0, term=2, payload=zero] 01:13:46,716 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:13:46,716 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 1 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 1 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Commit index set to 0 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 0 to 1 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 1 data one 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [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] 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: one 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 0 (of expected -1) 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Setting last applied to 0 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Moving last applied index from -1 to 0 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower491 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Applying state for log index 0 data zero 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower491 updated: matchIndex: 0, nextIndex: 1 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: fakeSnapshot purging log to 0 for term 2 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: applyState called: zero 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower491 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=1 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 2 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=2, payload=zero] is present: existingEntryTerm: 2 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: 0, entries to be added from: 1 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Append entry to log one 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=one] 01:13:46,717 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 2 01:13:46,717 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Commit index set to 1 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [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] 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 1 (of expected -1) 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 1 to 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 2 data two 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Setting last applied to 1 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Moving last applied index from 0 to 1 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Applying state for log index 1 data one 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: two 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: applyState called: one 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower491 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Persisting ApplyJournalEntries with index=0 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower491 updated: matchIndex: 1, nextIndex: 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: fakeSnapshot purging log to 1 for term 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 2 is present for follower follower491 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 1 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [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] 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 1 (of expected -1) 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: fakeSnapshot purging log to 0 for term 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=2 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Persisting ApplyJournalEntries with index=1 01:13:46,718 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 2 is present for follower follower491 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=2, payload=one] is present: existingEntryTerm: 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Append entry to log two 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two] 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Commit index set to 2 01:13:46,718 AM [test-akka.actor.default-dispatcher-6] [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] 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 2 (of expected -1) 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Setting last applied to 2 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Moving last applied index from 1 to 2 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Applying state for log index 2 data two 01:13:46,719 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower491 updated: matchIndex: 2, nextIndex: 3 01:13:46,719 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: applyState called: two 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 1 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two] is present: existingEntryTerm: 2 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): After cleanup, lastIndex: 2, entries to be added from: 1 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Log size is now 2 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [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] 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 2 (of expected -1) 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: fakeSnapshot purging log to 1 for term 2 01:13:46,719 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Persisting ApplyJournalEntries with index=2 [WARN] [04/11/2024 01:13:46.719] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower491] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7cc221ce 01:13:46,905 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower491: Lagging 0 entries behind leader leader490 and reached 2 (of expected -1) [WARN] [04/11/2024 01:13:46.932] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower492]: org.opendaylight.controller.cluster.common.actor.Monitor@4698eb0a 01:13:46,933 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower492 with journal batch size 1000 01:13:46,937 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Received ReplicatedLogEntry for recovery: index: 0, size: 174 01:13:46,937 AM [test-akka.actor.default-dispatcher-12] [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]] 01:13:46,937 AM [test-akka.actor.default-dispatcher-12] [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] [04/11/2024 01:13:46.939] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader490]: org.opendaylight.controller.cluster.common.actor.Monitor@582993c2 01:13:46,939 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader490 with journal batch size 1000 01:13:46,941 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Set currentTerm=2, votedFor=leader490 01:13:46,941 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Received ReplicatedLogEntry for recovery: index: 0, size: 174 01:13:46,941 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]] 01:13:46,941 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 01:13:47,414 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.228:25520, Removed) 01:13:47,414 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower): Received ElectionTimeout - switching to Candidate 01:13:47,414 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Election: Candidate has following voting peers: [follower492] 01:13:47,414 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Set currentTerm=3, votedFor=leader490 01:13:47,415 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): Starting new election term 3 01:13:47,415 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 01:13:47,415 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Follower) :- Switching from behavior Follower to Candidate, election term: 3 01:13:47,415 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:47,415 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Cluster state: [] 01:13:47,415 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Candidate in requestVote:RequestVote [term=3, candidateId=leader490, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:47,415 AM [test-akka.actor.default-dispatcher-17] [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 01:13:47,415 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Set currentTerm=3, votedFor=null 01:13:47,415 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): In requestVote: RequestVote [term=3, candidateId=leader490, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 3, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:47,415 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Set currentTerm=3, votedFor=leader490 01:13:47,415 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): requestVote returning: RequestVoteReply [term=3, voteGranted=true] 01:13:47,416 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): RaftRPC message received RequestVoteReply [term=3, voteGranted=true], my term is 3 01:13:47,416 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate): handleRequestVoteReply: RequestVoteReply [term=3, voteGranted=true], current voteCount: 1 01:13:47,416 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Election: Leader has following peers: [follower492, follower491, downPeer] 01:13:47,416 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:47,417 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 01:13:47,417 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Candidate) :- Switching from behavior Candidate to Leader, election term: 3 01:13:47,417 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower492: Last sync leader does not match current leader leader490, need to catch up to -1 01:13:47,417 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: -1, nextIndex: 0 01:13:47,417 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 [WARN] [04/11/2024 01:13:47.417] [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@4b56bb89 01:13:47,463 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:47,463 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=zero-1}, logIndex: 0, isSendImmediate: true 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower492 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:47,464 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]]] 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:47,464 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:47,464 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:47,464 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log zero-1 01:13:47,464 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=one-1}, logIndex: 1, isSendImmediate: true 01:13:47,464 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower492 01:13:47,464 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 1 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:47,464 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] 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:47,464 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached -1 (of expected -1) 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 0, nextIndex: 1 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 0 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from -1 to 0 01:13:47,464 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 0 data zero-1 01:13:47,465 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: zero-1 [WARN] [04/11/2024 01:13:47.465] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower492] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4aa3c324 01:13:47,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:47,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower492 01:13:47,465 AM [test-akka.actor.default-dispatcher-12] [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]]] 01:13:47,465 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=0 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log one-1 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=two-1}, logIndex: 2, isSendImmediate: true 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 2 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 0 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [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] 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 0 (of expected -1) 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower492 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 0 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from -1 to 0 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 0 data zero-1 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 1, nextIndex: 2 01:13:47,465 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: zero-1 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 1 01:13:47,465 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 0 to 1 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 1 data one-1 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=0 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: one-1 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 2 is present for follower follower492 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [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]]] 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:13:47,466 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]]] 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=1 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log two-1 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=2, term=3, payload=two-1] 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=three-1}, logIndex: 3, isSendImmediate: true 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 3 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 1 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:13:47,466 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] 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 2 is present for follower follower492 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 1 (of expected -1) 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 1 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from 0 to 1 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 1 data one-1 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 2, nextIndex: 3 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: one-1 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 2 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 1 to 2 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 2 data two-1 01:13:47,466 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: two-1 01:13:47,466 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=1 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 3 is present for follower follower492 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [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]]] 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [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]]] 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log three-1 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=3, term=3, payload=three-1] 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 4 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 2 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=2 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [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] 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 2 (of expected -1) 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 2 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 3, nextIndex: 4 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from 1 to 2 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 2 data two-1 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 3 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 2 to 3 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 3 data three-1 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: two-1 01:13:47,467 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=2 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: three-1 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:13:47,467 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=3 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 3 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 3 (of expected -1) 01:13:47,467 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 3 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from 2 to 3 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 3 data three-1 01:13:47,468 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persist data SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:13:47,468 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: three-1 01:13:47,468 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Replicate message: identifier: MockIdentifier{value=four-1}, logIndex: 4, isSendImmediate: true 01:13:47,468 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:13:47,468 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 4 is present for follower follower492 01:13:47,468 AM [test-akka.actor.default-dispatcher-6] [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]]] 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=3 01:13:47,468 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [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]]] 01:13:47,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Number of entries to be appended = 1 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Append entry to log four-1 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: persist complete SimpleReplicatedLogEntry [index=4, term=3, payload=four-1] 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Log size is now 5 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [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] 01:13:47,468 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 3 (of expected -1) 01:13:47,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower492 updated: matchIndex: 4, nextIndex: 5 01:13:47,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 01:13:47,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Setting last applied to 4 01:13:47,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Moving last applied index from 3 to 4 01:13:47,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Applying state for log index 4 data four-1 01:13:47,468 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: applyState called: four-1 01:13:47,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower492: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:13:47,468 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Persisting ApplyJournalEntries with index=4 01:13:47,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Commit index set to 4 01:13:47,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower492: Lagging 0 entries behind leader leader490 and reached 4 (of expected -1) 01:13:47,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 3, lastIndex(): 4 01:13:47,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492 (Follower): Setting last applied to 4 01:13:47,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Moving last applied index from 3 to 4 01:13:47,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Applying state for log index 4 data four-1 01:13:47,469 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: applyState called: four-1 01:13:47,469 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower492: Persisting ApplyJournalEntries with index=4 01:13:47,535 AM [test-akka.actor.default-dispatcher-12] [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 01:13:47,535 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Set currentTerm=3, votedFor=null 01:13:47,535 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower491: Lagging -3 entries behind leader leader490 and reached 2 (of expected -1) 01:13:47,535 AM [test-akka.actor.default-dispatcher-18] [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 01:13:47,535 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Checking sendAppendEntries for follower follower491: active: true, followerNextIndex: 1, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:13:47,535 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 1 is present for follower follower491 01:13:47,535 AM [test-akka.actor.default-dispatcher-18] [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]]] 01:13:47,536 AM [test-akka.actor.default-dispatcher-13] [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]]] 01:13:47,536 AM [test-akka.actor.default-dispatcher-13] [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 01:13:47,536 AM [test-akka.actor.default-dispatcher-13] [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] 01:13:47,536 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower491: Lagging 2 entries behind leader leader490 and reached 2 (of expected -1) 01:13:47,536 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 01:13:47,536 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 01:13:47,536 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 01:13:47,536 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendAppendEntries: 0 is present for follower follower491 01:13:47,536 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]]] 01:13:47,537 AM [test-akka.actor.default-dispatcher-16] [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]]] 01:13:47,537 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Number of entries to be appended = 5 01:13:47,537 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=0, term=3, payload=zero-1] is present: existingEntryTerm: -1 01:13:47,537 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=3, payload=one-1] is present: existingEntryTerm: 2 01:13:47,537 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:47,537 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Removing entries from log starting at 1, commitIndex: 2, lastApplied: 2 01:13:47,537 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Could not remove entries - sending reply to force snapshot 01:13:47,537 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower491: Lagging 2 entries behind leader leader490 and reached 2 (of expected -1) 01:13:47,537 AM [test-akka.actor.default-dispatcher-18] [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 01:13:47,537 AM [test-akka.actor.default-dispatcher-18] [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 01:13:47,537 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: lastSequenceNumber prior to capture: -1 01:13:47,537 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: CaptureSnapshotReply received by actor 01:13:47,538 AM [test-akka.actor.default-dispatcher-18] [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]]]] 01:13:47,538 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Removed in-memory snapshotted entries, adjusted snaphsotIndex: -1 and term: -1 01:13:47,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): sendInstallSnapshot 01:13:47,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader490 (Leader): Snapshot 390 bytes, total chunks to send: 1 01:13:47,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] LeaderInstallSnapshotState - leader490 (Leader): Next chunk: total length=390, offset=0, size=390, hashCode=-929342248 01:13:47,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): next snapshot chunk size for follower follower491: 390 01:13:47,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): InstallSnapshot sent to follower Vector(user, follower491), Chunk: 1/1 01:13:47,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: Snapshot success - sequence number: -1 01:13:47,538 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]]]] 01:13:47,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490: SnapshotComplete received 01:13:47,538 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower491: Lagging 2 entries behind leader leader490 and reached 2 (of expected -1) 01:13:47,538 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:13:47,538 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): Snapshot installed from leader: leader490 01:13:47,539 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]]]] 01:13:47,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: -1 01:13:47,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Snapshot success - sequence number: -1 01:13:47,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Moving last applied index from 2 to 4 01:13:47,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: Set currentTerm=3, votedFor=null 01:13:47,540 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]] 01:13:47,540 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: applySnapshot called 01:13:47,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=3, followerId=follower491, chunkIndex=1, success=true] 01:13:47,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower491: SnapshotComplete received 01:13:47,540 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=3, followerId=follower491, chunkIndex=1, success=true] 01:13:47,540 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader490 (Leader): Snapshot successfully installed on follower follower491 (last chunk 1) - matchIndex set to 4, nextIndex set to 5 01:13:47,564 AM [main] [INFO] NonVotingFollowerIntegrationTest - testFollowerResyncWithMoreLeaderLogEntriesAndDownPeerAfterNonPersistentLeaderRestart ending 01:13:47,564 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower491-collector493#19113517] 01:13:47,575 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower491] 01:13:47,576 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader490-collector494#636885035] 01:13:47,576 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader490] 01:13:47,576 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower492-collector495#-1649603797] 01:13:47,576 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower492] 01:13:47,577 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader490-collector496#-653708902] 01:13:47,577 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader490] [INFO] [04/11/2024 01:13:47.578] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:13:47,579 AM [test-akka.actor.default-dispatcher-16] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [04/11/2024 01:13:47.579] [test-akka.actor.default-dispatcher-16] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.228:25520) [INFO] [04/11/2024 01:13:47.580] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Exiting completed [INFO] [04/11/2024 01:13:47.581] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Shutting down... [INFO] [04/11/2024 01:13:47.581] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.228:25520] - Successfully shut down 01:13:47,582 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Exiting completed 01:13:47,583 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Shutting down... 01:13:47,583 AM [test-akka.actor.default-dispatcher-12] [INFO] Cluster - Cluster Node [akka://test@10.30.171.228:25520] - Successfully shut down [INFO] [04/11/2024 01:13:47.583] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.228:25520/system/remoting-terminator] Shutting down remote daemon. 01:13:47,583 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [04/11/2024 01:13:47.583] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.228:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:13:47,583 AM [test-akka.actor.default-dispatcher-16] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports.