04:58:36,594 PM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/26/2024 16:58:36.593] [main] [EventStream(akka://test)] logger log1-TestEventListener started [DEBUG] [03/26/2024 16:58:36.595] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/26/2024 16:58:36.595] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/26/2024 16:58:36.623] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.176:25520] with UID [-171060285939968900] [INFO] [03/26/2024 16:58:36.625] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.176:25520] - Starting up, Akka version [2.6.21] ... 04:58:36,628 PM [test-akka.actor.default-dispatcher-9] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.176:25520] with UID [-171060285939968900] 04:58:36,628 PM [test-akka.actor.default-dispatcher-9] [INFO] Cluster - Cluster Node [akka://test@10.30.171.176:25520] - Starting up, Akka version [2.6.21] ... 04:58:36,639 PM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.171.176:25520] - Registered cluster JMX MBean [akka:type=Cluster] 04:58:36,639 PM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.171.176:25520] - Started up successfully 04:58:36,639 PM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.171.176:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 04:58:36,639 PM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.171.176:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [03/26/2024 16:58:36.630] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.176:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/26/2024 16:58:36.630] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.176:25520] - Started up successfully [INFO] [03/26/2024 16:58:36.632] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.176:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/26/2024 16:58:36.632] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.176:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [03/26/2024 16:58:36.664] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower542]: org.opendaylight.controller.cluster.common.actor.Monitor@10ab2ce2 [INFO] [akkaDeadLetter][03/26/2024 16:58:36.665] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower542] 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'. 04:58:36,668 PM [test-akka.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower542] 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'. 04:58:36,674 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower542 with journal batch size 1000 04:58:36,680 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/26/2024 16:58:36.758] [test-akka.actor.default-dispatcher-9] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader541]: org.opendaylight.controller.cluster.common.actor.Monitor@3fd82c9b [INFO] [akkaDeadLetter][03/26/2024 16:58:36.759] [test-akka.actor.default-dispatcher-9] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader541] 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'. 04:58:36,759 PM [test-akka.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader541] 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'. 04:58:36,759 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader541 with journal batch size 1000 04:58:36,764 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 04:58:37,257 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:58:37,257 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.176:25520, Removed) 04:58:37,257 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Follower): Received ElectionTimeout - switching to Candidate 04:58:37,257 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate): Election: Candidate has following voting peers: [follower542, follower543] 04:58:37,257 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Set currentTerm=1, votedFor=leader541 04:58:37,257 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate): Starting new election term 1 04:58:37,257 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate): Sending RequestVote [term=1, candidateId=leader541, lastLogIndex=-1, lastLogTerm=-1] to peer follower542 04:58:37,257 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 04:58:37,258 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate): Sending RequestVote [term=1, candidateId=leader541, lastLogIndex=-1, lastLogTerm=-1] to peer follower543 04:58:37,258 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Cluster state: [] 04:58:37,258 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 04:58:37,258 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader541, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 04:58:37,258 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader541, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 04:58:37,258 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Set currentTerm=1, votedFor=null 04:58:37,258 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): In requestVote: RequestVote [term=1, candidateId=leader541, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 04:58:37,258 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Set currentTerm=1, votedFor=leader541 04:58:37,258 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [03/26/2024 16:58:37.258] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: RequestVote [term=1, candidateId=leader541, lastLogIndex=-1, lastLogTerm=-1] 04:58:37,259 PM [test-akka.actor.default-dispatcher-9] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader541] 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'. [INFO] [akkaDeadLetter][03/26/2024 16:58:37.258] [test-akka.actor.default-dispatcher-13] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader541] 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'. 04:58:37,259 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 04:58:37,259 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 04:58:37,259 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Election: Leader has following peers: [follower542, follower543] 04:58:37,259 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:58:37,260 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower543: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:58:37,260 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [03/26/2024 16:58:37.260] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][03/26/2024 16:58:37.261] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] to Actor[akka://test/] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 04:58:37,261 PM [test-akka.actor.default-dispatcher-8] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] to Actor[akka://test/] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 04:58:37,261 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower542: Last sync leader does not match current leader leader541, need to catch up to -1 04:58:37,261 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower542 updated: matchIndex: -1, nextIndex: 0 04:58:37,261 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/26/2024 16:58:37.261] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower542] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@48aaef9f [INFO] [akkaDeadLetter][03/26/2024 16:58:37.262] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower542] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower542] 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'. 04:58:37,262 PM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower542] 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'. 04:58:37,269 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:37,269 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:37,269 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:37,269 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:37,269 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): sendAppendEntries: 0 is present for follower follower542 04:58:37,269 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Sending AppendEntries to follower follower542: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 04:58:37,269 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower543: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:37,269 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): handleAppendEntries: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 04:58:37,269 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Number of entries to be appended = 1 04:58:37,269 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 04:58:37,269 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Append entry to log zero 04:58:37,269 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Log size is now 1 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower542, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower542: Lagging 0 entries behind leader leader541 and reached -1 (of expected -1) 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower542 updated: matchIndex: 0, nextIndex: 1 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Setting last applied to 0 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Moving last applied index from -1 to 0 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Applying state for log index 0 data zero 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: applyState called: zero 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persisting ApplyJournalEntries with index=0 04:58:37,270 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/26/2024 16:58:37.271] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower542] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@30262cf [WARN] [03/26/2024 16:58:37.271] [test-akka.actor.default-dispatcher-9] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:37,271 PM [test-akka.actor.default-dispatcher-5] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/26/2024 16:58:37.271] [test-akka.actor.default-dispatcher-9] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] 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'. 04:58:37,271 PM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower542] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/26/2024 16:58:37.271] [test-akka.actor.default-dispatcher-9] [akka://test/user/follower542] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower542] 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'. 04:58:37,321 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:37,321 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:37,321 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:37,321 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:37,322 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): sendAppendEntries: 1 is present for follower follower542 04:58:37,322 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Sending AppendEntries to follower follower542: AppendEntries [leaderId=leader541, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 04:58:37,322 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower543: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): handleAppendEntries: AppendEntries [leaderId=leader541, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Number of entries to be appended = 1 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Append entry to log one 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Log size is now 2 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Commit index set to 0 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower542, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower542: Lagging 0 entries behind leader leader541 and reached 0 (of expected -1) 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Setting last applied to 0 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Moving last applied index from -1 to 0 04:58:37,322 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Applying state for log index 0 data zero [WARN] [03/26/2024 16:58:37.322] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:37,323 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: applyState called: zero 04:58:37,323 PM [test-akka.actor.default-dispatcher-13] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] 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'. [INFO] [akkaDeadLetter][03/26/2024 16:58:37.323] [test-akka.actor.default-dispatcher-18] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] 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'. 04:58:37,323 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower542 updated: matchIndex: 1, nextIndex: 2 04:58:37,323 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:37,323 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:37,323 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 04:58:37,323 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Setting last applied to 1 04:58:37,323 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Moving last applied index from 0 to 1 04:58:37,323 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Applying state for log index 1 data one 04:58:37,324 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:37,324 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Persisting ApplyJournalEntries with index=0 04:58:37,324 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: applyState called: one 04:58:37,324 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persisting ApplyJournalEntries with index=1 04:58:37,372 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:37,372 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:37,372 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:37,372 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:37,372 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): sendAppendEntries: 2 is present for follower follower542 04:58:37,372 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Sending AppendEntries to follower follower542: AppendEntries [leaderId=leader541, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 04:58:37,372 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower543: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:37,373 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:37,373 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): handleAppendEntries: AppendEntries [leaderId=leader541, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Number of entries to be appended = 1 04:58:37,373 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Append entry to log two 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:37,373 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 04:58:37,373 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): sendAppendEntries: 2 is present for follower follower542 04:58:37,373 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower543: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Log size is now 3 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Commit index set to 1 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower542, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower542: Lagging 0 entries behind leader leader541 and reached 1 (of expected -1) 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Setting last applied to 1 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Moving last applied index from 0 to 1 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Applying state for log index 1 data one 04:58:37,373 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower542 updated: matchIndex: 2, nextIndex: 3 04:58:37,373 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: applyState called: one 04:58:37,373 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 04:58:37,373 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): sendAppendEntries: 3 is present for follower follower542 [WARN] [03/26/2024 16:58:37.373] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:37,373 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Sending AppendEntries to follower follower542: AppendEntries [leaderId=leader541, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/26/2024 16:58:37.373] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][03/26/2024 16:58:37.374] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] 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'. [INFO] [akkaDeadLetter][03/26/2024 16:58:37.374] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] 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'. 04:58:37,374 PM [test-akka.actor.default-dispatcher-6] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] 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'. 04:58:37,374 PM [test-akka.actor.default-dispatcher-6] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader541] 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'. 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:37,375 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:37,375 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 04:58:37,375 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Setting last applied to 2 04:58:37,375 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Moving last applied index from 1 to 2 04:58:37,375 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Applying state for log index 2 data two 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Persisting ApplyJournalEntries with index=1 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): handleAppendEntries: AppendEntries [leaderId=leader541, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Number of entries to be appended = 1 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Append entry to log three 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Log size is now 4 04:58:37,375 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: applyState called: two 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower542, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:37,375 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower542: Lagging 0 entries behind leader leader541 and reached 1 (of expected -1) 04:58:37,375 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persisting ApplyJournalEntries with index=2 04:58:37,379 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower542 updated: matchIndex: 3, nextIndex: 4 04:58:37,379 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: lastSequenceNumber prior to capture: 7 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Setting last applied to 3 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Moving last applied index from 2 to 3 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Applying state for log index 3 data three [WARN] [03/26/2024 16:58:37.380] [test-akka.actor.default-dispatcher-9] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: applyState called: three 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: CaptureSnapshotReply received by actor 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: 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=leader541, ServerConfigPayload=null] 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 04:58:37,380 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persisting ApplyJournalEntries with index=3 04:58:37,380 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 04:58:37,382 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Snapshot success - sequence number: 7 04:58:37,382 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: SnapshotComplete received 04:58:37,383 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: handled a snapshot response 04:58:37,383 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: handled a journal response 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Commit index set to 2 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower542: Lagging 0 entries behind leader leader541 and reached 2 (of expected -1) 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Setting last applied to 2 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Moving last applied index from 1 to 2 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Applying state for log index 2 data two 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: applyState called: two 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Persisting ApplyJournalEntries with index=2 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Commit index set to 3 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower542: Lagging 0 entries behind leader leader541 and reached 3 (of expected -1) 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542 (Follower): Setting last applied to 3 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Moving last applied index from 2 to 3 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Applying state for log index 3 data three 04:58:37,383 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: applyState called: three 04:58:37,383 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower542: Persisting ApplyJournalEntries with index=3 04:58:37,435 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:37,435 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:37,435 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:37,435 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 04:58:37,435 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): sendAppendEntries: 4 is present for follower follower542 04:58:37,435 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Sending AppendEntries to follower follower542: AppendEntries [leaderId=leader541, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 04:58:37,436 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower543: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 04:58:37,436 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 04:58:37,436 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 04:58:37,436 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true [WARN] [03/26/2024 16:58:37.436] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower542] received dead letter from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 04:58:37,436 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 04:58:37,436 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): sendAppendEntries: 4 is present for follower follower542 04:58:37,436 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower543: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 [WARN] [03/26/2024 16:58:37.439] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/26/2024 16:58:37.443] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): sendAppendEntries: 4 is present for follower follower542 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower543: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower542: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): sendAppendEntries: 4 is present for follower follower542 04:58:37,444 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Checking sendAppendEntries for follower follower543: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 04:58:37,445 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:37,445 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] [WARN] [03/26/2024 16:58:37.445] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/26/2024 16:58:37.445] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader541]: AppendEntries [leaderId=leader541, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:37,455 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] [WARN] [03/26/2024 16:58:37.457] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader541]: org.opendaylight.controller.cluster.common.actor.Monitor@402808cc 04:58:37,458 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader541 with journal batch size 1000 [WARN] [03/26/2024 16:58:37.459] [test-akka.actor.default-dispatcher-13] [akka://test/user/leader541] received dead letter from Actor[akka://test/system/mock-journal#-1981754698]: WriteMessagesSuccessful [WARN] [03/26/2024 16:58:37.459] [test-akka.actor.default-dispatcher-13] [akka://test/user/leader541] received dead letter: WriteMessageSuccess(PersistentRepr(leader541,14,686ecf5f-448e-4e66-b1fd-57997ee1d876,0,None),44) 04:58:37,462 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: SnapshotOffer called. 04:58:37,462 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Moving last applied index from -1 to 2 04:58:37,462 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Set currentTerm=1, votedFor=leader541 04:58:37,462 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader541 in 345.6 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 04:58:37,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Received apply journal entries for recovery, applying to state: 3 to 2 04:58:37,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Moving last applied index from 2 to 2 04:58:37,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Received apply journal entries for recovery, applying to state: 3 to 3 04:58:37,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Moving last applied index from 2 to 3 04:58:37,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Received ReplicatedLogEntry for recovery: index: 4, size: 4 04:58:37,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Received ReplicatedLogEntry for recovery: index: 5, size: 4 04:58:37,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Received ReplicatedLogEntry for recovery: index: 4, size: 7 04:58:37,471 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Received ReplicatedLogEntry for recovery: index: 5, size: 7 04:58:37,472 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Recovery completed in 9.938 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 04:58:37,472 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Follower): Received TimeoutNow - switching to Candidate 04:58:37,472 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate): Election: Candidate has following voting peers: [] 04:58:37,472 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541: Set currentTerm=2, votedFor=leader541 04:58:37,472 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate): Starting new election term 2 04:58:37,472 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 04:58:37,472 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower542-collector544#1793906097] 04:58:37,473 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate): Received ElectionTimeout 04:58:37,473 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Leader): Election: Leader has following peers: [] 04:58:37,473 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader541 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:58:37,484 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower542] 04:58:37,484 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader541-collector545#-964203921] 04:58:37,484 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader541] 04:58:37,484 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader541-collector546#-1625396714] 04:58:37,485 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader541] [WARN] [03/26/2024 16:58:37.488] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower548]: org.opendaylight.controller.cluster.common.actor.Monitor@526a0fa1 04:58:37,489 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower548 with journal batch size 1000 [WARN] [03/26/2024 16:58:37.491] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader547]: org.opendaylight.controller.cluster.common.actor.Monitor@3b4eaa4d 04:58:37,491 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 04:58:37,491 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader547 with journal batch size 1000 04:58:37,493 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 04:58:37,957 PM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:58:37,957 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.176:25520, Removed) 04:58:37,957 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Follower): Received ElectionTimeout - switching to Candidate 04:58:37,957 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate): Election: Candidate has following voting peers: [follower549, follower548] 04:58:37,957 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Set currentTerm=1, votedFor=leader547 04:58:37,957 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate): Starting new election term 1 04:58:37,958 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate): Sending RequestVote [term=1, candidateId=leader547, lastLogIndex=-1, lastLogTerm=-1] to peer follower549 04:58:37,958 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate): Sending RequestVote [term=1, candidateId=leader547, lastLogIndex=-1, lastLogTerm=-1] to peer follower548 04:58:37,958 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 04:58:37,958 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 04:58:37,958 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Cluster state: [] [WARN] [03/26/2024 16:58:37.958] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: RequestVote [term=1, candidateId=leader547, lastLogIndex=-1, lastLogTerm=-1] 04:58:37,958 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader547, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 04:58:37,958 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader547, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 04:58:37,958 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Set currentTerm=1, votedFor=null 04:58:37,958 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): In requestVote: RequestVote [term=1, candidateId=leader547, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 04:58:37,958 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Set currentTerm=1, votedFor=leader547 04:58:37,959 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 04:58:37,959 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 04:58:37,959 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 04:58:37,959 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Election: Leader has following peers: [follower549, follower548] 04:58:37,960 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower549: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:58:37,960 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:58:37,960 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 04:58:37,960 PM [test-akka.actor.default-dispatcher-9] [DEBUG] SyncStatusTracker - follower548: Last sync leader does not match current leader leader547, need to catch up to -1 04:58:37,960 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower548 updated: matchIndex: -1, nextIndex: 0 04:58:37,960 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/26/2024 16:58:37.960] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/26/2024 16:58:37.960] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower548] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1c291d67 04:58:37,998 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:37,998 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:37,998 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:37,998 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower549: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:37,998 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:37,998 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): sendAppendEntries: 0 is present for follower follower548 04:58:37,998 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Sending AppendEntries to follower follower548: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 04:58:37,999 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): handleAppendEntries: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 04:58:37,999 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Number of entries to be appended = 1 04:58:37,999 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 04:58:37,999 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Append entry to log zero 04:58:37,999 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/26/2024 16:58:37.998] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:37,999 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Log size is now 1 04:58:37,999 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower548, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:37,999 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower548: Lagging 0 entries behind leader leader547 and reached -1 (of expected -1) 04:58:37,999 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower548 updated: matchIndex: 0, nextIndex: 1 04:58:37,999 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:37,999 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:37,999 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 04:58:37,999 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Setting last applied to 0 04:58:37,999 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Moving last applied index from -1 to 0 04:58:37,999 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Applying state for log index 0 data zero 04:58:37,999 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:37,999 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: applyState called: zero 04:58:37,999 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Persisting ApplyJournalEntries with index=0 [WARN] [03/26/2024 16:58:37.999] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower548] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4a58a675 04:58:38,49 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:38,49 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:38,49 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:38,49 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower549: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:38,49 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:38,49 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): sendAppendEntries: 1 is present for follower follower548 04:58:38,49 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Sending AppendEntries to follower follower548: AppendEntries [leaderId=leader547, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): handleAppendEntries: AppendEntries [leaderId=leader547, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Number of entries to be appended = 1 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Append entry to log one 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Log size is now 2 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Commit index set to 0 [WARN] [03/26/2024 16:58:38.049] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower548, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower548: Lagging 0 entries behind leader leader547 and reached 0 (of expected -1) 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 04:58:38,49 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Setting last applied to 0 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Moving last applied index from -1 to 0 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Applying state for log index 0 data zero 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: applyState called: zero 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower548 updated: matchIndex: 1, nextIndex: 2 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Setting last applied to 1 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Moving last applied index from 0 to 1 04:58:38,50 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Applying state for log index 1 data one 04:58:38,51 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: applyState called: one 04:58:38,51 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:38,51 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Persisting ApplyJournalEntries with index=1 04:58:38,51 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Persisting ApplyJournalEntries with index=0 [WARN] [03/26/2024 16:58:38.077] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:38,99 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:38,99 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:38,99 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:38,99 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower549: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:38,99 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:38,99 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): sendAppendEntries: 2 is present for follower follower548 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Sending AppendEntries to follower follower548: AppendEntries [leaderId=leader547, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [03/26/2024 16:58:38.100] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower549: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): sendAppendEntries: 2 is present for follower follower548 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower549: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): sendAppendEntries: 2 is present for follower follower548 [WARN] [03/26/2024 16:58:38.100] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:38,100 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [03/26/2024 16:58:38.100] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:38,101 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:38,101 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 04:58:38,101 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: lastSequenceNumber prior to capture: 7 04:58:38,101 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: CaptureSnapshotReply received by actor 04:58:38,101 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader547, ServerConfigPayload=null] 04:58:38,101 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 04:58:38,101 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 04:58:38,101 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:38,102 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 04:58:38,102 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Snapshot success - sequence number: 7 04:58:38,102 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: SnapshotComplete received 04:58:38,102 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: handled a snapshot response 04:58:38,102 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: handled a journal response 04:58:38,197 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): sendAppendEntries: 2 is present for follower follower548 [WARN] [03/26/2024 16:58:38.197] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:38,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): sendAppendEntries: 2 is present for follower follower548 04:58:38,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Sending AppendEntries to follower follower548: AppendEntries [leaderId=leader547, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/26/2024 16:58:38.317] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:38,437 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): sendAppendEntries: 2 is present for follower follower548 04:58:38,437 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Sending AppendEntries to follower follower548: AppendEntries [leaderId=leader547, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/26/2024 16:58:38.437] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:38,557 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower548: Lagging -1 entries behind leader leader547 and reached 0 (of expected -1) [WARN] [03/26/2024 16:58:38.557] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader547]: AppendEntries [leaderId=leader547, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:38,557 PM [test-akka.actor.default-dispatcher-8] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower548, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 507, lastApplied : 1, commitIndex : 1 04:58:38,558 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): sendAppendEntries: 2 is present for follower follower548 04:58:38,558 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Sending AppendEntries to follower follower548: AppendEntries [leaderId=leader547, 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]]] 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): handleAppendEntries: AppendEntries [leaderId=leader547, 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]]] 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Number of entries to be appended = 3 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Append entry to log two 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Append entry to log three 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Append entry to log four 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Log size is now 5 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Commit index set to 1 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower548, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower548: Lagging 0 entries behind leader leader547 and reached 1 (of expected -1) 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Setting last applied to 1 04:58:38,558 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Moving last applied index from 0 to 1 04:58:38,559 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Applying state for log index 1 data one 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower548 updated: matchIndex: 4, nextIndex: 5 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Setting last applied to 2 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Moving last applied index from 1 to 2 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Applying state for log index 2 data two 04:58:38,559 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: applyState called: one 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: applyState called: two 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Setting last applied to 3 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Moving last applied index from 2 to 3 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Applying state for log index 3 data three 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: applyState called: three 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Setting last applied to 4 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Moving last applied index from 3 to 4 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Applying state for log index 4 data four 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: applyState called: four 04:58:38,559 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Checking sendAppendEntries for follower follower548: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 04:58:38,560 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Persisting ApplyJournalEntries with index=4 04:58:38,560 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:38,560 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:38,560 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:38,560 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Persisting ApplyJournalEntries with index=1 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Commit index set to 4 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower548: Lagging 0 entries behind leader leader547 and reached 4 (of expected -1) 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Setting last applied to 2 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Moving last applied index from 1 to 2 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Applying state for log index 2 data two 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: applyState called: two 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Setting last applied to 3 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Moving last applied index from 2 to 3 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Applying state for log index 3 data three 04:58:38,561 PM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: applyState called: three 04:58:38,562 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548 (Follower): Setting last applied to 4 04:58:38,562 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Moving last applied index from 3 to 4 04:58:38,562 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Applying state for log index 4 data four 04:58:38,562 PM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: applyState called: four 04:58:38,562 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower548: Persisting ApplyJournalEntries with index=4 04:58:38,578 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader547 with journal batch size 1000 [WARN] [03/26/2024 16:58:38.578] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader547]: org.opendaylight.controller.cluster.common.actor.Monitor@3ec15f4b 04:58:38,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: SnapshotOffer called. 04:58:38,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Moving last applied index from -1 to 1 04:58:38,579 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Set currentTerm=1, votedFor=leader547 04:58:38,579 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader547 in 79.20 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 04:58:38,581 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Received ReplicatedLogEntry for recovery: index: 4, size: 4 04:58:38,581 PM [test-akka.actor.default-dispatcher-6] [WARN] AbstractReplicatedLogImpl - leader547: 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) 04:58:38,581 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Received apply journal entries for recovery, applying to state: 2 to 4 04:58:38,581 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Moving last applied index from 1 to 4 04:58:38,582 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Recovery completed in 2.459 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 04:58:38,582 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Follower): Received TimeoutNow - switching to Candidate 04:58:38,582 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate): Election: Candidate has following voting peers: [] 04:58:38,582 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547: Set currentTerm=2, votedFor=leader547 04:58:38,582 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate): Starting new election term 2 04:58:38,582 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 04:58:38,583 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate): Received ElectionTimeout 04:58:38,583 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Leader): Election: Leader has following peers: [] 04:58:38,583 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader547 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:58:38,677 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower548-collector550#951573289] 04:58:38,688 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower548] 04:58:38,688 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader547-collector551#-1958966266] 04:58:38,689 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader547] 04:58:38,689 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader547-collector552#-571253038] 04:58:38,689 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader547] [WARN] [03/26/2024 16:58:38.693] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower554]: org.opendaylight.controller.cluster.common.actor.Monitor@2faeec3d 04:58:38,694 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower554 with journal batch size 1000 04:58:38,696 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/26/2024 16:58:38.795] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader553]: org.opendaylight.controller.cluster.common.actor.Monitor@6c085d38 04:58:38,796 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader553 with journal batch size 1000 04:58:38,797 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 04:58:39,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:58:39,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.176:25520, Removed) 04:58:39,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Follower): Received ElectionTimeout - switching to Candidate 04:58:39,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Candidate): Election: Candidate has following voting peers: [follower555, follower554] 04:58:39,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Set currentTerm=1, votedFor=leader553 04:58:39,317 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Candidate): Starting new election term 1 04:58:39,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Candidate): Sending RequestVote [term=1, candidateId=leader553, lastLogIndex=-1, lastLogTerm=-1] to peer follower555 04:58:39,317 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Candidate): Sending RequestVote [term=1, candidateId=leader553, lastLogIndex=-1, lastLogTerm=-1] to peer follower554 04:58:39,318 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 04:58:39,318 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 04:58:39,318 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Cluster state: [] 04:58:39,318 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader553, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 04:58:39,318 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader553, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 04:58:39,318 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Set currentTerm=1, votedFor=null 04:58:39,318 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): In requestVote: RequestVote [term=1, candidateId=leader553, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 04:58:39,318 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Set currentTerm=1, votedFor=leader553 04:58:39,318 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [03/26/2024 16:58:39.318] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader553]: RequestVote [term=1, candidateId=leader553, lastLogIndex=-1, lastLogTerm=-1] 04:58:39,319 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 04:58:39,319 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 04:58:39,320 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Election: Leader has following peers: [follower555, follower554] 04:58:39,320 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower555: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:58:39,320 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower554: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:58:39,320 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 04:58:39,320 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower554: Last sync leader does not match current leader leader553, need to catch up to -1 04:58:39,320 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower554 updated: matchIndex: -1, nextIndex: 0 04:58:39,320 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower554: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/26/2024 16:58:39.321] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower554] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@16543188 [WARN] [03/26/2024 16:58:39.321] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader553]: AppendEntries [leaderId=leader553, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:39,348 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:39,348 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:39,348 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:39,348 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower555: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:39,348 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower554: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:39,348 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): sendAppendEntries: 0 is present for follower follower554 04:58:39,348 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Sending AppendEntries to follower follower554: AppendEntries [leaderId=leader553, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 04:58:39,348 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): handleAppendEntries: AppendEntries [leaderId=leader553, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Number of entries to be appended = 1 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 [WARN] [03/26/2024 16:58:39.348] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader553]: AppendEntries [leaderId=leader553, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Append entry to log zero 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Log size is now 1 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower554, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower554: Lagging 0 entries behind leader leader553 and reached -1 (of expected -1) 04:58:39,349 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower554 updated: matchIndex: 0, nextIndex: 1 04:58:39,349 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower554: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Setting last applied to 0 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Moving last applied index from -1 to 0 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Applying state for log index 0 data zero 04:58:39,349 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: applyState called: zero 04:58:39,350 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Persisting ApplyJournalEntries with index=0 04:58:39,350 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/26/2024 16:58:39.350] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower554] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2f92d3b7 04:58:39,399 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:39,399 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:39,399 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:39,399 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower555: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:39,399 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower554: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:39,399 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): sendAppendEntries: 1 is present for follower follower554 04:58:39,399 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Sending AppendEntries to follower follower554: AppendEntries [leaderId=leader553, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 04:58:39,399 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): handleAppendEntries: AppendEntries [leaderId=leader553, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Number of entries to be appended = 1 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 [WARN] [03/26/2024 16:58:39.399] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader553]: AppendEntries [leaderId=leader553, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Append entry to log one 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Log size is now 2 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Commit index set to 0 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower554, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower554: Lagging 0 entries behind leader leader553 and reached 0 (of expected -1) 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Setting last applied to 0 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Moving last applied index from -1 to 0 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Applying state for log index 0 data zero 04:58:39,400 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower554 updated: matchIndex: 1, nextIndex: 2 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: applyState called: zero 04:58:39,400 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower554: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:39,400 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:39,401 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 04:58:39,401 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Setting last applied to 1 04:58:39,401 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Moving last applied index from 0 to 1 04:58:39,401 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Applying state for log index 1 data one 04:58:39,401 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: applyState called: one 04:58:39,401 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Persisting ApplyJournalEntries with index=1 04:58:39,401 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:39,401 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Persisting ApplyJournalEntries with index=0 [WARN] [03/26/2024 16:58:39.437] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader553]: AppendEntries [leaderId=leader553, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/26/2024 16:58:39.452] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower555]: org.opendaylight.controller.cluster.common.actor.Monitor@8918be5 04:58:39,452 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower555 with journal batch size 1000 04:58:39,454 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 04:58:39,552 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower555 set to akka://test/user/follower555 04:58:39,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:39,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:39,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:39,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower555: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:39,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower554: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:39,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): sendAppendEntries: 2 is present for follower follower554 04:58:39,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Sending AppendEntries to follower follower554: AppendEntries [leaderId=leader553, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 04:58:39,552 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Term 1 in "AppendEntries [leaderId=leader553, 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 04:58:39,553 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=null 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): handleAppendEntries: AppendEntries [leaderId=leader553, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Number of entries to be appended = 1 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Append entry to log two 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Log size is now 3 04:58:39,553 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower555: Last sync leader does not match current leader leader553, need to catch up to -1 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Commit index set to 1 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower554, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower554: Lagging 0 entries behind leader leader553 and reached 1 (of expected -1) 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Setting last applied to 1 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Moving last applied index from 0 to 1 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Applying state for log index 1 data one 04:58:39,553 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: -1, nextIndex: 0 04:58:39,553 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: applyState called: one 04:58:39,553 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:39,553 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): sendAppendEntries: 0 is present for follower follower555 04:58:39,553 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader553, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, 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]]] 04:58:39,553 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower554 updated: matchIndex: 2, nextIndex: 3 04:58:39,553 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower554: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:39,554 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:39,554 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 04:58:39,554 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Setting last applied to 2 04:58:39,554 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Moving last applied index from 1 to 2 04:58:39,554 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Applying state for log index 2 data two 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader553, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, 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]]] 04:58:39,554 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: applyState called: two 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 3 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log zero 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:39,554 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Persisting ApplyJournalEntries with index=2 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log one 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:39,554 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log two 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 3 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 1 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:39,554 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Persisting ApplyJournalEntries with index=1 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader553 and reached 1 (of expected -1) 04:58:39,554 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 2 04:58:39,555 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 0 04:58:39,555 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from -1 to 0 04:58:39,555 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 0 data zero 04:58:39,555 PM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: zero 04:58:39,555 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 1 04:58:39,555 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 0 to 1 04:58:39,555 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 1 data one 04:58:39,555 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 2, nextIndex: 3 04:58:39,555 PM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: one [WARN] [03/26/2024 16:58:39.555] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@597b7534 04:58:39,555 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: fakeSnapshot purging log to 1 for term 1 04:58:39,555 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 04:58:39,555 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:39,555 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:39,555 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:39,555 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=1 04:58:39,556 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 2 04:58:39,556 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader553 and reached 2 (of expected -1) 04:58:39,556 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 04:58:39,556 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 2 04:58:39,556 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 1 to 2 04:58:39,556 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 2 data two [WARN] [03/26/2024 16:58:39.556] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@74b6c302 04:58:39,556 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: two 04:58:39,556 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: fakeSnapshot purging log to 1 for term 1 04:58:39,556 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=2 04:58:39,616 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower555 with journal batch size 1000 [WARN] [03/26/2024 16:58:39.616] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower555]: org.opendaylight.controller.cluster.common.actor.Monitor@73c4a3f9 04:58:39,618 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 04:58:39,677 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Commit index set to 2 04:58:39,677 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower554: Lagging 0 entries behind leader leader553 and reached 2 (of expected -1) 04:58:39,677 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 04:58:39,677 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554 (Follower): Setting last applied to 2 04:58:39,677 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Moving last applied index from 1 to 2 04:58:39,677 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Term 1 in "AppendEntries [leaderId=leader553, 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 04:58:39,678 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Applying state for log index 2 data two 04:58:39,678 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=null 04:58:39,678 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: applyState called: two 04:58:39,678 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: fakeSnapshot purging log to 1 for term 1 04:58:39,678 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): The followers log is empty and the senders prevLogIndex is 2 04:58:39,678 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower554: Persisting ApplyJournalEntries with index=2 04:58:39,678 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower555, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:39,678 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower555: Last sync leader does not match current leader leader553, need to catch up to 2 04:58:39,678 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower555, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 04:58:39,678 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: -1, nextIndex: 0 04:58:39,678 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): follower follower555 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 04:58:39,678 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 04:58:39,679 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Initiating install snapshot to follower follower555: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 04:58:39,679 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: 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 follower555 04:58:39,679 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: lastSequenceNumber prior to capture: 7 [WARN] [03/26/2024 16:58:39.680] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1535fb12 04:58:39,681 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: CaptureSnapshotReply received by actor 04:58:39,681 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 04:58:39,681 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower555, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:39,681 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: 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=leader553, ServerConfigPayload=null] 04:58:39,681 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 04:58:39,681 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): sendInstallSnapshot 04:58:39,681 PM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader553 (Leader): Snapshot 345 bytes, total chunks to send: 1 04:58:39,681 PM [test-akka.actor.default-dispatcher-13] [DEBUG] LeaderInstallSnapshotState - leader553 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 04:58:39,681 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): next snapshot chunk size for follower follower555: 345 04:58:39,681 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): InstallSnapshot sent to follower Vector(user, follower555), Chunk: 1/1 04:58:39,681 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader553, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 04:58:39,681 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 04:58:39,681 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower555, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 04:58:39,681 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Snapshot installed from leader: leader553 04:58:39,682 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): follower follower555 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 04:58:39,682 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 04:58:39,682 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: Snapshot success - sequence number: 7 04:58:39,682 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: SnapshotComplete received 04:58:39,682 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: handled a journal response 04:58:39,683 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: 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] 04:58:39,683 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 04:58:39,683 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553: handled a snapshot response 04:58:39,683 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 04:58:39,683 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Snapshot success - sequence number: 1 04:58:39,683 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from -1 to 2 04:58:39,683 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=null 04:58:39,683 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applySnapshot called 04:58:39,683 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower555, chunkIndex=1, success=true] 04:58:39,684 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower555, chunkIndex=1, success=true] 04:58:39,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: SnapshotComplete received 04:58:39,684 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader553 (Leader): Snapshot successfully installed on follower follower555 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 04:58:39,684 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: handled a snapshot response 04:58:39,684 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: handled a journal response 04:58:39,719 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower555 set to akka://test/user/follower555 04:58:39,733 PM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower555 with journal batch size 1000 [WARN] [03/26/2024 16:58:39.733] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower555]: org.opendaylight.controller.cluster.common.actor.Monitor@4c60f2f 04:58:39,734 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: SnapshotOffer called. 04:58:39,734 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from -1 to 2 04:58:39,734 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=null 04:58:39,734 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower555 in 122.6 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 04:58:39,735 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Recovery completed in 1.238 ms - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 04:58:39,797 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower554: Lagging 0 entries behind leader leader553 and reached 2 (of expected -1) 04:58:39,797 PM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower555: Last sync leader does not match current leader leader553, need to catch up to 2 [WARN] [03/26/2024 16:58:39.797] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@43871c91 04:58:39,832 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower554-collector556#309037089] 04:58:39,842 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower554] 04:58:39,843 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader553-collector557#159009603] 04:58:39,843 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader553] 04:58:39,843 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower555-collector558#1724715362] 04:58:39,843 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower555] 04:58:39,843 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower555-collector559#1202455459] 04:58:39,843 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower555] 04:58:39,843 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower555-collector560#-1357859076] 04:58:39,844 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower555] 04:58:39,846 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower562 with journal batch size 1000 [WARN] [03/26/2024 16:58:39.846] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower562]: org.opendaylight.controller.cluster.common.actor.Monitor@614ad387 04:58:39,852 PM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 04:58:39,948 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader561 with journal batch size 1000 [WARN] [03/26/2024 16:58:39.948] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader561]: org.opendaylight.controller.cluster.common.actor.Monitor@61bc74af 04:58:39,949 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 04:58:40,407 PM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 04:58:40,407 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.176:25520, Removed) 04:58:40,407 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Follower): Received ElectionTimeout - switching to Candidate 04:58:40,407 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate): Election: Candidate has following voting peers: [follower563, follower562] 04:58:40,407 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Set currentTerm=1, votedFor=leader561 04:58:40,407 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate): Starting new election term 1 04:58:40,407 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate): Sending RequestVote [term=1, candidateId=leader561, lastLogIndex=-1, lastLogTerm=-1] to peer follower563 04:58:40,407 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate): Sending RequestVote [term=1, candidateId=leader561, lastLogIndex=-1, lastLogTerm=-1] to peer follower562 04:58:40,408 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 04:58:40,408 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 04:58:40,408 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Cluster state: [] 04:58:40,408 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader561, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 04:58:40,408 PM [test-akka.actor.default-dispatcher-9] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader561, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 04:58:40,408 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Set currentTerm=1, votedFor=null [WARN] [03/26/2024 16:58:40.408] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: RequestVote [term=1, candidateId=leader561, lastLogIndex=-1, lastLogTerm=-1] 04:58:40,408 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): In requestVote: RequestVote [term=1, candidateId=leader561, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 04:58:40,408 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Set currentTerm=1, votedFor=leader561 04:58:40,408 PM [test-akka.actor.default-dispatcher-9] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 04:58:40,409 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 04:58:40,409 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 04:58:40,409 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Election: Leader has following peers: [follower563, follower562] 04:58:40,409 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower563: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:58:40,409 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 04:58:40,409 PM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 04:58:40,409 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower562: Last sync leader does not match current leader leader561, need to catch up to -1 04:58:40,409 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower562 updated: matchIndex: -1, nextIndex: 0 04:58:40,409 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/26/2024 16:58:40.410] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower562] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5bb0fcaa [WARN] [03/26/2024 16:58:40.413] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,450 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:40,450 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower563: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): sendAppendEntries: 0 is present for follower follower562 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Sending AppendEntries to follower follower562: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): handleAppendEntries: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Number of entries to be appended = 1 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Append entry to log zero 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/26/2024 16:58:40.451] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Log size is now 1 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower562, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:40,451 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower562: Lagging 0 entries behind leader leader561 and reached -1 (of expected -1) 04:58:40,451 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower562 updated: matchIndex: 0, nextIndex: 1 04:58:40,451 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 04:58:40,452 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:40,452 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 04:58:40,452 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Setting last applied to 0 04:58:40,452 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Moving last applied index from -1 to 0 04:58:40,452 PM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 04:58:40,452 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Applying state for log index 0 data zero 04:58:40,452 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: applyState called: zero 04:58:40,452 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Persisting ApplyJournalEntries with index=0 [WARN] [03/26/2024 16:58:40.452] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower562] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@22f3c039 04:58:40,501 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:40,501 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower563: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): sendAppendEntries: 1 is present for follower follower562 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Sending AppendEntries to follower follower562: AppendEntries [leaderId=leader561, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [03/26/2024 16:58:40.502] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): handleAppendEntries: AppendEntries [leaderId=leader561, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Number of entries to be appended = 1 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Append entry to log one 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Log size is now 2 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Commit index set to 0 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower562, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower562: Lagging 0 entries behind leader leader561 and reached 0 (of expected -1) 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Setting last applied to 0 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Moving last applied index from -1 to 0 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Applying state for log index 0 data zero 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: applyState called: zero 04:58:40,502 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower562 updated: matchIndex: 1, nextIndex: 2 04:58:40,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 04:58:40,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:40,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 04:58:40,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Setting last applied to 1 04:58:40,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Moving last applied index from 0 to 1 04:58:40,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Applying state for log index 1 data one 04:58:40,503 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: applyState called: one 04:58:40,503 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 04:58:40,503 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Persisting ApplyJournalEntries with index=1 04:58:40,503 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Persisting ApplyJournalEntries with index=0 [WARN] [03/26/2024 16:58:40.526] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:40,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:40,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:40,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower563: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:40,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 04:58:40,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): sendAppendEntries: 2 is present for follower follower562 04:58:40,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Sending AppendEntries to follower follower562: AppendEntries [leaderId=leader561, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 04:58:40,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:40,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [03/26/2024 16:58:40.552] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:40,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower563: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 04:58:40,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 04:58:40,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): sendAppendEntries: 2 is present for follower follower562 [WARN] [03/26/2024 16:58:40.553] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:40,553 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:40,553 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 04:58:40,554 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: lastSequenceNumber prior to capture: 7 04:58:40,647 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): sendAppendEntries: 2 is present for follower follower562 [WARN] [03/26/2024 16:58:40.647] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,767 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): sendAppendEntries: 2 is present for follower follower562 04:58:40,767 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Sending AppendEntries to follower follower562: AppendEntries [leaderId=leader561, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/26/2024 16:58:40.767] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,886 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): sendAppendEntries: 2 is present for follower follower562 04:58:40,886 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Sending AppendEntries to follower follower562: AppendEntries [leaderId=leader561, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/26/2024 16:58:40.887] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,905 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:40,905 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:40,905 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 04:58:40,905 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower563: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:58:40,905 PM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 [WARN] [03/26/2024 16:58:40.905] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 04:58:40,905 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower562: Lagging -1 entries behind leader leader561 and reached 0 (of expected -1) 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower562, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 403, lastApplied : 1, commitIndex : 1 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): sendAppendEntries: 2 is present for follower follower562 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Sending AppendEntries to follower follower562: AppendEntries [leaderId=leader561, 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]]] 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): handleAppendEntries: AppendEntries [leaderId=leader561, 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]]] 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Number of entries to be appended = 3 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Append entry to log two 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:40,906 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Append entry to log three 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Append entry to log four 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Log size is now 5 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Commit index set to 1 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower562, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower562: Lagging 0 entries behind leader leader561 and reached 1 (of expected -1) 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Setting last applied to 1 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Moving last applied index from 0 to 1 04:58:40,906 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Applying state for log index 1 data one 04:58:40,906 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower562 updated: matchIndex: 4, nextIndex: 5 04:58:40,906 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Setting last applied to 2 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Moving last applied index from 1 to 2 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Applying state for log index 2 data two 04:58:40,907 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: applyState called: one 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: applyState called: two 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Setting last applied to 3 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Moving last applied index from 2 to 3 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Applying state for log index 3 data three 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: applyState called: three 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Setting last applied to 4 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Moving last applied index from 3 to 4 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Applying state for log index 4 data four 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: applyState called: four 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Checking sendAppendEntries for follower follower562: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Persisting ApplyJournalEntries with index=4 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 04:58:40,907 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Persisting ApplyJournalEntries with index=1 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Commit index set to 4 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower562: Lagging 0 entries behind leader leader561 and reached 4 (of expected -1) 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Setting last applied to 2 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Moving last applied index from 1 to 2 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Applying state for log index 2 data two 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: applyState called: two 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Setting last applied to 3 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Moving last applied index from 2 to 3 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Applying state for log index 3 data three 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: applyState called: three 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562 (Follower): Setting last applied to 4 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Moving last applied index from 3 to 4 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Applying state for log index 4 data four 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: applyState called: four 04:58:40,908 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower562: Persisting ApplyJournalEntries with index=4 04:58:40,955 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: CaptureSnapshotReply received by actor 04:58:40,955 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader561, ServerConfigPayload=null] 04:58:40,955 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 04:58:40,955 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 04:58:40,955 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 04:58:40,955 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Snapshot success - sequence number: 7 04:58:40,956 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: SnapshotComplete received 04:58:40,956 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: handled a snapshot response 04:58:40,956 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: handled a journal response [WARN] [03/26/2024 16:58:41.007] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader561]: AppendEntries [leaderId=leader561, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/26/2024 16:58:41.018] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader561]: org.opendaylight.controller.cluster.common.actor.Monitor@31a200f7 04:58:41,18 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader561 with journal batch size 1000 04:58:41,19 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: SnapshotOffer called. 04:58:41,19 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Moving last applied index from -1 to 1 04:58:41,19 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Set currentTerm=1, votedFor=leader561 04:58:41,19 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader561 in 124.2 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 04:58:41,21 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Received ReplicatedLogEntry for recovery: index: 4, size: 4 04:58:41,21 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Received apply journal entries for recovery, applying to state: 2 to 4 04:58:41,21 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Moving last applied index from 1 to 4 04:58:41,21 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Recovery completed in 2.076 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 04:58:41,22 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Follower): Received TimeoutNow - switching to Candidate 04:58:41,22 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate): Election: Candidate has following voting peers: [] 04:58:41,22 PM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561: Set currentTerm=2, votedFor=leader561 04:58:41,22 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate): Starting new election term 2 04:58:41,22 PM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 04:58:41,22 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower562-collector564#-1400760794] 04:58:41,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate): Received ElectionTimeout 04:58:41,23 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Leader): Election: Leader has following peers: [] 04:58:41,23 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader561 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 04:58:41,33 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower562] 04:58:41,34 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader561-collector565#-147783214] 04:58:41,34 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader561] 04:58:41,34 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader561-collector566#-1978464632] 04:58:41,34 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader561] [INFO] [03/26/2024 16:58:41.035] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 04:58:41,35 PM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/26/2024 16:58:41.036] [test-akka.actor.default-dispatcher-6] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.176:25520) [INFO] [03/26/2024 16:58:41.037] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.176:25520] - Exiting completed [INFO] [03/26/2024 16:58:41.037] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.176:25520] - Shutting down... [INFO] [03/26/2024 16:58:41.037] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.176:25520] - Successfully shut down 04:58:41,37 PM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.176:25520] - Exiting completed 04:58:41,39 PM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.176:25520] - Shutting down... 04:58:41,39 PM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.176:25520] - Successfully shut down [INFO] [03/26/2024 16:58:41.040] [test-akka.remote.default-remote-dispatcher-11] [akka://test@10.30.171.176:25520/system/remoting-terminator] Shutting down remote daemon. 04:58:41,41 PM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [03/26/2024 16:58:41.041] [test-akka.remote.default-remote-dispatcher-11] [akka://test@10.30.171.176:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 04:58:41,41 PM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/26/2024 16:58:41.045] [test-akka.remote.default-remote-dispatcher-11] [akka://test@10.30.171.176:25520/system/remoting-terminator] Remoting shut down. 04:58:41,45 PM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.