11:02:36,183 AM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [01/16/2024 11:02:36.183] [main] [EventStream(akka://test)] logger log1-TestEventListener started [DEBUG] [01/16/2024 11:02:36.183] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [01/16/2024 11:02:36.184] [main] [EventStream(akka://test)] Default Loggers started [INFO] [01/16/2024 11:02:36.206] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.54:25520] with UID [-5659170482170778689] 11:02:36,208 AM [test-akka.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.54:25520] with UID [-5659170482170778689] 11:02:36,208 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/16/2024 11:02:36.207] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/16/2024 11:02:36.211] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [01/16/2024 11:02:36.211] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Started up successfully [INFO] [01/16/2024 11:02:36.212] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [01/16/2024 11:02:36.212] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 11:02:36,213 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Registered cluster JMX MBean [akka:type=Cluster] 11:02:36,214 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Started up successfully 11:02:36,214 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 11:02:36,214 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [01/16/2024 11:02:36.233] [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@54a8182f 11:02:36,234 AM [test-akka.actor.default-dispatcher-7] [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'. [INFO] [akkaDeadLetter][01/16/2024 11:02:36.234] [test-akka.actor.default-dispatcher-7] [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'. 11:02:36,236 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower555 with journal batch size 1000 11:02:36,239 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] [01/16/2024 11:02:36.334] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader554]: org.opendaylight.controller.cluster.common.actor.Monitor@15262611 [INFO] [akkaDeadLetter][01/16/2024 11:02:36.334] [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'. 11:02:36,334 AM [test-akka.actor.default-dispatcher-13] [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'. 11:02:36,335 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader554 with journal batch size 1000 11:02:36,337 AM [test-akka.actor.default-dispatcher-12] [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 11:02:36,778 AM [test-akka.actor.default-dispatcher-13] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:36,779 AM [test-akka.actor.default-dispatcher-13] [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.170.54:25520, Removed) 11:02:36,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Received ElectionTimeout - switching to Candidate 11:02:36,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Election: Candidate has following voting peers: [follower556, follower555] 11:02:36,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=1, votedFor=leader554 11:02:36,779 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Starting new election term 1 11:02:36,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Sending RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] to peer follower556 11:02:36,779 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Sending RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] to peer follower555 11:02:36,779 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:02:36,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:36,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Cluster state: [] 11:02:36,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:36,780 AM [test-akka.actor.default-dispatcher-12] [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 [WARN] [01/16/2024 11:02:36.780] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] 11:02:36,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=null [INFO] [akkaDeadLetter][01/16/2024 11:02:36.780] [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'. 11:02:36,780 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'. 11:02:36,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): In requestVote: RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:36,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=leader554 11:02:36,780 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:02:36,781 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:02:36,781 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:02:36,781 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Election: Leader has following peers: [follower556, follower555] 11:02:36,781 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:36,782 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:36,782 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [01/16/2024 11:02:36.782] [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=[]] 11:02:36,782 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower555: Last sync leader does not match current leader leader554, need to catch up to -1 11:02:36,782 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] 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'. 11:02:36,782 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: -1, nextIndex: 0 [INFO] [akkaDeadLetter][01/16/2024 11:02:36.782] [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. [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'. 11:02:36,782 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:36.782] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@75d45438 [INFO] [akkaDeadLetter][01/16/2024 11:02:36.782] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower555] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] 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'. 11:02:36,783 AM [test-akka.actor.default-dispatcher-13] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] 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'. 11:02:36,787 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:36,787 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:36,787 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:02:36,787 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:36,787 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:36,787 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 0 is present for follower follower555 11:02:36,787 AM [test-akka.actor.default-dispatcher-11] [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]]] [WARN] [01/16/2024 11:02:36.787] [test-akka.actor.default-dispatcher-16] [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=[]] 11:02:36,787 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'. [INFO] [akkaDeadLetter][01/16/2024 11:02:36.787] [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'. 11:02:36,787 AM [test-akka.actor.default-dispatcher-6] [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]]] 11:02:36,788 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 11:02:36,788 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:36,788 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log zero 11:02:36,788 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:36,788 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 1 11:02:36,788 AM [test-akka.actor.default-dispatcher-6] [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] 11:02:36,788 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached -1 (of expected -1) 11:02:36,788 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 0, nextIndex: 1 11:02:36,788 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:36,788 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:36,788 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:02:36,788 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 0 11:02:36,788 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from -1 to 0 11:02:36,788 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 0 data zero 11:02:36,788 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:36,789 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: zero 11:02:36,789 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=0 [WARN] [01/16/2024 11:02:36.789] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3590bdf8 11:02:36,789 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'. [INFO] [akkaDeadLetter][01/16/2024 11:02:36.789] [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'. 11:02:36,838 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:36,838 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:36,838 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 11:02:36,838 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:36,838 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:36,838 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 1 is present for follower follower555 11:02:36,838 AM [test-akka.actor.default-dispatcher-7] [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]]] 11:02:36,838 AM [test-akka.actor.default-dispatcher-7] [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]]] 11:02:36,838 AM [test-akka.actor.default-dispatcher-6] [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'. 11:02:36,838 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 [WARN] [01/16/2024 11:02:36.838] [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=[]] 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log one [INFO] [akkaDeadLetter][01/16/2024 11:02:36.838] [test-akka.actor.default-dispatcher-6] [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'. 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 2 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 0 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [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] 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 0 (of expected -1) 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 0 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from -1 to 0 11:02:36,839 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 0 data zero 11:02:36,839 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 1, nextIndex: 2 11:02:36,839 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:36,839 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:36,840 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: zero 11:02:36,840 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:02:36,840 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 1 11:02:36,840 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 0 to 1 11:02:36,840 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 1 data one 11:02:36,840 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: one 11:02:36,841 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=1 11:02:36,844 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:36,844 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=0 11:02:36,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:36,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:36,888 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 2 is present for follower follower555 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [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] [01/16/2024 11:02:36.889] [test-akka.actor.default-dispatcher-16] [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][01/16/2024 11:02:36.889] [test-akka.actor.default-dispatcher-7] [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'. 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:36,889 AM [test-akka.actor.default-dispatcher-7] [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'. 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [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]]] 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log two 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:02:36,889 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 2 is present for follower follower555 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 3 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 1 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [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] 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 1 (of expected -1) 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 1 11:02:36,889 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 0 to 1 11:02:36,890 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 1 data one 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 2, nextIndex: 3 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:02:36,890 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: one 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 3 is present for follower follower555 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [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]]] 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [01/16/2024 11:02:36.890] [test-akka.actor.default-dispatcher-6] [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=[]] 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 2 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 1 to 2 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 2 data two 11:02:36,890 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: two 11:02:36,891 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=2 [INFO] [akkaDeadLetter][01/16/2024 11:02:36.890] [test-akka.actor.default-dispatcher-16] [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'. 11:02:36,891 AM [test-akka.actor.default-dispatcher-16] [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'. 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:36,893 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=1 11:02:36,893 AM [test-akka.actor.default-dispatcher-7] [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] 11:02:36,893 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: lastSequenceNumber prior to capture: 7 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [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]]] 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:02:36,893 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: CaptureSnapshotReply received by actor 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log three 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 4 11:02:36,893 AM [test-akka.actor.default-dispatcher-7] [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] 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [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] 11:02:36,893 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 11:02:36,893 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 1 (of expected -1) 11:02:36,893 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 3, nextIndex: 4 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 3 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 3 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 3 data three 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: three 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=3 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:02:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Snapshot success - sequence number: 7 11:02:36,895 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SnapshotComplete received 11:02:36,895 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: handled a snapshot response 11:02:36,896 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: handled a journal response 11:02:36,896 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:36,896 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 3 11:02:36,896 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 3 (of expected -1) 11:02:36,897 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 11:02:36,897 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 2 11:02:36,897 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 1 to 2 11:02:36,897 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 2 data two 11:02:36,897 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: two 11:02:36,897 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 3 11:02:36,897 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 2 to 3 11:02:36,897 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 3 data three 11:02:36,897 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: three 11:02:36,897 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=3 [WARN] [01/16/2024 11:02:36.899] [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=[]] 11:02:36,951 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:36,951 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:36,951 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 11:02:36,951 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:02:36,951 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:02:36,951 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 11:02:36,951 AM [test-akka.actor.default-dispatcher-17] [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] [01/16/2024 11:02:36.951] [test-akka.actor.default-dispatcher-6] [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] [01/16/2024 11:02:36.952] [test-akka.actor.default-dispatcher-6] [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]]] 11:02:36,967 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 11:02:36,967 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 11:02:36,967 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 11:02:36,967 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 11:02:36,968 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 11:02:36,968 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 11:02:36,968 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] [WARN] [01/16/2024 11:02:36.968] [test-akka.actor.default-dispatcher-18] [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=[]] 11:02:36,975 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] [WARN] [01/16/2024 11:02:37.019] [test-akka.actor.default-dispatcher-6] [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=[]] [WARN] [01/16/2024 11:02:37.019] [test-akka.actor.default-dispatcher-16] [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=[]] 11:02:37,25 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 11:02:37,25 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 11:02:37,26 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 [WARN] [01/16/2024 11:02:37.027] [test-akka.actor.default-dispatcher-16] [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=[]] 11:02:37,27 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] [WARN] [01/16/2024 11:02:37.027] [test-akka.actor.default-dispatcher-16] [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=[]] 11:02:37,27 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] [WARN] [01/16/2024 11:02:37.039] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader554]: org.opendaylight.controller.cluster.common.actor.Monitor@6619a883 11:02:37,40 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader554 with journal batch size 1000 11:02:37,40 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SnapshotOffer called. 11:02:37,40 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from -1 to 2 11:02:37,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=1, votedFor=leader554 11:02:37,41 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader554 in 145.5 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received apply journal entries for recovery, applying to state: 3 to 2 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 2 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received apply journal entries for recovery, applying to state: 3 to 3 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 3 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 4, size: 4 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 5, size: 4 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 4, size: 7 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 5, size: 7 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Recovery completed in 3.386 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Received TimeoutNow - switching to Candidate 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Election: Candidate has following voting peers: [] 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=2, votedFor=leader554 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Starting new election term 2 11:02:37,44 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:37,46 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Received ElectionTimeout 11:02:37,46 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Election: Leader has following peers: [] 11:02:37,46 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:02:37,139 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower555-collector557#-2085535009] 11:02:37,150 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower555] 11:02:37,150 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader554-collector558#-56046231] 11:02:37,151 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader554] 11:02:37,151 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader554-collector559#-139028137] 11:02:37,151 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader554] [WARN] [01/16/2024 11:02:37.154] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower561]: org.opendaylight.controller.cluster.common.actor.Monitor@57b52837 11:02:37,155 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower561 with journal batch size 1000 [WARN] [01/16/2024 11:02:37.156] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader560]: org.opendaylight.controller.cluster.common.actor.Monitor@63657cc 11:02:37,156 AM [test-akka.actor.default-dispatcher-13] [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 11:02:37,156 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader560 with journal batch size 1000 11:02:37,157 AM [test-akka.actor.default-dispatcher-13] [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 11:02:37,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:37,568 AM [test-akka.actor.default-dispatcher-18] [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.170.54:25520, Removed) 11:02:37,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Received ElectionTimeout - switching to Candidate 11:02:37,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Election: Candidate has following voting peers: [follower562, follower561] 11:02:37,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=1, votedFor=leader560 11:02:37,568 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Starting new election term 1 11:02:37,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Sending RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] to peer follower562 11:02:37,568 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Sending RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] to peer follower561 11:02:37,569 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:02:37,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [01/16/2024 11:02:37.569] [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] 11:02:37,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Cluster state: [] 11:02:37,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:37,569 AM [test-akka.actor.default-dispatcher-16] [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 11:02:37,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Set currentTerm=1, votedFor=null 11:02:37,570 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): In requestVote: RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:37,570 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Set currentTerm=1, votedFor=leader560 11:02:37,570 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:02:37,570 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:02:37,570 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:02:37,570 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Election: Leader has following peers: [follower562, follower561] 11:02:37,570 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 11:02:37,570 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:37,570 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:02:37,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower561: Last sync leader does not match current leader leader560, need to catch up to -1 11:02:37,571 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: -1, nextIndex: 0 [WARN] [01/16/2024 11:02:37.571] [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=[]] 11:02:37,571 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:37.571] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower561] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@18cf2c5a 11:02:37,611 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:37,611 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:37,611 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:02:37,611 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:37,611 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:37,611 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 0 is present for follower follower561 11:02:37,611 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=0, term=1, payload=zero]]] [WARN] [01/16/2024 11:02:37.611] [test-akka.actor.default-dispatcher-18] [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=[]] 11:02:37,611 AM [test-akka.actor.default-dispatcher-6] [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]]] 11:02:37,612 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 1 11:02:37,612 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:37,612 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log zero 11:02:37,612 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:37,612 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 1 11:02:37,612 AM [test-akka.actor.default-dispatcher-6] [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] 11:02:37,612 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached -1 (of expected -1) 11:02:37,612 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 0, nextIndex: 1 11:02:37,612 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:37,612 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:37,612 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:02:37,613 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 0 11:02:37,613 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from -1 to 0 11:02:37,613 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 0 data zero 11:02:37,613 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:37,613 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: zero 11:02:37,613 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=0 [WARN] [01/16/2024 11:02:37.613] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower561] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@36449478 11:02:37,661 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:37,661 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:37,661 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 11:02:37,661 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:37,661 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:37,661 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 1 is present for follower follower561 11:02:37,662 AM [test-akka.actor.default-dispatcher-6] [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] [01/16/2024 11:02:37.662] [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=[]] 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [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]]] 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 1 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log one 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 2 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 0 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [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] 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 0 (of expected -1) 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 0 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from -1 to 0 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 0 data zero 11:02:37,662 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 1, nextIndex: 2 11:02:37,662 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 11:02:37,662 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: zero 11:02:37,662 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:37,663 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:02:37,663 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 1 11:02:37,663 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 0 to 1 11:02:37,663 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 1 data one 11:02:37,663 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: one 11:02:37,663 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=1 11:02:37,663 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:37,664 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=0 [WARN] [01/16/2024 11:02:37.688] [test-akka.actor.default-dispatcher-18] [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=[]] 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [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]]] 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 11:02:37,712 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:37.712] [test-akka.actor.default-dispatcher-16] [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=[]] 11:02:37,713 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:02:37,713 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 [WARN] [01/16/2024 11:02:37.713] [test-akka.actor.default-dispatcher-16] [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=[]] 11:02:37,713 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [01/16/2024 11:02:37.713] [test-akka.actor.default-dispatcher-16] [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=[]] 11:02:37,713 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:37,713 AM [test-akka.actor.default-dispatcher-7] [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] 11:02:37,713 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: lastSequenceNumber prior to capture: 7 11:02:37,713 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: CaptureSnapshotReply received by actor 11:02:37,713 AM [test-akka.actor.default-dispatcher-7] [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] 11:02:37,714 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 11:02:37,714 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 11:02:37,714 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:37,714 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:02:37,714 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Snapshot success - sequence number: 7 11:02:37,714 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SnapshotComplete received 11:02:37,715 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: handled a snapshot response 11:02:37,715 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: handled a journal response 11:02:37,808 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 [WARN] [01/16/2024 11:02:37.808] [test-akka.actor.default-dispatcher-18] [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=[]] 11:02:37,928 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 11:02:37,929 AM [test-akka.actor.default-dispatcher-18] [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] [01/16/2024 11:02:37.929] [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=[]] 11:02:38,48 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 11:02:38,48 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] [01/16/2024 11:02:38.048] [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=[]] 11:02:38,168 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower561: Lagging -1 entries behind leader leader560 and reached 0 (of expected -1) 11:02:38,168 AM [test-akka.actor.default-dispatcher-7] [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 : 506, lastApplied : 1, commitIndex : 1 [WARN] [01/16/2024 11:02:38.168] [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=[]] 11:02:38,168 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 11:02:38,168 AM [test-akka.actor.default-dispatcher-7] [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]]] 11:02:38,169 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]]] 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 3 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log two 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log three 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log four 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 5 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 1 11:02:38,169 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] 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 1 (of expected -1) 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 1 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 0 to 1 11:02:38,169 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 4, nextIndex: 5 11:02:38,169 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 11:02:38,169 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 2 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 1 data one 11:02:38,169 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 1 to 2 11:02:38,169 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 2 data two 11:02:38,169 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: one 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: two 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 3 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 2 to 3 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 3 data three 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: three 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 4 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 3 to 4 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 4 data four 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: four 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 11:02:38,170 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=4 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=1 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 4 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 4 (of expected -1) 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 2 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 1 to 2 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 2 data two 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: two 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 3 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 2 to 3 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 3 data three 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: three 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 4 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 3 to 4 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 4 data four 11:02:38,171 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: four 11:02:38,172 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=4 11:02:38,232 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader560 with journal batch size 1000 [WARN] [01/16/2024 11:02:38.232] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader560]: org.opendaylight.controller.cluster.common.actor.Monitor@6e2f49ad 11:02:38,233 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SnapshotOffer called. 11:02:38,233 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from -1 to 1 11:02:38,233 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=1, votedFor=leader560 11:02:38,234 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader560 in 165.8 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 11:02:38,235 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Received ReplicatedLogEntry for recovery: index: 4, size: 4 11:02:38,235 AM [test-akka.actor.default-dispatcher-18] [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) 11:02:38,235 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Received apply journal entries for recovery, applying to state: 2 to 4 11:02:38,235 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 1 to 4 11:02:38,236 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Recovery completed in 2.237 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 11:02:38,236 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Received TimeoutNow - switching to Candidate 11:02:38,236 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Election: Candidate has following voting peers: [] 11:02:38,236 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=2, votedFor=leader560 11:02:38,236 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Starting new election term 2 11:02:38,236 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:38,237 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Received ElectionTimeout 11:02:38,238 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Election: Leader has following peers: [] 11:02:38,238 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:02:38,333 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower561-collector563#542740684] 11:02:38,344 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower561] 11:02:38,345 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader560-collector564#1830076598] 11:02:38,345 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader560] 11:02:38,345 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader560-collector565#610409711] 11:02:38,345 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader560] [WARN] [01/16/2024 11:02:38.349] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower567]: org.opendaylight.controller.cluster.common.actor.Monitor@7390b0ab 11:02:38,350 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower567 with journal batch size 1000 [WARN] [01/16/2024 11:02:38.352] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader566]: org.opendaylight.controller.cluster.common.actor.Monitor@1b554c3d 11:02:38,352 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader566 with journal batch size 1000 11:02:38,352 AM [test-akka.actor.default-dispatcher-7] [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 11:02:38,354 AM [test-akka.actor.default-dispatcher-18] [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 11:02:38,868 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:38,869 AM [test-akka.actor.default-dispatcher-18] [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.170.54:25520, Removed) 11:02:38,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower): Received ElectionTimeout - switching to Candidate 11:02:38,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Election: Candidate has following voting peers: [follower568, follower567] 11:02:38,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Set currentTerm=1, votedFor=leader566 11:02:38,869 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Starting new election term 1 11:02:38,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Sending RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] to peer follower568 11:02:38,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Sending RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] to peer follower567 11:02:38,869 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:02:38,869 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:38,870 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Cluster state: [] 11:02:38,870 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:38,870 AM [test-akka.actor.default-dispatcher-18] [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 11:02:38,870 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Set currentTerm=1, votedFor=null 11:02:38,870 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): In requestVote: RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:38,870 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Set currentTerm=1, votedFor=leader566 11:02:38,870 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [01/16/2024 11:02:38.870] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] 11:02:38,871 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:02:38,871 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:02:38,872 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Election: Leader has following peers: [follower568, follower567] 11:02:38,872 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:38,872 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:38,872 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [01/16/2024 11:02:38.872] [test-akka.actor.default-dispatcher-7] [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=[]] 11:02:38,872 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower567: Last sync leader does not match current leader leader566, need to catch up to -1 11:02:38,872 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: -1, nextIndex: 0 11:02:38,872 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:38.873] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower567] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@203b125d 11:02:38,907 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:38,907 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:38,907 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:02:38,907 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:38,907 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:38,907 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 0 is present for follower follower567 11:02:38,907 AM [test-akka.actor.default-dispatcher-13] [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]]] [WARN] [01/16/2024 11:02:38.907] [test-akka.actor.default-dispatcher-7] [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=[]] 11:02:38,908 AM [test-akka.actor.default-dispatcher-6] [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]]] 11:02:38,908 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 11:02:38,908 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:38,908 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log zero 11:02:38,908 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:38,908 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 1 11:02:38,908 AM [test-akka.actor.default-dispatcher-6] [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] 11:02:38,908 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached -1 (of expected -1) 11:02:38,908 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 0, nextIndex: 1 11:02:38,909 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:38,909 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:38,909 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:02:38,909 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 0 11:02:38,909 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from -1 to 0 11:02:38,909 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 0 data zero 11:02:38,909 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:38,909 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: zero 11:02:38,909 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=0 [WARN] [01/16/2024 11:02:38.909] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower567] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6d9702dd 11:02:38,957 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:38,958 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:38,958 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 11:02:38,958 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:38,958 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:38,958 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 1 is present for follower follower567 11:02:38,958 AM [test-akka.actor.default-dispatcher-6] [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]]] [WARN] [01/16/2024 11:02:38.958] [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=[]] 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [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]]] 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log one 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 2 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 0 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [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] 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 0 (of expected -1) 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 0 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from -1 to 0 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 0 data zero 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: zero 11:02:38,959 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 1, nextIndex: 2 11:02:38,959 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 11:02:38,960 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:38,960 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:02:38,960 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 1 11:02:38,960 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from 0 to 1 11:02:38,960 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 1 data one 11:02:38,960 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:38,960 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: one 11:02:38,961 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=1 11:02:38,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=0 [WARN] [01/16/2024 11:02:38.988] [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=[]] 11:02:39,10 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 [WARN] [01/16/2024 11:02:39.011] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@7e58d770 11:02:39,11 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower568 set to akka://test/user/follower568 11:02:39,11 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:39,11 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:39,11 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 11:02:39,12 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:39,12 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:39,12 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 2 is present for follower follower567 11:02:39,12 AM [test-akka.actor.default-dispatcher-12] [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]]] 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [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]]] 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log two 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 3 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 1 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [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] 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 1 (of expected -1) 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 1 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from 0 to 1 11:02:39,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 1 data one 11:02:39,13 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: one 11:02:39,13 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 2, nextIndex: 3 11:02:39,13 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:39,13 AM [test-akka.actor.default-dispatcher-18] [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 11:02:39,13 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:39,13 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 11:02:39,13 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 2 11:02:39,13 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from 1 to 2 11:02:39,13 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 2 data two 11:02:39,13 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: two 11:02:39,14 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=2 11:02:39,14 AM [test-akka.actor.default-dispatcher-18] [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 11:02:39,14 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 11:02:39,14 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:39,14 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower568: Last sync leader does not match current leader leader566, need to catch up to -1 11:02:39,14 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=1 11:02:39,14 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: -1, nextIndex: 0 11:02:39,14 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:39,14 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 0 is present for follower follower568 11:02:39,14 AM [test-akka.actor.default-dispatcher-18] [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]]] 11:02:39,15 AM [test-akka.actor.default-dispatcher-6] [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]]] [WARN] [01/16/2024 11:02:39.015] [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@53216918 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 3 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log zero 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log one 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log two 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 3 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 2 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [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] 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader566 and reached 2 (of expected -1) 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 0 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 0 11:02:39,16 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 2, nextIndex: 3 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 0 data zero 11:02:39,16 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: fakeSnapshot purging log to 1 for term 1 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: zero 11:02:39,16 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 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 1 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 0 to 1 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 1 data one 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: one 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 2 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 1 to 2 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 2 data two 11:02:39,16 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: two 11:02:39,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:39,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:39,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:39,17 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=2 [WARN] [01/16/2024 11:02:39.017] [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@4ac141c3 [WARN] [01/16/2024 11:02:39.078] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@2f0241b5 11:02:39,79 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 11:02:39,80 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 11:02:39,178 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower568 set to akka://test/user/follower568 11:02:39,229 AM [test-akka.actor.default-dispatcher-17] [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 11:02:39,229 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 11:02:39,229 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 2 11:02:39,229 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 2 (of expected -1) 11:02:39,229 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): The followers log is empty and the senders prevLogIndex is 2 11:02:39,229 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:02:39,229 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 2 11:02:39,229 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from 1 to 2 11:02:39,229 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] 11:02:39,229 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 2 data two 11:02:39,229 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower568: Last sync leader does not match current leader leader566, need to catch up to 2 11:02:39,229 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: two 11:02:39,229 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: fakeSnapshot purging log to 1 for term 1 11:02:39,229 AM [test-akka.actor.default-dispatcher-7] [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 11:02:39,230 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: -1, nextIndex: 0 11:02:39,230 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): follower follower568 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 11:02:39,230 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=2 11:02:39,230 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 11:02:39,230 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Initiating install snapshot to follower follower568: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 11:02:39,230 AM [test-akka.actor.default-dispatcher-7] [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 11:02:39,230 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: lastSequenceNumber prior to capture: 7 11:02:39,231 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: CaptureSnapshotReply received by actor [WARN] [01/16/2024 11:02:39.231] [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@2b520b43 11:02:39,231 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 11:02:39,231 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] 11:02:39,231 AM [test-akka.actor.default-dispatcher-7] [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] 11:02:39,231 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 11:02:39,231 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendInstallSnapshot 11:02:39,231 AM [test-akka.actor.default-dispatcher-7] [DEBUG] LeaderInstallSnapshotState - leader566 (Leader): Snapshot 345 bytes, total chunks to send: 1 11:02:39,231 AM [test-akka.actor.default-dispatcher-7] [DEBUG] LeaderInstallSnapshotState - leader566 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 11:02:39,231 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): next snapshot chunk size for follower follower568: 345 11:02:39,231 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): InstallSnapshot sent to follower Vector(user, follower568), Chunk: 1/1 11:02:39,231 AM [test-akka.actor.default-dispatcher-12] [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] 11:02:39,231 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:02:39,232 AM [test-akka.actor.default-dispatcher-7] [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 11:02:39,232 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Snapshot installed from leader: leader566 11:02:39,232 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): follower follower568 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 11:02:39,232 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:02:39,232 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Snapshot success - sequence number: 7 11:02:39,232 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: SnapshotComplete received 11:02:39,232 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: handled a snapshot response 11:02:39,232 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: handled a journal response 11:02:39,233 AM [test-akka.actor.default-dispatcher-12] [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] 11:02:39,233 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 11:02:39,233 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 11:02:39,233 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Snapshot success - sequence number: 1 11:02:39,233 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 2 11:02:39,233 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 11:02:39,233 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applySnapshot called 11:02:39,233 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower568, chunkIndex=1, success=true] 11:02:39,234 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotComplete received 11:02:39,234 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower568, chunkIndex=1, success=true] 11:02:39,234 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 11:02:39,234 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a snapshot response 11:02:39,234 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a journal response [WARN] [01/16/2024 11:02:39.292] [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@660c424f 11:02:39,293 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 11:02:39,294 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotOffer called. 11:02:39,295 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 2 11:02:39,295 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 11:02:39,295 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower568 in 185.3 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 11:02:39,296 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed in 1.722 ms - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 11:02:39,297 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower567-collector569#1999643810] 11:02:39,308 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower567] 11:02:39,309 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader566-collector570#-1120296041] 11:02:39,309 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader566] 11:02:39,309 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector571#-1675063500] 11:02:39,309 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] 11:02:39,310 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector572#-1344502863] 11:02:39,310 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] 11:02:39,310 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector573#2066161936] 11:02:39,310 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] [WARN] [01/16/2024 11:02:39.314] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower575]: org.opendaylight.controller.cluster.common.actor.Monitor@3a7b70ca 11:02:39,314 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower575 with journal batch size 1000 11:02:39,315 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 [WARN] [01/16/2024 11:02:39.415] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader574]: org.opendaylight.controller.cluster.common.actor.Monitor@83f3c9f 11:02:39,416 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader574 with journal batch size 1000 11:02:39,417 AM [test-akka.actor.default-dispatcher-7] [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 11:02:39,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:02:39,878 AM [test-akka.actor.default-dispatcher-17] [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.170.54:25520, Removed) 11:02:39,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Received ElectionTimeout - switching to Candidate 11:02:39,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Election: Candidate has following voting peers: [follower575, follower576] 11:02:39,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=1, votedFor=leader574 11:02:39,879 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Starting new election term 1 11:02:39,879 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Sending RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] to peer follower575 11:02:39,879 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Sending RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] to peer follower576 11:02:39,879 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:02:39,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:02:39,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Cluster state: [] 11:02:39,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:02:39,879 AM [test-akka.actor.default-dispatcher-12] [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 11:02:39,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Set currentTerm=1, votedFor=null 11:02:39,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): In requestVote: RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:02:39,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Set currentTerm=1, votedFor=leader574 [WARN] [01/16/2024 11:02:39.879] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] 11:02:39,879 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:02:39,881 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:02:39,881 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:02:39,881 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Election: Leader has following peers: [follower575, follower576] 11:02:39,881 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:39,881 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:02:39,881 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:02:39,881 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 11:02:39,882 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: -1, nextIndex: 0 11:02:39,882 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:39.882] [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@40261170 [WARN] [01/16/2024 11:02:39.882] [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=[]] 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 0 is present for follower follower575 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [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]]] 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [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]]] 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 1 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log zero 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:39,922 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 1 11:02:39,923 AM [test-akka.actor.default-dispatcher-6] [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] 11:02:39,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached -1 (of expected -1) 11:02:39,923 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 0, nextIndex: 1 11:02:39,923 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 [WARN] [01/16/2024 11:02:39.923] [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=[]] 11:02:39,923 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:39,923 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:02:39,923 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 0 11:02:39,923 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from -1 to 0 11:02:39,923 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 0 data zero 11:02:39,923 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:02:39,924 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: zero 11:02:39,924 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=0 [WARN] [01/16/2024 11:02:39.924] [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@4af4c596 11:02:39,973 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:39,973 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:39,973 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 11:02:39,974 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:39,974 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 1 is present for follower follower575 11:02:39,974 AM [test-akka.actor.default-dispatcher-6] [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]]] 11:02:39,974 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [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]]] 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 1 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log one 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 2 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 0 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [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] 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 0 (of expected -1) 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 0 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from -1 to 0 11:02:39,974 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 0 data zero 11:02:39,974 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 1, nextIndex: 2 [WARN] [01/16/2024 11:02:39.974] [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=[]] 11:02:39,975 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: zero 11:02:39,975 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:02:39,975 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:39,975 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:02:39,975 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 1 11:02:39,975 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 0 to 1 11:02:39,975 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 1 data one 11:02:39,975 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: one 11:02:39,975 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=1 11:02:39,976 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:02:39,976 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=0 [WARN] [01/16/2024 11:02:39.998] [test-akka.actor.default-dispatcher-17] [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=[]] 11:02:40,24 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:40,24 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:40,24 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 11:02:40,24 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:40,24 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 11:02:40,24 AM [test-akka.actor.default-dispatcher-17] [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]]] 11:02:40,24 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:02:40,24 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:40,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:40,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true [WARN] [01/16/2024 11:02:40.025] [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=[]] 11:02:40,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:02:40,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 11:02:40,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 [WARN] [01/16/2024 11:02:40.025] [test-akka.actor.default-dispatcher-7] [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=[]] 11:02:40,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:40,25 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:40,26 AM [test-akka.actor.default-dispatcher-7] [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] 11:02:40,26 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: lastSequenceNumber prior to capture: 7 11:02:40,118 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 [WARN] [01/16/2024 11:02:40.118] [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=[]] 11:02:40,238 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 11:02:40,238 AM [test-akka.actor.default-dispatcher-6] [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] [01/16/2024 11:02:40.238] [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=[]] 11:02:40,358 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 11:02:40,358 AM [test-akka.actor.default-dispatcher-6] [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] [01/16/2024 11:02:40.358] [test-akka.actor.default-dispatcher-7] [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=[]] 11:02:40,377 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:40,377 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:40,377 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 11:02:40,377 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:02:40,377 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:02:40,378 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower575: Lagging -1 entries behind leader leader574 and reached 0 (of expected -1) 11:02:40,378 AM [test-akka.actor.default-dispatcher-17] [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 : 403, lastApplied : 1, commitIndex : 1 [WARN] [01/16/2024 11:02:40.378] [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=[]] 11:02:40,378 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 11:02:40,378 AM [test-akka.actor.default-dispatcher-17] [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]]] 11:02:40,378 AM [test-akka.actor.default-dispatcher-11] [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]]] 11:02:40,378 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 3 11:02:40,378 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:02:40,378 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log two 11:02:40,378 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:40,378 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log three 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log four 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 5 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 1 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [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] 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 1 (of expected -1) 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 1 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 0 to 1 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 1 data one 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 4, nextIndex: 5 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 2 11:02:40,379 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: one 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 1 to 2 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 2 data two 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: two 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 3 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 2 to 3 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 3 data three 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: three 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 4 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 3 to 4 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 4 data four 11:02:40,379 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: four 11:02:40,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:02:40,380 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=4 11:02:40,385 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:02:40,385 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:02:40,385 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:02:40,385 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=1 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 4 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 4 (of expected -1) 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 2 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 1 to 2 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 2 data two 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: two 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 3 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 2 to 3 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 3 data three 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: three 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 4 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 3 to 4 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 4 data four 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: four 11:02:40,386 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=4 11:02:40,428 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: CaptureSnapshotReply received by actor 11:02:40,428 AM [test-akka.actor.default-dispatcher-6] [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] 11:02:40,428 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 11:02:40,428 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 11:02:40,428 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:02:40,428 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Snapshot success - sequence number: 7 11:02:40,428 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SnapshotComplete received 11:02:40,429 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: handled a snapshot response 11:02:40,429 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: handled a journal response [WARN] [01/16/2024 11:02:40.478] [test-akka.actor.default-dispatcher-17] [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] [01/16/2024 11:02:40.491] [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@739db59e 11:02:40,492 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader574 with journal batch size 1000 11:02:40,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SnapshotOffer called. 11:02:40,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from -1 to 1 11:02:40,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=1, votedFor=leader574 11:02:40,493 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader574 in 147.1 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 11:02:40,495 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Received ReplicatedLogEntry for recovery: index: 4, size: 4 11:02:40,495 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Received apply journal entries for recovery, applying to state: 2 to 4 11:02:40,495 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 1 to 4 11:02:40,496 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Recovery completed in 2.911 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 11:02:40,496 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower575-collector577#-2071250119] 11:02:40,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Received TimeoutNow - switching to Candidate 11:02:40,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Election: Candidate has following voting peers: [] 11:02:40,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=2, votedFor=leader574 11:02:40,496 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Starting new election term 2 11:02:40,496 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:02:40,497 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Received ElectionTimeout 11:02:40,497 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Election: Leader has following peers: [] 11:02:40,497 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:02:40,507 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower575] 11:02:40,507 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader574-collector578#1801080972] 11:02:40,507 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader574] 11:02:40,508 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader574-collector579#1163346395] 11:02:40,508 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader574] 11:02:40,509 AM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [01/16/2024 11:02:40.509] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [01/16/2024 11:02:40.511] [test-akka.actor.default-dispatcher-6] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.54:25520) [INFO] [01/16/2024 11:02:40.511] [test-akka.actor.internal-dispatcher-5] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Exiting completed [INFO] [01/16/2024 11:02:40.511] [test-akka.actor.internal-dispatcher-5] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Shutting down... [INFO] [01/16/2024 11:02:40.511] [test-akka.actor.internal-dispatcher-5] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.54:25520] - Successfully shut down 11:02:40,511 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Exiting completed 11:02:40,511 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Shutting down... 11:02:40,511 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.54:25520] - Successfully shut down 11:02:40,523 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [01/16/2024 11:02:40.522] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.54:25520/system/remoting-terminator] Shutting down remote daemon. 11:02:40,523 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/16/2024 11:02:40.523] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.54:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/16/2024 11:02:40.534] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.170.54:25520/system/remoting-terminator] Remoting shut down. 11:02:40,534 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [01/16/2024 11:02:40.534] [test-akka.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger