[DEBUG] [02/27/2024 11:13:49.478] [main] [EventStream(akka://test)] logger log1-TestEventListener started 11:13:49,479 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [02/27/2024 11:13:49.479] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [02/27/2024 11:13:49.479] [main] [EventStream(akka://test)] Default Loggers started [INFO] [02/27/2024 11:13:49.513] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.238:25520] with UID [8379254799921225301] [INFO] [02/27/2024 11:13:49.514] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Starting up, Akka version [2.6.21] ... 11:13:49,515 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.238:25520] with UID [8379254799921225301] 11:13:49,515 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Starting up, Akka version [2.6.21] ... [INFO] [02/27/2024 11:13:49.519] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [02/27/2024 11:13:49.519] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Started up successfully 11:13:49,519 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Registered cluster JMX MBean [akka:type=Cluster] 11:13:49,519 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Started up successfully [INFO] [02/27/2024 11:13:49.527] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [02/27/2024 11:13:49.527] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 11:13:49,529 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 11:13:49,529 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [02/27/2024 11:13:49.554] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower60]: org.opendaylight.controller.cluster.common.actor.Monitor@51d8125d [INFO] [akkaDeadLetter][02/27/2024 11:13:49.554] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower60] 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:13:49,555 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower60] 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:13:49,559 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower60 with journal batch size 1000 11:13:49,579 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:13:49.652] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader59]: org.opendaylight.controller.cluster.common.actor.Monitor@7daff9c6 [INFO] [akkaDeadLetter][02/27/2024 11:13:49.652] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader59] 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:13:49,655 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader59 with journal batch size 1000 11:13:49,655 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader59] 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:13:49,663 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:13:50,129 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:13:50,130 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.238:25520, Removed) 11:13:50,130 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Follower): Received ElectionTimeout - switching to Candidate 11:13:50,130 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate): Election: Candidate has following voting peers: [follower61, follower60] 11:13:50,130 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Set currentTerm=1, votedFor=leader59 11:13:50,130 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate): Starting new election term 1 11:13:50,130 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate): Sending RequestVote [term=1, candidateId=leader59, lastLogIndex=-1, lastLogTerm=-1] to peer follower61 11:13:50,131 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate): Sending RequestVote [term=1, candidateId=leader59, lastLogIndex=-1, lastLogTerm=-1] to peer follower60 11:13:50,131 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:13:50,131 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:13:50,131 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Cluster state: [] 11:13:50,131 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader59, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:13:50,131 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader59, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term [WARN] [02/27/2024 11:13:50.131] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: RequestVote [term=1, candidateId=leader59, lastLogIndex=-1, lastLogTerm=-1] [INFO] [akkaDeadLetter][02/27/2024 11:13:50.131] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader59] 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:13:50,132 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader59] 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:13:50,134 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Set currentTerm=1, votedFor=null 11:13:50,134 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): In requestVote: RequestVote [term=1, candidateId=leader59, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:13:50,134 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Set currentTerm=1, votedFor=leader59 11:13:50,134 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:13:50,135 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:13:50,136 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:13:50,136 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Election: Leader has following peers: [follower61, follower60] 11:13:50,136 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower61: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:13:50,136 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:13:50,136 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:13:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower60: Last sync leader does not match current leader leader59, need to catch up to -1 11:13:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower60 updated: matchIndex: -1, nextIndex: 0 11:13:50,137 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:13:50.137] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower60] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5a6c00b7 [INFO] [akkaDeadLetter][02/27/2024 11:13:50.138] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower60] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower60] 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:13:50,138 AM [test-akka.actor.default-dispatcher-11] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower60] 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:13:50,139 AM [test-akka.actor.default-dispatcher-11] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] to Actor[akka://test/] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [02/27/2024 11:13:50.139] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][02/27/2024 11:13:50.139] [test-akka.actor.default-dispatcher-11] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] to Actor[akka://test/] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:13:50,155 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:50,155 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:50,155 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:50,155 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower61: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:50,156 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:50,156 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 0 is present for follower follower60 11:13:50,156 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Sending AppendEntries to follower follower60: AppendEntries [leaderId=leader59, 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:13:50,156 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): handleAppendEntries: AppendEntries [leaderId=leader59, 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:13:50,156 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Number of entries to be appended = 1 11:13:50,156 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:13:50,156 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Append entry to log zero 11:13:50,156 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:50,156 AM [test-akka.actor.default-dispatcher-16] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] 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:13:50,156 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Log size is now 1 [WARN] [02/27/2024 11:13:50.156] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:50,156 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower60, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:50,156 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower60: Lagging 0 entries behind leader leader59 and reached -1 (of expected -1) 11:13:50,156 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower60 updated: matchIndex: 0, nextIndex: 1 [INFO] [akkaDeadLetter][02/27/2024 11:13:50.156] [test-akka.actor.default-dispatcher-16] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] 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:13:50,156 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:50,159 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:50,160 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:50,160 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:13:50,160 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Setting last applied to 0 11:13:50,160 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Moving last applied index from -1 to 0 11:13:50,160 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Applying state for log index 0 data zero 11:13:50,160 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: applyState called: zero 11:13:50,160 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persisting ApplyJournalEntries with index=0 [WARN] [02/27/2024 11:13:50.166] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower60] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@eea9bad 11:13:50,166 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower60] 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][02/27/2024 11:13:50.166] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower60] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower60] 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:13:50,206 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:50,206 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:50,206 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:50,206 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower61: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:50,206 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:50,206 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 1 is present for follower follower60 11:13:50,207 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Sending AppendEntries to follower follower60: AppendEntries [leaderId=leader59, 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:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): handleAppendEntries: AppendEntries [leaderId=leader59, 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:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Number of entries to be appended = 1 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Append entry to log one 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Log size is now 2 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Commit index set to 0 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower60, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower60: Lagging 0 entries behind leader leader59 and reached 0 (of expected -1) 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Setting last applied to 0 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Moving last applied index from -1 to 0 [WARN] [02/27/2024 11:13:50.207] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:50,207 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Applying state for log index 0 data zero 11:13:50,207 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower60 updated: matchIndex: 1, nextIndex: 2 11:13:50,208 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 [INFO] [akkaDeadLetter][02/27/2024 11:13:50.207] [test-akka.actor.default-dispatcher-16] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] 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:13:50,208 AM [test-akka.actor.default-dispatcher-16] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] 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:13:50,208 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: applyState called: zero 11:13:50,211 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:50,211 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:13:50,211 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Setting last applied to 1 11:13:50,211 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Moving last applied index from 0 to 1 11:13:50,211 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Applying state for log index 1 data one 11:13:50,211 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: applyState called: one 11:13:50,211 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persisting ApplyJournalEntries with index=1 11:13:50,211 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:50,211 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Persisting ApplyJournalEntries with index=0 [WARN] [02/27/2024 11:13:50.250] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][02/27/2024 11:13:50.250] [test-akka.actor.default-dispatcher-11] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] 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:13:50,250 AM [test-akka.actor.default-dispatcher-16] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] 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:13:50,258 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:50,258 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:50,258 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:50,258 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower61: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:50,259 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:50,259 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 2 is present for follower follower60 11:13:50,259 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Sending AppendEntries to follower follower60: AppendEntries [leaderId=leader59, 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:13:50,259 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:50,259 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): handleAppendEntries: AppendEntries [leaderId=leader59, 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:13:50,259 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Number of entries to be appended = 1 11:13:50,259 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower61: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Append entry to log two 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:50,259 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:13:50,259 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 2 is present for follower follower60 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Log size is now 3 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Commit index set to 1 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower60, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [02/27/2024 11:13:50.259] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower60: Lagging 0 entries behind leader leader59 and reached 1 (of expected -1) 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Setting last applied to 1 11:13:50,259 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower60 updated: matchIndex: 2, nextIndex: 3 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Moving last applied index from 0 to 1 11:13:50,259 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Applying state for log index 1 data one 11:13:50,259 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:13:50,259 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 3 is present for follower follower60 11:13:50,259 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Sending AppendEntries to follower follower60: AppendEntries [leaderId=leader59, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [INFO] [akkaDeadLetter][02/27/2024 11:13:50.259] [test-akka.actor.default-dispatcher-5] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] 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:13:50,260 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader59] 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:13:50,260 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: applyState called: one [WARN] [02/27/2024 11:13:50.260] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:50,261 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:50,261 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 11:13:50,261 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Setting last applied to 2 11:13:50,261 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Moving last applied index from 1 to 2 11:13:50,261 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Applying state for log index 2 data two 11:13:50,261 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: applyState called: two 11:13:50,261 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persisting ApplyJournalEntries with index=2 11:13:50,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:50,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): handleAppendEntries: AppendEntries [leaderId=leader59, 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:13:50,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Number of entries to be appended = 1 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 11:13:50,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 11:13:50,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Append entry to log three 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: lastSequenceNumber prior to capture: 7 11:13:50,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: CaptureSnapshotReply received by actor 11:13:50,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Log size is now 4 11:13:50,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower60, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:50,264 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower60: Lagging 0 entries behind leader leader59 and reached 1 (of expected -1) 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: 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=leader59, ServerConfigPayload=null] 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower60 updated: matchIndex: 3, nextIndex: 4 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Setting last applied to 3 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Moving last applied index from 2 to 3 11:13:50,264 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Applying state for log index 3 data three 11:13:50,265 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: applyState called: three 11:13:50,265 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 11:13:50,265 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persisting ApplyJournalEntries with index=3 11:13:50,265 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:13:50,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Snapshot success - sequence number: 7 11:13:50,266 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: SnapshotComplete received 11:13:50,266 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: handled a snapshot response 11:13:50,268 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:50,268 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Persisting ApplyJournalEntries with index=1 11:13:50,268 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Commit index set to 3 11:13:50,268 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower60: Lagging 0 entries behind leader leader59 and reached 3 (of expected -1) 11:13:50,268 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 11:13:50,268 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Setting last applied to 2 11:13:50,268 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Moving last applied index from 1 to 2 11:13:50,268 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Applying state for log index 2 data two 11:13:50,269 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: applyState called: two 11:13:50,269 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60 (Follower): Setting last applied to 3 11:13:50,269 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Moving last applied index from 2 to 3 11:13:50,269 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Applying state for log index 3 data three 11:13:50,269 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: applyState called: three 11:13:50,269 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower60: Persisting ApplyJournalEntries with index=3 11:13:50,269 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: handled a journal response 11:13:50,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:50,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:50,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:50,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower61: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:13:50,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:13:50,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 4 is present for follower follower60 11:13:50,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Sending AppendEntries to follower follower60: AppendEntries [leaderId=leader59, 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:13:50,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 11:13:50,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 11:13:50,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:50,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower61: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 11:13:50,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 11:13:50,353 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 4 is present for follower follower60 [WARN] [02/27/2024 11:13:50.353] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [02/27/2024 11:13:50.353] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower60] received dead letter from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, 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] [02/27/2024 11:13:50.353] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:50,354 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:50,354 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] 11:13:50,369 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 4 is present for follower follower60 [WARN] [02/27/2024 11:13:50.370] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:50,405 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 11:13:50,405 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 11:13:50,406 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:50,406 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower61: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:13:50,406 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 11:13:50,406 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 4 is present for follower follower60 [WARN] [02/27/2024 11:13:50.406] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:50,407 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 11:13:50,407 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 11:13:50,407 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:50,407 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower61: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 11:13:50,407 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Checking sendAppendEntries for follower follower60: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 11:13:50,407 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): sendAppendEntries: 4 is present for follower follower60 11:13:50,407 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] [WARN] [02/27/2024 11:13:50.407] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader59]: AppendEntries [leaderId=leader59, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:50,409 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] [WARN] [02/27/2024 11:13:50.424] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader59]: org.opendaylight.controller.cluster.common.actor.Monitor@687ac94 11:13:50,426 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader59 with journal batch size 1000 11:13:50,428 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: SnapshotOffer called. 11:13:50,428 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Moving last applied index from -1 to 2 11:13:50,428 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Set currentTerm=1, votedFor=leader59 11:13:50,429 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader59 in 245.5 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 11:13:50,432 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Received apply journal entries for recovery, applying to state: 3 to 2 11:13:50,432 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Moving last applied index from 2 to 2 11:13:50,432 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Received apply journal entries for recovery, applying to state: 3 to 3 11:13:50,432 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Moving last applied index from 2 to 3 11:13:50,432 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Received ReplicatedLogEntry for recovery: index: 4, size: 4 11:13:50,432 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Received ReplicatedLogEntry for recovery: index: 5, size: 4 11:13:50,432 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Received ReplicatedLogEntry for recovery: index: 4, size: 7 11:13:50,432 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Received ReplicatedLogEntry for recovery: index: 5, size: 7 11:13:50,433 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Recovery completed in 3.923 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 11:13:50,434 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Follower): Received TimeoutNow - switching to Candidate 11:13:50,434 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate): Election: Candidate has following voting peers: [] 11:13:50,434 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59: Set currentTerm=2, votedFor=leader59 11:13:50,434 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate): Starting new election term 2 11:13:50,434 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:13:50,435 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate): Received ElectionTimeout 11:13:50,435 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Leader): Election: Leader has following peers: [] 11:13:50,435 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader59 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:13:50,524 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower60-collector62#787764973] 11:13:50,536 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower60] 11:13:50,537 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader59-collector63#-1026704671] 11:13:50,538 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader59] 11:13:50,539 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader59-collector64#7699889] 11:13:50,539 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader59] 11:13:50,546 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower66 with journal batch size 1000 [WARN] [02/27/2024 11:13:50.546] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower66]: org.opendaylight.controller.cluster.common.actor.Monitor@7ff0d356 11:13:50,547 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:13:50.549] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader65]: org.opendaylight.controller.cluster.common.actor.Monitor@6068e6e3 11:13:50,550 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader65 with journal batch size 1000 11:13:50,553 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:13:50,990 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:13:50,990 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.238:25520, Removed) 11:13:50,990 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Follower): Received ElectionTimeout - switching to Candidate 11:13:50,990 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate): Election: Candidate has following voting peers: [follower67, follower66] 11:13:50,990 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Set currentTerm=1, votedFor=leader65 11:13:50,991 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate): Starting new election term 1 11:13:50,991 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate): Sending RequestVote [term=1, candidateId=leader65, lastLogIndex=-1, lastLogTerm=-1] to peer follower67 11:13:50,991 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate): Sending RequestVote [term=1, candidateId=leader65, lastLogIndex=-1, lastLogTerm=-1] to peer follower66 11:13:50,991 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:13:50,991 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:13:50,991 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Cluster state: [] 11:13:50,991 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader65, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:13:50,991 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader65, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:13:50,991 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Set currentTerm=1, votedFor=null 11:13:50,991 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): In requestVote: RequestVote [term=1, candidateId=leader65, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:13:50,991 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Set currentTerm=1, votedFor=leader65 11:13:50,992 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [02/27/2024 11:13:50.992] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: RequestVote [term=1, candidateId=leader65, lastLogIndex=-1, lastLogTerm=-1] 11:13:50,993 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:13:50,993 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:13:50,994 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Election: Leader has following peers: [follower67, follower66] 11:13:50,994 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower67: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:13:50,994 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:13:50,994 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [02/27/2024 11:13:50.994] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:50,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower66: Last sync leader does not match current leader leader65, need to catch up to -1 11:13:50,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower66 updated: matchIndex: -1, nextIndex: 0 11:13:50,995 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:13:50.995] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower66] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@72b86dfa 11:13:51,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:51,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:51,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:51,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower67: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:51,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:51,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): sendAppendEntries: 0 is present for follower follower66 11:13:51,2 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Sending AppendEntries to follower follower66: AppendEntries [leaderId=leader65, 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:13:51,2 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): handleAppendEntries: AppendEntries [leaderId=leader65, 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:13:51,2 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Number of entries to be appended = 1 11:13:51,2 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:13:51,2 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Append entry to log zero [WARN] [02/27/2024 11:13:51.002] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:51,2 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:51,2 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Log size is now 1 11:13:51,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower66, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:51,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower66: Lagging 0 entries behind leader leader65 and reached -1 (of expected -1) 11:13:51,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower66 updated: matchIndex: 0, nextIndex: 1 11:13:51,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:51,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:51,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:13:51,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Setting last applied to 0 11:13:51,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Moving last applied index from -1 to 0 11:13:51,3 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Applying state for log index 0 data zero 11:13:51,3 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [02/27/2024 11:13:51.004] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower66] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5ac2b9b7 11:13:51,4 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: applyState called: zero 11:13:51,4 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Persisting ApplyJournalEntries with index=0 11:13:51,52 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:51,52 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:51,53 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:51,53 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower67: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:51,53 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:51,53 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): sendAppendEntries: 1 is present for follower follower66 11:13:51,53 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Sending AppendEntries to follower follower66: AppendEntries [leaderId=leader65, 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] [02/27/2024 11:13:51.053] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:51,53 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): handleAppendEntries: AppendEntries [leaderId=leader65, 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:13:51,53 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Number of entries to be appended = 1 11:13:51,53 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:13:51,53 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Append entry to log one 11:13:51,53 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:51,53 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Log size is now 2 11:13:51,53 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Commit index set to 0 11:13:51,53 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower66, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:51,54 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower66: Lagging 0 entries behind leader leader65 and reached 0 (of expected -1) 11:13:51,54 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:13:51,54 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower66 updated: matchIndex: 1, nextIndex: 2 11:13:51,54 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Setting last applied to 0 11:13:51,54 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Moving last applied index from -1 to 0 11:13:51,54 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Applying state for log index 0 data zero 11:13:51,54 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:51,54 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: applyState called: zero 11:13:51,55 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:51,56 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:13:51,56 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Setting last applied to 1 11:13:51,56 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Moving last applied index from 0 to 1 11:13:51,56 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Applying state for log index 1 data one 11:13:51,56 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: applyState called: one 11:13:51,56 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Persisting ApplyJournalEntries with index=1 11:13:51,64 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:51,64 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Persisting ApplyJournalEntries with index=0 11:13:51,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:51,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:51,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:51,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower67: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:51,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:51,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): sendAppendEntries: 2 is present for follower follower66 11:13:51,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Sending AppendEntries to follower follower66: AppendEntries [leaderId=leader65, 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:13:51,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:51,103 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower67: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): sendAppendEntries: 2 is present for follower follower66 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower67: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): sendAppendEntries: 2 is present for follower follower66 11:13:51,104 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [02/27/2024 11:13:51.104] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [02/27/2024 11:13:51.105] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [02/27/2024 11:13:51.105] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:51,105 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:51,105 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 11:13:51,105 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: lastSequenceNumber prior to capture: 7 11:13:51,105 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: CaptureSnapshotReply received by actor 11:13:51,105 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader65, ServerConfigPayload=null] 11:13:51,105 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 11:13:51,105 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 11:13:51,105 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:51,106 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:13:51,106 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Snapshot success - sequence number: 7 11:13:51,106 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: SnapshotComplete received 11:13:51,106 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: handled a snapshot response 11:13:51,108 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: handled a journal response [WARN] [02/27/2024 11:13:51.109] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:51,229 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): sendAppendEntries: 2 is present for follower follower66 11:13:51,229 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Sending AppendEntries to follower follower66: AppendEntries [leaderId=leader65, 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] [02/27/2024 11:13:51.230] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:51,350 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): sendAppendEntries: 2 is present for follower follower66 11:13:51,350 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Sending AppendEntries to follower follower66: AppendEntries [leaderId=leader65, 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] [02/27/2024 11:13:51.350] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:51,470 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower66: Lagging -1 entries behind leader leader65 and reached 0 (of expected -1) 11:13:51,470 AM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower66, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 416, lastApplied : 1, commitIndex : 1 [WARN] [02/27/2024 11:13:51.470] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader65]: AppendEntries [leaderId=leader65, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:51,470 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): sendAppendEntries: 2 is present for follower follower66 11:13:51,470 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Sending AppendEntries to follower follower66: AppendEntries [leaderId=leader65, 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:13:51,470 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): handleAppendEntries: AppendEntries [leaderId=leader65, 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:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Number of entries to be appended = 3 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Append entry to log two 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Append entry to log three 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Append entry to log four 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Log size is now 5 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Commit index set to 1 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower66, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower66: Lagging 0 entries behind leader leader65 and reached 1 (of expected -1) 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Setting last applied to 1 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Moving last applied index from 0 to 1 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Applying state for log index 1 data one 11:13:51,471 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: applyState called: one 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower66 updated: matchIndex: 4, nextIndex: 5 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Setting last applied to 2 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Moving last applied index from 1 to 2 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Applying state for log index 2 data two 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: applyState called: two 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Setting last applied to 3 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Moving last applied index from 2 to 3 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Applying state for log index 3 data three 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: applyState called: three 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Setting last applied to 4 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Moving last applied index from 3 to 4 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Applying state for log index 4 data four 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: applyState called: four 11:13:51,472 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Checking sendAppendEntries for follower follower66: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 11:13:51,473 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Persisting ApplyJournalEntries with index=4 11:13:51,473 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:51,473 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:51,473 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Persisting ApplyJournalEntries with index=1 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Commit index set to 4 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower66: Lagging 0 entries behind leader leader65 and reached 4 (of expected -1) 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Setting last applied to 2 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Moving last applied index from 1 to 2 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Applying state for log index 2 data two 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: applyState called: two 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Setting last applied to 3 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Moving last applied index from 2 to 3 11:13:51,474 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Applying state for log index 3 data three 11:13:51,475 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: applyState called: three 11:13:51,475 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66 (Follower): Setting last applied to 4 11:13:51,475 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Moving last applied index from 3 to 4 11:13:51,475 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Applying state for log index 4 data four 11:13:51,475 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: applyState called: four 11:13:51,475 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower66: Persisting ApplyJournalEntries with index=4 [WARN] [02/27/2024 11:13:51.522] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader65]: org.opendaylight.controller.cluster.common.actor.Monitor@153bfe91 11:13:51,523 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader65 with journal batch size 1000 11:13:51,524 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: SnapshotOffer called. 11:13:51,524 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Moving last applied index from -1 to 1 11:13:51,524 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Set currentTerm=1, votedFor=leader65 11:13:51,524 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader65 in 171.2 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 11:13:51,527 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Received ReplicatedLogEntry for recovery: index: 4, size: 4 11:13:51,527 AM [test-akka.actor.default-dispatcher-6] [WARN] AbstractReplicatedLogImpl - leader65: 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:13:51,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Received apply journal entries for recovery, applying to state: 2 to 4 11:13:51,528 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Moving last applied index from 1 to 4 11:13:51,528 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Recovery completed in 3.781 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 11:13:51,529 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower66-collector68#842944074] 11:13:51,529 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Follower): Received TimeoutNow - switching to Candidate 11:13:51,529 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate): Election: Candidate has following voting peers: [] 11:13:51,529 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65: Set currentTerm=2, votedFor=leader65 11:13:51,529 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate): Starting new election term 2 11:13:51,529 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:13:51,530 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate): Received ElectionTimeout 11:13:51,530 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Leader): Election: Leader has following peers: [] 11:13:51,530 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader65 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:13:51,540 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower66] 11:13:51,540 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader65-collector69#-617928360] 11:13:51,541 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader65] 11:13:51,542 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader65-collector70#-271901884] 11:13:51,542 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader65] 11:13:51,547 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower72 with journal batch size 1000 [WARN] [02/27/2024 11:13:51.547] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower72]: org.opendaylight.controller.cluster.common.actor.Monitor@451e3916 [WARN] [02/27/2024 11:13:51.549] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader71]: org.opendaylight.controller.cluster.common.actor.Monitor@3120352d 11:13:51,549 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader71 with journal batch size 1000 11:13:51,549 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:13:51,551 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:13:51,999 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:13:52,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.238:25520, Removed) 11:13:52,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Follower): Received ElectionTimeout - switching to Candidate 11:13:52,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Candidate): Election: Candidate has following voting peers: [follower72, follower73] 11:13:52,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Set currentTerm=1, votedFor=leader71 11:13:52,0 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Candidate): Starting new election term 1 11:13:52,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Candidate): Sending RequestVote [term=1, candidateId=leader71, lastLogIndex=-1, lastLogTerm=-1] to peer follower72 11:13:52,0 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Candidate): Sending RequestVote [term=1, candidateId=leader71, lastLogIndex=-1, lastLogTerm=-1] to peer follower73 11:13:52,0 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:13:52,0 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:13:52,0 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Cluster state: [] 11:13:52,0 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader71, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:13:52,0 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader71, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:13:52,0 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Set currentTerm=1, votedFor=null 11:13:52,1 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): In requestVote: RequestVote [term=1, candidateId=leader71, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:13:52,1 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Set currentTerm=1, votedFor=leader71 11:13:52,1 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [02/27/2024 11:13:52.003] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader71]: RequestVote [term=1, candidateId=leader71, lastLogIndex=-1, lastLogTerm=-1] 11:13:52,3 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:13:52,3 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:13:52,4 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Election: Leader has following peers: [follower72, follower73] 11:13:52,4 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower72: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:13:52,4 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower73: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:13:52,4 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [02/27/2024 11:13:52.004] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader71]: AppendEntries [leaderId=leader71, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:52,4 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower72: Last sync leader does not match current leader leader71, need to catch up to -1 11:13:52,4 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower72 updated: matchIndex: -1, nextIndex: 0 11:13:52,4 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower72: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:13:52.004] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower72] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4f6e9c59 11:13:52,5 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,5 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,5 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:52,5 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower72: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:52,5 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): sendAppendEntries: 0 is present for follower follower72 11:13:52,5 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Sending AppendEntries to follower follower72: AppendEntries [leaderId=leader71, 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:13:52,5 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower73: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:52,5 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): handleAppendEntries: AppendEntries [leaderId=leader71, 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:13:52,5 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Number of entries to be appended = 1 11:13:52,5 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:13:52,5 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Append entry to log zero 11:13:52,5 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,5 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Log size is now 1 11:13:52,5 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower72, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:52,5 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower72: Lagging 0 entries behind leader leader71 and reached -1 (of expected -1) [WARN] [02/27/2024 11:13:52.005] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader71]: AppendEntries [leaderId=leader71, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:52,6 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower72 updated: matchIndex: 0, nextIndex: 1 11:13:52,6 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower72: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:52,6 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,6 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:13:52,6 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Setting last applied to 0 11:13:52,6 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Moving last applied index from -1 to 0 11:13:52,6 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,6 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Applying state for log index 0 data zero 11:13:52,7 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: applyState called: zero [WARN] [02/27/2024 11:13:52.007] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower72] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5e538f22 11:13:52,7 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Persisting ApplyJournalEntries with index=0 11:13:52,62 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,62 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,62 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:52,62 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower72: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:52,62 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): sendAppendEntries: 1 is present for follower follower72 11:13:52,62 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Sending AppendEntries to follower follower72: AppendEntries [leaderId=leader71, 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:13:52,63 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower73: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): handleAppendEntries: AppendEntries [leaderId=leader71, 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:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Number of entries to be appended = 1 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Append entry to log one 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Log size is now 2 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Commit index set to 0 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower72, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower72: Lagging 0 entries behind leader leader71 and reached 0 (of expected -1) 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Setting last applied to 0 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Moving last applied index from -1 to 0 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Applying state for log index 0 data zero [WARN] [02/27/2024 11:13:52.063] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader71]: AppendEntries [leaderId=leader71, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:52,63 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower72 updated: matchIndex: 1, nextIndex: 2 11:13:52,63 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: applyState called: zero 11:13:52,64 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower72: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:52,64 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,64 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:13:52,64 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Setting last applied to 1 11:13:52,64 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Moving last applied index from 0 to 1 11:13:52,64 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Applying state for log index 1 data one 11:13:52,64 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: applyState called: one 11:13:52,64 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Persisting ApplyJournalEntries with index=1 11:13:52,67 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,67 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Persisting ApplyJournalEntries with index=0 [WARN] [02/27/2024 11:13:52.120] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader71]: AppendEntries [leaderId=leader71, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [02/27/2024 11:13:52.122] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower73]: org.opendaylight.controller.cluster.common.actor.Monitor@787e032a 11:13:52,123 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower73 with journal batch size 1000 11:13:52,124 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower73 set to akka://test/user/follower73 11:13:52,124 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:52,124 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:52,124 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:52,124 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower72: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:52,124 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): sendAppendEntries: 2 is present for follower follower72 11:13:52,124 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Sending AppendEntries to follower follower72: AppendEntries [leaderId=leader71, 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:13:52,124 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower73: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): handleAppendEntries: AppendEntries [leaderId=leader71, 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:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Number of entries to be appended = 1 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Append entry to log two 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Log size is now 3 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Commit index set to 1 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower72, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower72: Lagging 0 entries behind leader leader71 and reached 1 (of expected -1) 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Setting last applied to 1 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Moving last applied index from 0 to 1 11:13:52,124 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Applying state for log index 1 data one 11:13:52,125 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: applyState called: one 11:13:52,125 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower72 updated: matchIndex: 2, nextIndex: 3 11:13:52,125 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower72: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:52,126 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:13:52,126 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:52,126 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 11:13:52,126 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Setting last applied to 2 11:13:52,126 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Moving last applied index from 1 to 2 11:13:52,126 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Applying state for log index 2 data two 11:13:52,126 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: applyState called: two 11:13:52,126 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Term 1 in "AppendEntries [leaderId=leader71, 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:13:52,126 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Set currentTerm=1, votedFor=null 11:13:52,126 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Persisting ApplyJournalEntries with index=2 11:13:52,126 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower73: Last sync leader does not match current leader leader71, need to catch up to -1 11:13:52,127 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower73 updated: matchIndex: -1, nextIndex: 0 11:13:52,127 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower73: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:52,127 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): sendAppendEntries: 0 is present for follower follower73 11:13:52,127 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Sending AppendEntries to follower follower73: AppendEntries [leaderId=leader71, 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:13:52,127 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:52,127 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Persisting ApplyJournalEntries with index=1 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): handleAppendEntries: AppendEntries [leaderId=leader71, 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:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Number of entries to be appended = 3 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Append entry to log zero 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Append entry to log one 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Append entry to log two 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [02/27/2024 11:13:52.128] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower73] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5bbdac50 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Log size is now 3 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Commit index set to 2 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower73, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower73: Lagging 0 entries behind leader leader71 and reached 2 (of expected -1) 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Setting last applied to 0 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Moving last applied index from -1 to 0 11:13:52,128 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower73 updated: matchIndex: 2, nextIndex: 3 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Applying state for log index 0 data zero 11:13:52,128 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: fakeSnapshot purging log to 1 for term 1 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: applyState called: zero 11:13:52,128 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower73: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Setting last applied to 1 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Moving last applied index from 0 to 1 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Applying state for log index 1 data one 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: applyState called: one 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Setting last applied to 2 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Moving last applied index from 1 to 2 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Applying state for log index 2 data two 11:13:52,128 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: applyState called: two 11:13:52,133 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,133 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,133 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:52,133 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Persisting ApplyJournalEntries with index=2 [WARN] [02/27/2024 11:13:52.134] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower73] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@727f1ea5 [WARN] [02/27/2024 11:13:52.190] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower73]: org.opendaylight.controller.cluster.common.actor.Monitor@7787436b 11:13:52,191 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower73 with journal batch size 1000 11:13:52,192 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower73 set to akka://test/user/follower73 11:13:52,203 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:13:52,239 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Commit index set to 2 11:13:52,240 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Term 1 in "AppendEntries [leaderId=leader71, 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:13:52,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower72: Lagging 0 entries behind leader leader71 and reached 2 (of expected -1) 11:13:52,240 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Set currentTerm=1, votedFor=null 11:13:52,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 11:13:52,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72 (Follower): Setting last applied to 2 11:13:52,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Moving last applied index from 1 to 2 11:13:52,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Applying state for log index 2 data two 11:13:52,240 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): The followers log is empty and the senders prevLogIndex is 2 11:13:52,240 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower73, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:52,240 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower73: Last sync leader does not match current leader leader71, need to catch up to 2 11:13:52,240 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: applyState called: two 11:13:52,240 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower73, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 11:13:52,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: fakeSnapshot purging log to 1 for term 1 11:13:52,240 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower73 updated: matchIndex: -1, nextIndex: 0 11:13:52,240 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): follower follower73 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 11:13:52,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower72: Persisting ApplyJournalEntries with index=2 11:13:52,240 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Checking sendAppendEntries for follower follower73: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 11:13:52,241 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Initiating install snapshot to follower follower73: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 11:13:52,241 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: 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 follower73 11:13:52,241 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: lastSequenceNumber prior to capture: 7 [WARN] [02/27/2024 11:13:52.242] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower73] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1d24931a 11:13:52,242 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: CaptureSnapshotReply received by actor 11:13:52,243 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (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:13:52,243 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: 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=leader71, ServerConfigPayload=null] 11:13:52,243 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 11:13:52,243 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower73, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): sendInstallSnapshot 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader71 (Leader): Snapshot 345 bytes, total chunks to send: 1 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] LeaderInstallSnapshotState - leader71 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): next snapshot chunk size for follower follower73: 345 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): InstallSnapshot sent to follower Vector(user, follower73), Chunk: 1/1 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower73, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): follower follower73 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: Snapshot success - sequence number: 7 11:13:52,250 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: SnapshotComplete received 11:13:52,251 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: handled a snapshot response 11:13:52,251 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71: handled a journal response 11:13:52,256 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader71, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 11:13:52,258 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 11:13:52,258 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): Snapshot installed from leader: leader71 11:13:52,266 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: 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:13:52,266 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 11:13:52,267 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 11:13:52,267 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Snapshot success - sequence number: 1 11:13:52,267 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Moving last applied index from -1 to 2 11:13:52,267 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Set currentTerm=1, votedFor=null 11:13:52,267 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: applySnapshot called 11:13:52,269 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower73, chunkIndex=1, success=true] 11:13:52,269 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: SnapshotComplete received 11:13:52,269 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower73, chunkIndex=1, success=true] 11:13:52,269 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader71 (Leader): Snapshot successfully installed on follower follower73 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 11:13:52,270 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: handled a snapshot response 11:13:52,272 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: handled a journal response 11:13:52,308 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower73 with journal batch size 1000 [WARN] [02/27/2024 11:13:52.309] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower73]: org.opendaylight.controller.cluster.common.actor.Monitor@797ae11d 11:13:52,310 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: SnapshotOffer called. 11:13:52,310 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Moving last applied index from -1 to 2 11:13:52,310 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Set currentTerm=1, votedFor=null 11:13:52,310 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower73 in 245.9 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 11:13:52,312 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower73: Recovery completed in 1.921 ms - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 11:13:52,360 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower72: Lagging 0 entries behind leader leader71 and reached 2 (of expected -1) 11:13:52,407 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower72-collector74#-1814897871] 11:13:52,419 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower72] 11:13:52,420 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader71-collector75#1628246018] 11:13:52,420 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader71] 11:13:52,421 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower73-collector76#-1140297864] 11:13:52,421 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower73] 11:13:52,422 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower73-collector77#386839366] 11:13:52,422 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower73] 11:13:52,423 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower73-collector78#-325877467] 11:13:52,423 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower73] [WARN] [02/27/2024 11:13:52.432] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower80]: org.opendaylight.controller.cluster.common.actor.Monitor@4e5cd82b 11:13:52,433 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower80 with journal batch size 1000 11:13:52,436 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:13:52,436 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader79 with journal batch size 1000 [WARN] [02/27/2024 11:13:52.437] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader79]: org.opendaylight.controller.cluster.common.actor.Monitor@397fa3b9 11:13:52,439 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:13:52,919 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:13:52,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.238:25520, Removed) 11:13:52,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Follower): Received ElectionTimeout - switching to Candidate 11:13:52,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate): Election: Candidate has following voting peers: [follower81, follower80] 11:13:52,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Set currentTerm=1, votedFor=leader79 11:13:52,920 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate): Starting new election term 1 11:13:52,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate): Sending RequestVote [term=1, candidateId=leader79, lastLogIndex=-1, lastLogTerm=-1] to peer follower81 11:13:52,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate): Sending RequestVote [term=1, candidateId=leader79, lastLogIndex=-1, lastLogTerm=-1] to peer follower80 11:13:52,920 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:13:52,921 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:13:52,921 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Cluster state: [] 11:13:52,921 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader79, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:13:52,921 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader79, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:13:52,921 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Set currentTerm=1, votedFor=null 11:13:52,921 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): In requestVote: RequestVote [term=1, candidateId=leader79, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:13:52,921 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Set currentTerm=1, votedFor=leader79 11:13:52,921 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [02/27/2024 11:13:52.921] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: RequestVote [term=1, candidateId=leader79, lastLogIndex=-1, lastLogTerm=-1] 11:13:52,922 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:13:52,923 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:13:52,923 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Election: Leader has following peers: [follower81, follower80] 11:13:52,923 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower81: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:13:52,923 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:13:52,923 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:13:52,924 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower80: Last sync leader does not match current leader leader79, need to catch up to -1 11:13:52,924 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower80 updated: matchIndex: -1, nextIndex: 0 11:13:52,924 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:13:52.924] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower80] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6e28b0dc [WARN] [02/27/2024 11:13:52.924] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:52,939 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,939 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,939 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:52,939 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower81: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:52,939 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:52,939 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): sendAppendEntries: 0 is present for follower follower80 11:13:52,939 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Sending AppendEntries to follower follower80: AppendEntries [leaderId=leader79, 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:13:52,940 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): handleAppendEntries: AppendEntries [leaderId=leader79, 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:13:52,940 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Number of entries to be appended = 1 11:13:52,940 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:13:52,940 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Append entry to log zero 11:13:52,940 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,940 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Log size is now 1 [WARN] [02/27/2024 11:13:52.940] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:52,940 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower80, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:52,940 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower80: Lagging 0 entries behind leader leader79 and reached -1 (of expected -1) 11:13:52,940 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower80 updated: matchIndex: 0, nextIndex: 1 11:13:52,940 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:13:52,941 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,941 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 11:13:52,941 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Setting last applied to 0 11:13:52,941 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Moving last applied index from -1 to 0 11:13:52,941 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Applying state for log index 0 data zero 11:13:52,941 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:13:52,941 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: applyState called: zero 11:13:52,941 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Persisting ApplyJournalEntries with index=0 [WARN] [02/27/2024 11:13:52.941] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower80] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7d24c344 11:13:52,989 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,989 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,989 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower81: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): sendAppendEntries: 1 is present for follower follower80 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Sending AppendEntries to follower follower80: AppendEntries [leaderId=leader79, 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] [02/27/2024 11:13:52.990] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): handleAppendEntries: AppendEntries [leaderId=leader79, 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:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Number of entries to be appended = 1 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Append entry to log one 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Log size is now 2 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Commit index set to 0 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower80, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:52,990 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower80: Lagging 0 entries behind leader leader79 and reached 0 (of expected -1) 11:13:52,991 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 11:13:52,991 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Setting last applied to 0 11:13:52,991 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Moving last applied index from -1 to 0 11:13:52,991 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Applying state for log index 0 data zero 11:13:52,991 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower80 updated: matchIndex: 1, nextIndex: 2 11:13:52,991 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:13:52,991 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: applyState called: zero 11:13:52,991 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,991 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 11:13:52,991 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Setting last applied to 1 11:13:52,991 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Moving last applied index from 0 to 1 11:13:52,991 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Applying state for log index 1 data one 11:13:52,991 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: applyState called: one 11:13:52,992 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Persisting ApplyJournalEntries with index=1 11:13:52,992 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 11:13:52,992 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Persisting ApplyJournalEntries with index=0 [WARN] [02/27/2024 11:13:53.040] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower81: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): sendAppendEntries: 2 is present for follower follower80 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Sending AppendEntries to follower follower80: AppendEntries [leaderId=leader79, 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:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower81: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 11:13:53,41 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): sendAppendEntries: 2 is present for follower follower80 [WARN] [02/27/2024 11:13:53.042] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [02/27/2024 11:13:53.042] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:53,42 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:53,43 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:53,43 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 11:13:53,43 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: lastSequenceNumber prior to capture: 7 11:13:53,160 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): sendAppendEntries: 2 is present for follower follower80 11:13:53,160 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Sending AppendEntries to follower follower80: AppendEntries [leaderId=leader79, 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] [02/27/2024 11:13:53.160] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:53,279 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): sendAppendEntries: 2 is present for follower follower80 11:13:53,279 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Sending AppendEntries to follower follower80: AppendEntries [leaderId=leader79, 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] [02/27/2024 11:13:53.280] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:53,292 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:53,292 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:53,292 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:13:53,293 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower81: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:13:53,293 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:13:53,293 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): sendAppendEntries: 2 is present for follower follower80 [WARN] [02/27/2024 11:13:53.293] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:53,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:53,400 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower80: Lagging -1 entries behind leader leader79 and reached 0 (of expected -1) 11:13:53,400 AM [test-akka.actor.default-dispatcher-5] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower80, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 409, lastApplied : 1, commitIndex : 1 11:13:53,400 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): sendAppendEntries: 2 is present for follower follower80 11:13:53,400 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Sending AppendEntries to follower follower80: AppendEntries [leaderId=leader79, 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] [02/27/2024 11:13:53.400] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader79]: AppendEntries [leaderId=leader79, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): handleAppendEntries: AppendEntries [leaderId=leader79, 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:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Number of entries to be appended = 3 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Append entry to log two 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Append entry to log three 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Append entry to log four 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Log size is now 5 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Commit index set to 1 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower80, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower80: Lagging 0 entries behind leader leader79 and reached 1 (of expected -1) 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Setting last applied to 1 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Moving last applied index from 0 to 1 11:13:53,401 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Applying state for log index 1 data one 11:13:53,401 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower80 updated: matchIndex: 4, nextIndex: 5 11:13:53,401 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 11:13:53,401 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Setting last applied to 2 11:13:53,401 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Moving last applied index from 1 to 2 11:13:53,401 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Applying state for log index 2 data two 11:13:53,402 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: applyState called: one 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: applyState called: two 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Setting last applied to 3 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Moving last applied index from 2 to 3 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Applying state for log index 3 data three 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: applyState called: three 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Setting last applied to 4 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Moving last applied index from 3 to 4 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Applying state for log index 4 data four 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: applyState called: four 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Checking sendAppendEntries for follower follower80: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:13:53,402 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Persisting ApplyJournalEntries with index=4 11:13:53,403 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Persisting ApplyJournalEntries with index=1 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Commit index set to 4 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower80: Lagging 0 entries behind leader leader79 and reached 4 (of expected -1) 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Setting last applied to 2 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Moving last applied index from 1 to 2 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Applying state for log index 2 data two 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: applyState called: two 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Setting last applied to 3 11:13:53,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Moving last applied index from 2 to 3 11:13:53,405 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Applying state for log index 3 data three 11:13:53,405 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: applyState called: three 11:13:53,405 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80 (Follower): Setting last applied to 4 11:13:53,405 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Moving last applied index from 3 to 4 11:13:53,405 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Applying state for log index 4 data four 11:13:53,405 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: applyState called: four 11:13:53,405 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower80: Persisting ApplyJournalEntries with index=4 11:13:53,444 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: CaptureSnapshotReply received by actor 11:13:53,444 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader79, ServerConfigPayload=null] 11:13:53,445 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 11:13:53,445 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 11:13:53,445 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 11:13:53,445 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Snapshot success - sequence number: 7 11:13:53,445 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: SnapshotComplete received 11:13:53,445 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: handled a snapshot response 11:13:53,446 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: handled a journal response [WARN] [02/27/2024 11:13:53.509] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader79]: org.opendaylight.controller.cluster.common.actor.Monitor@6de6db67 11:13:53,509 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader79 with journal batch size 1000 11:13:53,510 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: SnapshotOffer called. 11:13:53,510 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Moving last applied index from -1 to 1 11:13:53,510 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Set currentTerm=1, votedFor=leader79 11:13:53,511 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader79 in 197.2 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 11:13:53,512 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Received ReplicatedLogEntry for recovery: index: 4, size: 4 11:13:53,512 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Received apply journal entries for recovery, applying to state: 2 to 4 11:13:53,512 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Moving last applied index from 1 to 4 11:13:53,513 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Recovery completed in 2.432 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 11:13:53,513 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower80-collector82#-876820907] 11:13:53,514 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Follower): Received TimeoutNow - switching to Candidate 11:13:53,514 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate): Election: Candidate has following voting peers: [] 11:13:53,514 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79: Set currentTerm=2, votedFor=leader79 11:13:53,514 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate): Starting new election term 2 11:13:53,514 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 11:13:53,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate): Received ElectionTimeout 11:13:53,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Leader): Election: Leader has following peers: [] 11:13:53,515 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader79 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 11:13:53,525 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower80] 11:13:53,525 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader79-collector83#-785457151] 11:13:53,526 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader79] 11:13:53,526 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader79-collector84#-217916002] 11:13:53,526 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader79] 11:13:53,527 AM [test-akka.actor.default-dispatcher-15] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [02/27/2024 11:13:53.527] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 11:13:53,530 AM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Exiting completed [WARN] [02/27/2024 11:13:53.531] [test-akka.actor.default-dispatcher-15] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.238:25520) [INFO] [02/27/2024 11:13:53.530] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Exiting completed [INFO] [02/27/2024 11:13:53.530] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Shutting down... [INFO] [02/27/2024 11:13:53.531] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Successfully shut down 11:13:53,531 AM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Shutting down... 11:13:53,531 AM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Successfully shut down [INFO] [02/27/2024 11:13:53.536] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.238:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [02/27/2024 11:13:53.536] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.238:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 11:13:53,538 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 11:13:53,538 AM [test-akka.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 11:13:53,540 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [02/27/2024 11:13:53.540] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.238:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [02/27/2024 11:13:53.540] [test-akka.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger