[DEBUG] [03/15/2024 10:19:43.953] [main] [EventStream(akka://test)] logger log1-TestEventListener started 10:19:43,959 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/15/2024 10:19:43.960] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/15/2024 10:19:43.960] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/15/2024 10:19:43.975] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.50:25520] with UID [-7141378931591793893] [INFO] [03/15/2024 10:19:43.976] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Starting up, Akka version [2.6.21] ... 10:19:43,976 AM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.50:25520] with UID [-7141378931591793893] 10:19:43,976 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Starting up, Akka version [2.6.21] ... 10:19:43,989 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Registered cluster JMX MBean [akka:type=Cluster] 10:19:43,989 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Started up successfully 10:19:43,989 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 10:19:43,989 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [03/15/2024 10:19:43.978] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/15/2024 10:19:43.978] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Started up successfully [INFO] [03/15/2024 10:19:43.980] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/15/2024 10:19:43.980] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [03/15/2024 10:19:43.995] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower555]: org.opendaylight.controller.cluster.common.actor.Monitor@fb3fac4 [INFO] [akkaDeadLetter][03/15/2024 10:19:43.996] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower555] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:43,997 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower555] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:43,998 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower555 with journal batch size 1000 10:19:44,1 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:19:44.095] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader554]: org.opendaylight.controller.cluster.common.actor.Monitor@6d1c803c [INFO] [akkaDeadLetter][03/15/2024 10:19:44.095] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader554] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,96 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader554] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,96 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader554 with journal batch size 1000 10:19:44,97 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:19:44,591 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:19:44,591 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:19:44,591 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Received ElectionTimeout - switching to Candidate 10:19:44,591 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Election: Candidate has following voting peers: [follower556, follower555] 10:19:44,591 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=1, votedFor=leader554 10:19:44,591 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Starting new election term 1 10:19:44,591 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Sending RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] to peer follower556 10:19:44,591 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Sending RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] to peer follower555 10:19:44,591 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:19:44,591 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [03/15/2024 10:19:44.591] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] 10:19:44,592 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Cluster state: [] 10:19:44,592 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:19:44,592 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:19:44,592 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=null [INFO] [akkaDeadLetter][03/15/2024 10:19:44.592] [test-akka.actor.default-dispatcher-11] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,592 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): In requestVote: RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:19:44,592 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=leader554 10:19:44,592 AM [test-akka.actor.default-dispatcher-11] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,592 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:19:44,592 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:19:44,593 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:19:44,593 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Election: Leader has following peers: [follower556, follower555] 10:19:44,593 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:44,593 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:44,593 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:19:44,593 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower555: Last sync leader does not match current leader leader554, need to catch up to -1 [WARN] [03/15/2024 10:19:44.593] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6bdfce01 [INFO] [akkaDeadLetter][03/15/2024 10:19:44.593] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower555] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,593 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,594 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: -1, nextIndex: 0 10:19:44,594 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:44,594 AM [test-akka.actor.default-dispatcher-13] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [5] 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] [03/15/2024 10:19:44.594] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][03/15/2024 10:19:44.594] [test-akka.actor.default-dispatcher-13] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,601 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:44,601 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:44,601 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:19:44,601 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:44,601 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:44,601 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 0 is present for follower follower555 10:19:44,602 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:19:44,602 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:19:44,602 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 10:19:44,602 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:19:44,602 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log zero 10:19:44,602 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/15/2024 10:19:44.602] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:44,602 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 1 [INFO] [akkaDeadLetter][03/15/2024 10:19:44.602] [test-akka.actor.default-dispatcher-13] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,602 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:44,602 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached -1 (of expected -1) 10:19:44,602 AM [test-akka.actor.default-dispatcher-13] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,602 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 0, nextIndex: 1 10:19:44,602 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:44,603 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:44,603 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:19:44,603 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 0 10:19:44,603 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from -1 to 0 10:19:44,603 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 0 data zero 10:19:44,603 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:44,603 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: zero [WARN] [03/15/2024 10:19:44.603] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@275403b8 10:19:44,604 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=0 [INFO] [akkaDeadLetter][03/15/2024 10:19:44.604] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower555] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,604 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,652 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:44,652 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:44,652 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:19:44,652 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:44,652 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:44,652 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 1 is present for follower follower555 10:19:44,652 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [03/15/2024 10:19:44.652] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:44,652 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:19:44,652 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 [INFO] [akkaDeadLetter][03/15/2024 10:19:44.652] [test-akka.actor.default-dispatcher-17] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,652 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:19:44,652 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log one 10:19:44,652 AM [test-akka.actor.default-dispatcher-5] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,652 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:44,653 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 2 10:19:44,653 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 0 10:19:44,653 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:44,653 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 0 (of expected -1) 10:19:44,653 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:19:44,653 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 0 10:19:44,653 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from -1 to 0 10:19:44,653 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 0 data zero 10:19:44,653 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: zero 10:19:44,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 1, nextIndex: 2 10:19:44,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:44,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:44,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:19:44,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 1 10:19:44,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 0 to 1 10:19:44,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 1 data one 10:19:44,653 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: one 10:19:44,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=1 10:19:44,654 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:44,654 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=0 10:19:44,703 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:44,703 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:44,703 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:19:44,703 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:44,703 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:44,703 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 2 is present for follower follower555 10:19:44,703 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] [WARN] [03/15/2024 10:19:44.703] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:44,703 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 [INFO] [akkaDeadLetter][03/15/2024 10:19:44.704] [test-akka.actor.default-dispatcher-13] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 2 is present for follower follower555 10:19:44,704 AM [test-akka.actor.default-dispatcher-13] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log two 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [03/15/2024 10:19:44.704] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 3 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 1 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 1 (of expected -1) 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 1 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 0 to 1 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 1 data one 10:19:44,704 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: one [INFO] [akkaDeadLetter][03/15/2024 10:19:44.704] [test-akka.actor.default-dispatcher-13] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,704 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 2, nextIndex: 3 10:19:44,705 AM [test-akka.actor.default-dispatcher-13] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 3 is present for follower follower555 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 2 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 1 to 2 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 2 data two 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: two 10:19:44,705 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=2 10:19:44,706 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:44,707 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=1 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:44,707 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 10:19:44,707 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 10:19:44,707 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 10:19:44,707 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log three 10:19:44,707 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: lastSequenceNumber prior to capture: 7 10:19:44,707 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 4 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: CaptureSnapshotReply received by actor 10:19:44,707 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:44,707 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 1 (of expected -1) 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader554, ServerConfigPayload=null] 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 3, nextIndex: 4 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 3 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 3 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 3 data three 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: three 10:19:44,707 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 10:19:44,708 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=3 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Snapshot success - sequence number: 7 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SnapshotComplete received 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 3 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 3 (of expected -1) 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 2 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 1 to 2 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 2 data two 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: two 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 3 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 2 to 3 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 3 data three 10:19:44,709 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: three 10:19:44,709 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=3 10:19:44,709 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: handled a snapshot response 10:19:44,711 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: handled a journal response [WARN] [03/15/2024 10:19:44.711] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:44,785 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:44,785 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:44,785 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 10:19:44,785 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:19:44,785 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:19:44,785 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 10:19:44,785 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/15/2024 10:19:44.785] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:44,786 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 10:19:44,786 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] [WARN] [03/15/2024 10:19:44.785] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower555] received dead letter from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:19:44,786 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 10:19:44,786 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:19:44,786 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:19:44,786 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 10:19:44,786 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:44,787 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] [WARN] [03/15/2024 10:19:44.793] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:44,830 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 [WARN] [03/15/2024 10:19:44.830] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:44,844 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 10:19:44,844 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:19:44,845 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 10:19:44,846 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] [WARN] [03/15/2024 10:19:44.846] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/15/2024 10:19:44.846] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:44,847 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] [WARN] [03/15/2024 10:19:44.858] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader554]: org.opendaylight.controller.cluster.common.actor.Monitor@16c43b21 10:19:44,859 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader554 with journal batch size 1000 10:19:44,859 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SnapshotOffer called. 10:19:44,860 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from -1 to 2 10:19:44,860 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=1, votedFor=leader554 10:19:44,860 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader554 in 160.6 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 10:19:44,862 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received apply journal entries for recovery, applying to state: 3 to 2 10:19:44,862 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 2 10:19:44,862 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received apply journal entries for recovery, applying to state: 3 to 3 10:19:44,862 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 3 10:19:44,862 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 4, size: 4 10:19:44,862 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 5, size: 4 10:19:44,863 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 4, size: 7 10:19:44,863 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 5, size: 7 10:19:44,863 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Recovery completed in 3.140 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 10:19:44,863 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Received TimeoutNow - switching to Candidate 10:19:44,864 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Election: Candidate has following voting peers: [] 10:19:44,864 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=2, votedFor=leader554 10:19:44,864 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Starting new election term 2 10:19:44,864 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:19:44,865 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Received ElectionTimeout 10:19:44,865 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Election: Leader has following peers: [] 10:19:44,865 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:19:44,865 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower555-collector557#-2054235456] 10:19:44,876 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower555] 10:19:44,876 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader554-collector558#-574468901] 10:19:44,876 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader554] 10:19:44,876 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader554-collector559#604419873] 10:19:44,876 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader554] [WARN] [03/15/2024 10:19:44.879] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower561]: org.opendaylight.controller.cluster.common.actor.Monitor@2a266b58 10:19:44,879 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower561 with journal batch size 1000 10:19:44,881 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:19:44.882] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader560]: org.opendaylight.controller.cluster.common.actor.Monitor@130e5a5e 10:19:44,883 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader560 with journal batch size 1000 10:19:44,887 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:19:45,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:19:45,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:19:45,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Received ElectionTimeout - switching to Candidate 10:19:45,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Election: Candidate has following voting peers: [follower562, follower561] 10:19:45,340 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=1, votedFor=leader560 10:19:45,340 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Starting new election term 1 10:19:45,341 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Sending RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] to peer follower562 10:19:45,341 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Sending RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] to peer follower561 10:19:45,341 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:19:45,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:19:45,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Cluster state: [] 10:19:45,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:19:45,341 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:19:45,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Set currentTerm=1, votedFor=null [WARN] [03/15/2024 10:19:45.341] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] 10:19:45,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): In requestVote: RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:19:45,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Set currentTerm=1, votedFor=leader560 10:19:45,341 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:19:45,342 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:19:45,342 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:19:45,342 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Election: Leader has following peers: [follower562, follower561] 10:19:45,342 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:45,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:45,343 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:19:45,343 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower561: Last sync leader does not match current leader leader560, need to catch up to -1 10:19:45,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/15/2024 10:19:45.343] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower561] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@324c7f0f 10:19:45,343 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:19:45.347] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,385 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:45,385 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:45,385 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:19:45,385 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:45,385 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:45,385 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 0 is present for follower follower561 10:19:45,385 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:19:45,385 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:19:45,386 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 1 10:19:45,386 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:19:45,386 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log zero 10:19:45,386 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/15/2024 10:19:45.385] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,386 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 1 10:19:45,386 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:45,386 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached -1 (of expected -1) 10:19:45,386 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 0, nextIndex: 1 10:19:45,386 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:45,386 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:45,386 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:19:45,386 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 0 10:19:45,386 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from -1 to 0 10:19:45,386 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 0 data zero 10:19:45,386 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: zero 10:19:45,386 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=0 10:19:45,387 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/15/2024 10:19:45.387] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower561] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7c9cdcc2 10:19:45,435 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:45,435 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:45,436 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:19:45,436 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:45,436 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:45,436 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 1 is present for follower follower561 10:19:45,436 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [03/15/2024 10:19:45.436] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries: AppendEntries [leaderId=leader560, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 1 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log one 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 2 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 0 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 0 (of expected -1) 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 0 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from -1 to 0 10:19:45,436 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 0 data zero 10:19:45,437 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: zero 10:19:45,437 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 1, nextIndex: 2 10:19:45,437 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:45,437 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:45,437 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:45,437 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:19:45,437 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 1 10:19:45,437 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 0 to 1 10:19:45,437 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 1 data one 10:19:45,437 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=0 10:19:45,437 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: one 10:19:45,437 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=1 [WARN] [03/15/2024 10:19:45.460] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [03/15/2024 10:19:45.486] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:45,486 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 [WARN] [03/15/2024 10:19:45.487] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,487 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [03/15/2024 10:19:45.487] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: lastSequenceNumber prior to capture: 7 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: CaptureSnapshotReply received by actor 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader560, ServerConfigPayload=null] 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:19:45,488 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Snapshot success - sequence number: 7 10:19:45,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SnapshotComplete received 10:19:45,489 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: handled a snapshot response 10:19:45,489 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: handled a journal response 10:19:45,580 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 [WARN] [03/15/2024 10:19:45.580] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,700 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 10:19:45,700 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/15/2024 10:19:45.700] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,821 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 10:19:45,821 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/15/2024 10:19:45.821] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,941 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower561: Lagging -1 entries behind leader leader560 and reached 0 (of expected -1) [WARN] [03/15/2024 10:19:45.941] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:45,941 AM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 504, lastApplied : 1, commitIndex : 1 10:19:45,941 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 10:19:45,941 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 3 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log two 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log three 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log four 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 5 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 1 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 1 (of expected -1) 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 1 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 0 to 1 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 1 data one 10:19:45,942 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 4, nextIndex: 5 10:19:45,942 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 10:19:45,942 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 2 10:19:45,942 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: one 10:19:45,942 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 1 to 2 10:19:45,942 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 2 data two 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: two 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 3 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 2 to 3 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 3 data three 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: three 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 4 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 3 to 4 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 4 data four 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: four 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 10:19:45,943 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=4 10:19:45,943 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:45,944 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:45,944 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=1 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 4 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 4 (of expected -1) 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 2 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 1 to 2 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 2 data two 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: two 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 3 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 2 to 3 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 3 data three 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: three 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 4 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 3 to 4 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 4 data four 10:19:45,944 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: four 10:19:45,945 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=4 [WARN] [03/15/2024 10:19:46.002] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader560]: org.opendaylight.controller.cluster.common.actor.Monitor@4f558d5f 10:19:46,2 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader560 with journal batch size 1000 10:19:46,3 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SnapshotOffer called. 10:19:46,3 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from -1 to 1 10:19:46,3 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=1, votedFor=leader560 10:19:46,3 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader560 in 86.26 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 10:19:46,4 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Received ReplicatedLogEntry for recovery: index: 4, size: 4 10:19:46,5 AM [test-akka.actor.default-dispatcher-17] [WARN] AbstractReplicatedLogImpl - leader560: Cannot append new entry - new index 4 is not greater than the last index 4 java.lang.Exception: stack trace at org.opendaylight.controller.cluster.raft.AbstractReplicatedLogImpl.append(AbstractReplicatedLogImpl.java:129) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.onRecoveredJournalLogEntry(RaftActorRecoverySupport.java:180) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.handleRecoveryMessage(RaftActorRecoverySupport.java:67) at org.opendaylight.controller.cluster.raft.RaftActor.handleRecover(RaftActor.java:165) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) at scala.PartialFunction.applyOrElse(PartialFunction.scala:214) at scala.PartialFunction.applyOrElse$(PartialFunction.scala:213) at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) at scala.PartialFunction$OrElse.apply(PartialFunction.scala:266) at akka.persistence.Eventsourced$$anon$2$$anonfun$1.applyOrElse(Eventsourced.scala:639) at akka.actor.Actor.aroundReceive(Actor.scala:537) at akka.actor.Actor.aroundReceive$(Actor.scala:535) at akka.persistence.AbstractPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:295) at akka.persistence.Eventsourced$$anon$3.stateReceive(Eventsourced.scala:756) at akka.persistence.Eventsourced.aroundReceive(Eventsourced.scala:245) at akka.persistence.Eventsourced.aroundReceive$(Eventsourced.scala:244) at akka.persistence.AbstractPersistentActor.aroundReceive(PersistentActor.scala:295) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:579) at akka.actor.ActorCell.invoke(ActorCell.scala:547) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270) at akka.dispatch.Mailbox.run(Mailbox.scala:231) at akka.dispatch.Mailbox.exec(Mailbox.scala:243) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) 10:19:46,5 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Received apply journal entries for recovery, applying to state: 2 to 4 10:19:46,5 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 1 to 4 10:19:46,5 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Recovery completed in 1.922 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 10:19:46,6 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Received TimeoutNow - switching to Candidate 10:19:46,6 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Election: Candidate has following voting peers: [] 10:19:46,6 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=2, votedFor=leader560 10:19:46,6 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Starting new election term 2 10:19:46,6 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:19:46,7 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Received ElectionTimeout 10:19:46,7 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Election: Leader has following peers: [] 10:19:46,7 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:19:46,102 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower561-collector563#-548264481] 10:19:46,113 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower561] 10:19:46,113 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader560-collector564#-655108056] 10:19:46,117 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader560] 10:19:46,117 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader560-collector565#445028754] 10:19:46,117 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader560] [WARN] [03/15/2024 10:19:46.120] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower567]: org.opendaylight.controller.cluster.common.actor.Monitor@58d40964 10:19:46,120 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower567 with journal batch size 1000 10:19:46,122 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/15/2024 10:19:46.221] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader566]: org.opendaylight.controller.cluster.common.actor.Monitor@e4ef3e9 10:19:46,222 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader566 with journal batch size 1000 10:19:46,224 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:19:46,650 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:19:46,650 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:19:46,650 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower): Received ElectionTimeout - switching to Candidate 10:19:46,650 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Election: Candidate has following voting peers: [follower568, follower567] 10:19:46,650 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Set currentTerm=1, votedFor=leader566 10:19:46,651 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Starting new election term 1 10:19:46,651 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Sending RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] to peer follower568 10:19:46,651 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Sending RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] to peer follower567 10:19:46,651 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:19:46,651 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:19:46,651 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Cluster state: [] 10:19:46,651 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:19:46,651 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:19:46,651 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Set currentTerm=1, votedFor=null [WARN] [03/15/2024 10:19:46.651] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] 10:19:46,651 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): In requestVote: RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:19:46,651 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Set currentTerm=1, votedFor=leader566 10:19:46,651 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:19:46,652 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:19:46,652 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:19:46,652 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Election: Leader has following peers: [follower568, follower567] 10:19:46,652 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:46,652 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:46,652 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [03/15/2024 10:19:46.652] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:46,652 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower567: Last sync leader does not match current leader leader566, need to catch up to -1 10:19:46,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/15/2024 10:19:46.653] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower567] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7e9163ad 10:19:46,653 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:46,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:46,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:46,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:19:46,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:46,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:46,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 0 is present for follower follower567 10:19:46,674 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower567: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log zero 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/15/2024 10:19:46.675] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 1 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower567, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached -1 (of expected -1) 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 0, nextIndex: 1 10:19:46,675 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:46,675 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:46,675 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:19:46,675 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 0 10:19:46,675 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from -1 to 0 10:19:46,675 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 0 data zero 10:19:46,676 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: zero 10:19:46,676 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:46,676 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=0 [WARN] [03/15/2024 10:19:46.676] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower567] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5d23f747 10:19:46,725 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:46,725 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:46,725 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:19:46,725 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:46,725 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:46,725 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 1 is present for follower follower567 10:19:46,725 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower567: AppendEntries [leaderId=leader566, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:19:46,725 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [03/15/2024 10:19:46.725] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log one 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 2 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 0 10:19:46,726 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower567, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 0 (of expected -1) 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 0 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from -1 to 0 10:19:46,726 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 1, nextIndex: 2 10:19:46,726 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 0 data zero 10:19:46,726 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:19:46,726 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 1 10:19:46,726 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from 0 to 1 10:19:46,726 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 1 data one 10:19:46,726 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: one 10:19:46,726 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:46,726 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=1 10:19:46,727 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: zero 10:19:46,727 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:46,727 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 1 10:19:46,728 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 1 (of expected -1) 10:19:46,728 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 10:19:46,728 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 1 10:19:46,728 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from 0 to 1 10:19:46,728 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 1 data one 10:19:46,728 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: one 10:19:46,728 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=0 10:19:46,728 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=1 [WARN] [03/15/2024 10:19:46.770] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/15/2024 10:19:46.777] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@4a35bac4 10:19:46,778 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 10:19:46,778 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower568 set to akka://test/user/follower568 10:19:46,778 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:46,778 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:46,779 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:19:46,779 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:46,779 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:46,779 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 2 is present for follower follower567 10:19:46,779 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower567: AppendEntries [leaderId=leader566, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log two 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 3 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower567, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 1 (of expected -1) 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 2, nextIndex: 3 10:19:46,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:46,780 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:19:46,780 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Term 1 in "AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 10:19:46,780 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 10:19:46,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:46,780 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower568: Last sync leader does not match current leader leader566, need to catch up to -1 10:19:46,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 10:19:46,780 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:46,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 2 10:19:46,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from 1 to 2 10:19:46,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 2 data two 10:19:46,781 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: two 10:19:46,781 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: -1, nextIndex: 0 10:19:46,781 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:46,781 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 0 is present for follower follower568 10:19:46,781 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero], SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:19:46,781 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=2 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero], SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 3 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log zero 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log one 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log two 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 3 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 2 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower568, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader566 and reached 2 (of expected -1) 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 0 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 0 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 0 data zero 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: zero 10:19:46,782 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 1 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 0 to 1 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 1 data one 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: one 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 2 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 1 to 2 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 2 data two 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: two 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 2, nextIndex: 3 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: fakeSnapshot purging log to 1 for term 1 10:19:46,783 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 [WARN] [03/15/2024 10:19:46.783] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@42135dc7 10:19:46,789 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:46,789 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:46,789 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:46,789 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=2 [WARN] [03/15/2024 10:19:46.789] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5441366b [WARN] [03/15/2024 10:19:46.841] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@4d186b18 10:19:46,842 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 10:19:46,842 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower568 set to akka://test/user/follower568 10:19:46,845 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:19:46,891 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Term 1 in "AppendEntries [leaderId=leader566, prevLogIndex=2, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 10:19:46,891 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 10:19:46,891 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 2 10:19:46,891 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): The followers log is empty and the senders prevLogIndex is 2 10:19:46,891 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 2 (of expected -1) 10:19:46,891 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:19:46,891 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 2 10:19:46,891 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:46,891 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from 1 to 2 10:19:46,891 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower568: Last sync leader does not match current leader leader566, need to catch up to 2 10:19:46,891 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 2 data two 10:19:46,891 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: two 10:19:46,891 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: fakeSnapshot purging log to 1 for term 1 10:19:46,891 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 10:19:46,891 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: -1, nextIndex: 0 10:19:46,891 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): follower follower568 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 10:19:46,891 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=2 10:19:46,891 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:19:46,891 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Initiating install snapshot to follower follower568: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=2, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower568 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: lastSequenceNumber prior to capture: 7 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: CaptureSnapshotReply received by actor 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader566, ServerConfigPayload=null] 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendInstallSnapshot 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader566 (Leader): Snapshot 345 bytes, total chunks to send: 1 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader566 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): next snapshot chunk size for follower follower568: 345 10:19:46,892 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): InstallSnapshot sent to follower Vector(user, follower568), Chunk: 1/1 10:19:46,892 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader566, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 10:19:46,892 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 10:19:46,892 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Snapshot installed from leader: leader566 10:19:46,893 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:19:46,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Snapshot success - sequence number: 7 10:19:46,893 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: SnapshotComplete received 10:19:46,894 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 10:19:46,894 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:46,894 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying snapshot on follower: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=null, ServerConfigPayload=null] 10:19:46,894 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 [WARN] [03/15/2024 10:19:46.894] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@38d79dd9 10:19:46,894 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 10:19:46,894 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 10:19:46,894 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): follower follower568 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 10:19:46,894 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Snapshot success - sequence number: 1 10:19:46,894 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 2 10:19:46,894 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 10:19:46,894 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applySnapshot called 10:19:46,895 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: handled a snapshot response 10:19:46,895 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: handled a journal response 10:19:46,895 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower568, chunkIndex=1, success=true] 10:19:46,895 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotComplete received 10:19:46,895 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower568, chunkIndex=1, success=true] 10:19:46,895 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Snapshot successfully installed on follower follower568 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 10:19:46,895 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a snapshot response 10:19:46,895 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a journal response 10:19:46,956 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 [WARN] [03/15/2024 10:19:46.956] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@16c5c033 10:19:46,957 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotOffer called. 10:19:46,957 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 2 10:19:46,957 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 10:19:46,957 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower568 in 119.5 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 10:19:46,959 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed in 1.435 ms - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 10:19:46,959 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower567-collector569#-580838806] 10:19:46,970 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower567] 10:19:46,970 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader566-collector570#221791537] 10:19:46,970 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader566] 10:19:46,970 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector571#-1402383864] 10:19:46,971 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] 10:19:46,971 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector572#-1488836089] 10:19:46,971 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] 10:19:46,971 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector573#1827891873] 10:19:46,971 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] [WARN] [03/15/2024 10:19:46.973] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower575]: org.opendaylight.controller.cluster.common.actor.Monitor@36e7fd63 10:19:46,974 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower575 with journal batch size 1000 [WARN] [03/15/2024 10:19:46.975] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader574]: org.opendaylight.controller.cluster.common.actor.Monitor@13d8b423 10:19:46,976 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader574 with journal batch size 1000 10:19:46,980 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:19:46,980 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:19:47,420 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:19:47,420 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.50:25520, Removed) 10:19:47,420 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Received ElectionTimeout - switching to Candidate 10:19:47,420 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Election: Candidate has following voting peers: [follower575, follower576] 10:19:47,420 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=1, votedFor=leader574 10:19:47,420 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Starting new election term 1 10:19:47,420 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Sending RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] to peer follower575 10:19:47,420 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Sending RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] to peer follower576 10:19:47,421 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:19:47,421 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:19:47,421 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Cluster state: [] 10:19:47,421 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:19:47,421 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:19:47,421 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Set currentTerm=1, votedFor=null [WARN] [03/15/2024 10:19:47.421] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] 10:19:47,421 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): In requestVote: RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:19:47,421 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Set currentTerm=1, votedFor=leader574 10:19:47,421 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:19:47,423 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:19:47,423 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:19:47,423 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Election: Leader has following peers: [follower575, follower576] 10:19:47,423 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:47,423 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:47,424 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower575: Last sync leader does not match current leader leader574, need to catch up to -1 10:19:47,424 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [03/15/2024 10:19:47.424] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower575] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@67941077 10:19:47,424 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/15/2024 10:19:47.424] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:47,424 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:19:47,433 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:47,433 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:47,433 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:19:47,433 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:47,433 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 0 is present for follower follower575 10:19:47,433 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:19:47,434 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:47,434 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] [WARN] [03/15/2024 10:19:47.434] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:47,434 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 1 10:19:47,434 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:19:47,434 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log zero 10:19:47,434 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:47,434 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 1 10:19:47,434 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:47,434 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached -1 (of expected -1) 10:19:47,434 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 0, nextIndex: 1 10:19:47,434 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:19:47,434 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:19:47,434 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:19:47,434 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 0 10:19:47,434 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from -1 to 0 10:19:47,434 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 0 data zero 10:19:47,434 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: zero 10:19:47,435 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=0 10:19:47,435 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/15/2024 10:19:47.435] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower575] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@412760d4 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 1 is present for follower follower575 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries: AppendEntries [leaderId=leader574, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 1 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log one 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [03/15/2024 10:19:47.484] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 2 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 0 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 0 (of expected -1) 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 0 10:19:47,484 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from -1 to 0 10:19:47,484 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 1, nextIndex: 2 10:19:47,485 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 0 data zero 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:19:47,485 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: zero 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 1 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 0 to 1 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 1 data one 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: one 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=1 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:19:47,485 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=0 10:19:47,538 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:47,538 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:47,538 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:19:47,538 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:19:47.539] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/15/2024 10:19:47.539] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:47,539 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:47,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:47,540 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 10:19:47,540 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: lastSequenceNumber prior to capture: 7 [WARN] [03/15/2024 10:19:47.540] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:47,660 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 10:19:47,660 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/15/2024 10:19:47.661] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:47,780 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 10:19:47,780 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/15/2024 10:19:47.780] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:47,790 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:47,790 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:47,791 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 10:19:47,791 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:19:47,791 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 10:19:47,791 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 [WARN] [03/15/2024 10:19:47.791] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:47,791 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] [WARN] [03/15/2024 10:19:47.900] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:19:47,900 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower575: Lagging -1 entries behind leader leader574 and reached 0 (of expected -1) 10:19:47,900 AM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 415, lastApplied : 1, commitIndex : 1 10:19:47,900 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 10:19:47,900 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 3 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log two 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log three 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log four 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 5 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 1 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 1 (of expected -1) 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 1 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 0 to 1 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 1 data one 10:19:47,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 4, nextIndex: 5 10:19:47,901 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: one 10:19:47,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 10:19:47,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 2 10:19:47,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 1 to 2 10:19:47,901 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 2 data two 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: two 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 3 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 2 to 3 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 3 data three 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: three 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 4 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 3 to 4 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 4 data four 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: four 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:19:47,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:19:47,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:19:47,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:19:47,902 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=4 10:19:47,902 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=1 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 4 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 4 (of expected -1) 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 2 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 1 to 2 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 2 data two 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: two 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 3 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 2 to 3 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 3 data three 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: three 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 4 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 3 to 4 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 4 data four 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: four 10:19:47,903 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=4 10:19:47,942 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: CaptureSnapshotReply received by actor 10:19:47,942 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader574, ServerConfigPayload=null] 10:19:47,942 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 10:19:47,942 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:19:47,942 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:19:47,942 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Snapshot success - sequence number: 7 10:19:47,943 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SnapshotComplete received 10:19:47,943 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: handled a snapshot response 10:19:47,943 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: handled a journal response [WARN] [03/15/2024 10:19:48.005] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader574]: org.opendaylight.controller.cluster.common.actor.Monitor@7631db1c 10:19:48,6 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader574 with journal batch size 1000 10:19:48,7 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SnapshotOffer called. 10:19:48,7 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from -1 to 1 10:19:48,7 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=1, votedFor=leader574 10:19:48,7 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader574 in 123.1 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 10:19:48,9 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Received ReplicatedLogEntry for recovery: index: 4, size: 4 10:19:48,9 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Received apply journal entries for recovery, applying to state: 2 to 4 10:19:48,9 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 1 to 4 10:19:48,10 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Recovery completed in 2.770 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 10:19:48,10 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Received TimeoutNow - switching to Candidate 10:19:48,10 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Election: Candidate has following voting peers: [] 10:19:48,10 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=2, votedFor=leader574 10:19:48,10 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Starting new election term 2 10:19:48,11 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:19:48,11 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Received ElectionTimeout 10:19:48,12 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Election: Leader has following peers: [] 10:19:48,12 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:19:48,105 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower575-collector577#643800354] 10:19:48,116 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower575] 10:19:48,116 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader574-collector578#1645049661] 10:19:48,116 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader574] 10:19:48,116 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader574-collector579#1763141441] 10:19:48,117 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader574] [INFO] [03/15/2024 10:19:48.117] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 10:19:48,117 AM [test-akka.actor.default-dispatcher-18] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/15/2024 10:19:48.119] [test-akka.actor.default-dispatcher-12] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.50:25520) [INFO] [03/15/2024 10:19:48.119] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Exiting completed [INFO] [03/15/2024 10:19:48.119] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Shutting down... 10:19:48,119 AM [test-akka.actor.default-dispatcher-13] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Exiting completed 10:19:48,119 AM [test-akka.actor.default-dispatcher-13] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Shutting down... 10:19:48,119 AM [test-akka.actor.default-dispatcher-13] [INFO] Cluster - Cluster Node [akka://test@10.30.171.50:25520] - Successfully shut down [INFO] [03/15/2024 10:19:48.119] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.50:25520] - Successfully shut down [INFO] [03/15/2024 10:19:48.120] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.50:25520/system/remoting-terminator] Shutting down remote daemon. 10:19:48,120 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [03/15/2024 10:19:48.120] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.50:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 10:19:48,120 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/15/2024 10:19:48.124] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.50:25520/system/remoting-terminator] Remoting shut down. 10:19:48,124 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.