[DEBUG] [11/03/2024 07:56:58.356] [main] [EventStream(akka://test)] logger log1-TestEventListener started 07:56:58,356 AM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/03/2024 07:56:58.356] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [11/03/2024 07:56:58.357] [main] [EventStream(akka://test)] Default Loggers started 07:56:58,370 AM [test-akka.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.203:25520] with UID [-5217440267712213771] [INFO] [11/03/2024 07:56:58.370] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.203:25520] with UID [-5217440267712213771] 07:56:58,372 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.203:25520] - Starting up, Akka version [2.6.21] ... [INFO] [11/03/2024 07:56:58.372] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.203:25520] - Starting up, Akka version [2.6.21] ... 07:56:58,374 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.203:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [11/03/2024 07:56:58.374] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.203:25520] - Registered cluster JMX MBean [akka:type=Cluster] 07:56:58,374 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.203:25520] - Started up successfully [INFO] [11/03/2024 07:56:58.374] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.203:25520] - Started up successfully [INFO] [11/03/2024 07:56:58.375] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.203:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [11/03/2024 07:56:58.375] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.203:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 07:56:58,375 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.203:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 07:56:58,375 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.203:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 07:56:58,392 AM [main] [INFO] PreLeaderScenarioTest - testUnComittedEntryOnLeaderChange starting 07:56:58,392 AM [main] [INFO] PreLeaderScenarioTest - createRaftActors starting [WARN] [11/03/2024 07:56:58.404] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower77]: org.opendaylight.controller.cluster.common.actor.Monitor@3fbfbb34 [INFO] [akkaDeadLetter][11/03/2024 07:56:58.404] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower77] 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'. 07:56:58,406 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower77 with journal batch size 1000 07:56:58,407 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower77] 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'. 07:56:58,411 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/03/2024 07:56:58.505] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower78]: org.opendaylight.controller.cluster.common.actor.Monitor@1db43ae2 [INFO] [akkaDeadLetter][11/03/2024 07:56:58.505] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower78] 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'. 07:56:58,505 AM [test-akka.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower78] 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'. 07:56:58,506 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower78 with journal batch size 1000 07:56:58,508 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/03/2024 07:56:58.510] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader76]: org.opendaylight.controller.cluster.common.actor.Monitor@8a4fcbd 07:56:58,510 AM [test-akka.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader76] to Actor[akka://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][11/03/2024 07:56:58.510] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader76] to Actor[akka://test/user/termination-monitor] was not delivered. [3] 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'. 07:56:58,511 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader76 with journal batch size 1000 07:56:58,512 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader76: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:56:58,513 AM [test-akka.actor.default-dispatcher-7] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:56:58,513 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Follower): Received TimeoutNow - switching to Candidate 07:56:58,513 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Candidate): Election: Candidate has following voting peers: [follower78, follower77] 07:56:58,513 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76: Set currentTerm=1, votedFor=leader76 07:56:58,513 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Candidate): Starting new election term 1 07:56:58,513 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Candidate): Sending RequestVote [term=1, candidateId=leader76, lastLogIndex=-1, lastLogTerm=-1] to peer follower78 07:56:58,513 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Candidate): Sending RequestVote [term=1, candidateId=leader76, lastLogIndex=-1, lastLogTerm=-1] to peer follower77 07:56:58,513 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 07:56:58,513 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:56:58,513 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): Cluster state: [] 07:56:58,513 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader76, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:56:58,513 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader76, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:56:58,513 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Set currentTerm=1, votedFor=null 07:56:58,513 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): In requestVote: RequestVote [term=1, candidateId=leader76, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:56:58,513 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Set currentTerm=1, votedFor=leader76 07:56:58,513 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 07:56:58,514 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:56:58,514 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Cluster state: [] 07:56:58,514 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader76, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:56:58,514 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader76, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:56:58,514 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Set currentTerm=1, votedFor=null 07:56:58,514 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): In requestVote: RequestVote [term=1, candidateId=leader76, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:56:58,514 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Set currentTerm=1, votedFor=leader76 07:56:58,514 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 07:56:58,515 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 07:56:58,515 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 07:56:58,515 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Election: Leader has following peers: [follower78, follower77] 07:56:58,515 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Checking sendAppendEntries for follower follower78: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:56:58,515 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Checking sendAppendEntries for follower follower77: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:56:58,515 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 07:56:58,516 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower77: Last sync leader does not match current leader leader76, need to catch up to -1 07:56:58,516 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower77 updated: matchIndex: -1, nextIndex: 0 07:56:58,516 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Checking sendAppendEntries for follower follower77: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/03/2024 07:56:58.516] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower77] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@51f6f609 [INFO] [akkaDeadLetter][11/03/2024 07:56:58.516] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower77] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower77] 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'. 07:56:58,516 AM [test-akka.actor.default-dispatcher-15] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower77] 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'. 07:56:58,516 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower78: Last sync leader does not match current leader leader76, need to catch up to -1 07:56:58,516 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower78 updated: matchIndex: -1, nextIndex: 0 [WARN] [11/03/2024 07:56:58.516] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower78] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1569470b 07:56:58,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Checking sendAppendEntries for follower follower78: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:56:58,517 AM [test-akka.actor.default-dispatcher-8] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower78] 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'. [INFO] [akkaDeadLetter][11/03/2024 07:56:58.517] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower78] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower78] 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'. 07:56:58,565 AM [main] [INFO] PreLeaderScenarioTest - createRaftActors ending - follower1: follower77, follower2: follower78 07:56:58,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:56:58,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:56:58,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:56:58,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Checking sendAppendEntries for follower follower78: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:56:58,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): sendAppendEntries: 0 is present for follower follower78 07:56:58,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Sending AppendEntries to follower follower78: AppendEntries [leaderId=leader76, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:56:58,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Checking sendAppendEntries for follower follower77: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:56:58,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): sendAppendEntries: 0 is present for follower follower77 07:56:58,566 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76 (Leader): Sending AppendEntries to follower follower77: AppendEntries [leaderId=leader76, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:56:58,567 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): handleAppendEntries: AppendEntries [leaderId=leader76, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:56:58,567 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): Number of entries to be appended = 1 07:56:58,567 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:56:58,567 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): Append entry to log zero 07:56:58,567 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:56:58,567 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): Log size is now 1 07:56:58,567 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower77, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:56:58,567 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower77: Lagging 0 entries behind leader leader76 and reached -1 (of expected -1) 07:56:58,568 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader76: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:56:58,568 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [11/03/2024 07:56:58.569] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower77] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@10cbfc32 [INFO] [akkaDeadLetter][11/03/2024 07:56:58.569] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower77] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower77] 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'. 07:56:58,569 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower77] 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'. 07:56:58,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:56:58,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower): Received TimeoutNow - switching to Candidate 07:56:58,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Candidate): Election: Candidate has following voting peers: [leader76, follower78] 07:56:58,628 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Set currentTerm=2, votedFor=follower77 07:56:58,629 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Candidate): Starting new election term 2 07:56:58,629 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Candidate): Sending RequestVote [term=2, candidateId=follower77, lastLogIndex=0, lastLogTerm=1] to peer leader76 07:56:58,629 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Candidate): Sending RequestVote [term=2, candidateId=follower77, lastLogIndex=0, lastLogTerm=1] to peer follower78 07:56:58,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:56:58,629 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:56:58,629 AM [test-akka.actor.default-dispatcher-17] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/follower77] to Actor[akka://test/user/leader76] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/leader76] 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'. 07:56:58,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Cluster state: [] [WARN] [11/03/2024 07:56:58.629] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader76] received dead letter from TestActor[akka://test/user/follower77]: RequestVote [term=2, candidateId=follower77, lastLogIndex=0, lastLogTerm=1] 07:56:58,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower77, lastLogIndex=0, lastLogTerm=1] with higher term appears reachable, updating term. 07:56:58,629 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower77, lastLogIndex=0, lastLogTerm=1]" message is greater than follower's term 1 - updating term 07:56:58,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Set currentTerm=2, votedFor=null [INFO] [akkaDeadLetter][11/03/2024 07:56:58.629] [test-akka.actor.default-dispatcher-17] [akka://test/user/leader76] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/follower77] to Actor[akka://test/user/leader76] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/leader76] 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'. 07:56:58,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): In requestVote: RequestVote [term=2, candidateId=follower77, lastLogIndex=0, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 07:56:58,629 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Set currentTerm=2, votedFor=follower77 07:56:58,630 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:56:58,631 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:56:58,631 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:56:58,631 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Candidate): LastApplied index -1 is behind last index 0 - switching to PreLeader 07:56:58,632 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Election: Leader has following peers: [leader76, follower78] 07:56:58,632 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Checking sendAppendEntries for follower leader76: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:56:58,633 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Checking sendAppendEntries for follower follower78: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:56:58,633 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 [WARN] [11/03/2024 07:56:58.633] [test-akka.actor.default-dispatcher-6] [akka://test/user/leader76] received dead letter from TestActor[akka://test/user/follower77]: AppendEntries [leaderId=follower77, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][11/03/2024 07:56:58.633] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader76] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/follower77] to Actor[akka://test/user/leader76] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/leader76] 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'. 07:56:58,633 AM [test-akka.actor.default-dispatcher-15] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/follower77] to Actor[akka://test/user/leader76] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/leader76] 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'. 07:56:58,633 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower78: Last sync leader does not match current leader follower77, need to catch up to -1 [WARN] [11/03/2024 07:56:58.633] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower78] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3a6f0ef6 07:56:58,633 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96] 07:56:58,633 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96] [INFO] [akkaDeadLetter][11/03/2024 07:56:58.633] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower78] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower78] 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'. 07:56:58,633 AM [test-akka.actor.default-dispatcher-8] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower78] 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'. 07:56:58,633 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Replicate message: identifier: null, logIndex: 1, isSendImmediate: true 07:56:58,633 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Checking sendAppendEntries for follower leader76: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:56:58,634 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Checking sendAppendEntries for follower follower78: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [11/03/2024 07:56:58.634] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader76] received dead letter from TestActor[akka://test/user/follower77]: AppendEntries [leaderId=follower77, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:56:58,634 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower78 updated: matchIndex: -1, nextIndex: 0 07:56:58,634 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Checking sendAppendEntries for follower follower78: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:56:58,634 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): sendAppendEntries: 0 is present for follower follower78 07:56:58,634 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Sending AppendEntries to follower follower78: AppendEntries [leaderId=follower77, 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=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96]]] 07:56:58,634 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower78: Lagging 0 entries behind leader follower77 and reached -1 (of expected -1) 07:56:58,634 AM [test-akka.actor.default-dispatcher-15] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/follower77] to Actor[akka://test/user/leader76] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[akka://test/user/leader76] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][11/03/2024 07:56:58.634] [test-akka.actor.default-dispatcher-15] [akka://test/user/leader76] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/follower77] to Actor[akka://test/user/leader76] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[akka://test/user/leader76] 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'. 07:56:58,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): sendAppendEntries: 0 is present for follower follower78 07:56:58,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96] 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): handleAppendEntries: AppendEntries [leaderId=follower77, 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=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96]]] 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Number of entries to be appended = 2 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Append entry to log zero 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96] 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Log size is now 2 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower78, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:56:58,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower78: Lagging 0 entries behind leader follower77 and reached -1 (of expected -1) 07:56:58,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower78 updated: matchIndex: 1, nextIndex: 2 07:56:58,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Not updating commit index to 0 - retrieved log entry with index 0, term 1 does not match the current term 2 07:56:58,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Applying to log - commitIndex: 1, lastAppliedIndex: -1 07:56:58,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Setting last applied to 0 07:56:58,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Moving last applied index from -1 to 0 07:56:58,635 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Applying state for log index 0 data zero 07:56:58,635 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: applyState called: zero 07:56:58,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Setting last applied to 1 07:56:58,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Moving last applied index from 0 to 1 07:56:58,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Applying state for log index 1 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96 07:56:58,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Checking sendAppendEntries for follower follower78: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96] 07:56:58,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=0, term=1, payload=zero]] - lastApplied: 1, lastIndex: 1 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Commit index set to 1 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower78: Lagging 0 entries behind leader follower77 and reached 1 (of expected -1) [WARN] [11/03/2024 07:56:58.636] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower78] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@304b89 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Setting last applied to 0 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Moving last applied index from -1 to 0 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Applying state for log index 0 data zero 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: applyState called: zero 07:56:58,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Leader): Election: Leader has following peers: [follower78, leader76] 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78 (Follower): Setting last applied to 1 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Moving last applied index from 0 to 1 07:56:58,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Applying state for log index 1 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@34adce96 07:56:58,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Leader): Checking sendAppendEntries for follower follower78: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:56:58,636 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (Leader): Checking sendAppendEntries for follower leader76: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:56:58,636 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower78: Persisting ApplyJournalEntries with index=1 07:56:58,637 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower77 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 07:56:58,637 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower78: Lagging 0 entries behind leader follower77 and reached 1 (of expected -1) [WARN] [11/03/2024 07:56:58.637] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader76] received dead letter from TestActor[akka://test/user/follower77]: AppendEntries [leaderId=follower77, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:56:58,637 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Persisting ApplyJournalEntries with index=1 [WARN] [11/03/2024 07:56:58.692] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower77]: org.opendaylight.controller.cluster.common.actor.Monitor@53415a22 07:56:58,694 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower77 with journal batch size 1000 07:56:58,696 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Set currentTerm=1, votedFor=null 07:56:58,696 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Set currentTerm=1, votedFor=leader76 07:56:58,696 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Received ReplicatedLogEntry for recovery: index: 0, size: 4 07:56:58,696 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Set currentTerm=2, votedFor=follower77 07:56:58,696 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Received ReplicatedLogEntry for recovery: index: 1, size: 0 07:56:58,696 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Received apply journal entries for recovery, applying to state: 0 to 1 07:56:58,697 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Moving last applied index from -1 to 1 07:56:58,697 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower77: Recovery completed in 94.13 μs - Switching actor to Follower - last log index = 1, last log term = 2, snapshot index = -1, snapshot term = -1, journal size = 2 07:56:58,698 AM [main] [INFO] PreLeaderScenarioTest - testUnComittedEntryOnLeaderChange ending 07:56:58,698 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower77-notifier79#1070577005] 07:56:58,709 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower77-collector80#1602902639] 07:56:58,709 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower77] 07:56:58,710 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower78-collector81#1881973130] 07:56:58,710 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower78] 07:56:58,710 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader76-collector82#1282597572] 07:56:58,711 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader76] 07:56:58,711 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower77-collector83#674187937] 07:56:58,711 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower77] [INFO] [11/03/2024 07:56:58.712] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 07:56:58,714 AM [test-akka.actor.default-dispatcher-6] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 07:56:58,715 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.203:25520] - Exiting completed 07:56:58,715 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.203:25520] - Shutting down... 07:56:58,715 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.203:25520] - Successfully shut down [WARN] [11/03/2024 07:56:58.717] [test-akka.actor.default-dispatcher-15] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.203:25520) [INFO] [11/03/2024 07:56:58.714] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.203:25520] - Exiting completed 07:56:58,717 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [11/03/2024 07:56:58.715] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.203:25520] - Shutting down... [INFO] [11/03/2024 07:56:58.715] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.203:25520] - Successfully shut down [INFO] [11/03/2024 07:56:58.717] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.171.203:25520/system/remoting-terminator] Shutting down remote daemon. 07:56:58,717 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/03/2024 07:56:58.717] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.171.203:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports.