[DEBUG] [02/27/2024 11:14:19.752] [main] [EventStream(akka://test)] logger log1-TestEventListener started 11:14:19,754 AM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [02/27/2024 11:14:19.754] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [02/27/2024 11:14:19.754] [main] [EventStream(akka://test)] Default Loggers started [INFO] [02/27/2024 11:14:19.768] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.238:25520] with UID [1083317829322472056] 11:14:19,768 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.238:25520] with UID [1083317829322472056] [INFO] [02/27/2024 11:14:19.769] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Starting up, Akka version [2.6.21] ... 11:14:19,769 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Starting up, Akka version [2.6.21] ... [INFO] [02/27/2024 11:14:19.772] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [02/27/2024 11:14:19.772] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Started up successfully 11:14:19,772 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Registered cluster JMX MBean [akka:type=Cluster] 11:14:19,772 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Started up successfully 11:14:19,782 AM [main] [INFO] PreLeaderScenarioTest - testUnComittedEntryOnLeaderChange starting 11:14:19,782 AM [main] [INFO] PreLeaderScenarioTest - createRaftActors starting 11:14:19,785 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 11:14:19,785 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [02/27/2024 11:14:19.785] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [02/27/2024 11:14:19.785] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [02/27/2024 11:14:19.786] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower499]: org.opendaylight.controller.cluster.common.actor.Monitor@90fed24 [INFO] [akkaDeadLetter][02/27/2024 11:14:19.785] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower499] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:19,786 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower499] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:19,788 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower499 with journal batch size 1000 [WARN] [02/27/2024 11:14:19.790] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower500]: org.opendaylight.controller.cluster.common.actor.Monitor@522161b4 11:14:19,790 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower500] 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'. [INFO] [akkaDeadLetter][02/27/2024 11:14:19.790] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower500] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:19,791 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower500 with journal batch size 1000 11:14:19,794 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:19,794 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [02/27/2024 11:14:19.891] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader498]: org.opendaylight.controller.cluster.common.actor.Monitor@30980aef [INFO] [akkaDeadLetter][02/27/2024 11:14:19.892] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader498] 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'. 11:14:19,892 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader498] 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'. 11:14:19,892 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader498 with journal batch size 1000 11:14:19,894 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader498: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 11:14:19,991 AM [test-akka.actor.default-dispatcher-14] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:14:19,991 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Follower): Received TimeoutNow - switching to Candidate 11:14:19,991 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Candidate): Election: Candidate has following voting peers: [follower500, follower499] 11:14:19,991 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498: Set currentTerm=1, votedFor=leader498 11:14:19,992 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Candidate): Starting new election term 1 11:14:19,992 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Candidate): Sending RequestVote [term=1, candidateId=leader498, lastLogIndex=-1, lastLogTerm=-1] to peer follower500 11:14:19,992 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Candidate): Sending RequestVote [term=1, candidateId=leader498, lastLogIndex=-1, lastLogTerm=-1] to peer follower499 11:14:19,992 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 11:14:19,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:19,992 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:19,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Cluster state: [] 11:14:19,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader498, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:19,992 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): Cluster state: [] 11:14:19,992 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader498, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:19,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Set currentTerm=1, votedFor=null 11:14:19,992 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader498, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 11:14:19,992 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader498, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 11:14:19,992 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Set currentTerm=1, votedFor=null 11:14:19,992 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): In requestVote: RequestVote [term=1, candidateId=leader498, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:19,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): In requestVote: RequestVote [term=1, candidateId=leader498, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:19,992 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Set currentTerm=1, votedFor=leader498 11:14:19,992 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Set currentTerm=1, votedFor=leader498 11:14:19,993 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:14:19,993 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 11:14:19,994 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 11:14:19,994 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 11:14:19,994 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Election: Leader has following peers: [follower500, follower499] 11:14:19,996 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Checking sendAppendEntries for follower follower500: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:19,996 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Checking sendAppendEntries for follower follower499: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:19,996 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 11:14:19,997 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower500: Last sync leader does not match current leader leader498, need to catch up to -1 11:14:19,997 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower499: Last sync leader does not match current leader leader498, need to catch up to -1 [WARN] [02/27/2024 11:14:19.997] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower500] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@384c84ce [INFO] [akkaDeadLetter][02/27/2024 11:14:19.997] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower500] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower500] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:19,997 AM [test-akka.actor.default-dispatcher-6] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower500] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:19,997 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower500 updated: matchIndex: -1, nextIndex: 0 11:14:19,998 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Checking sendAppendEntries for follower follower500: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 11:14:19,998 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower499 updated: matchIndex: -1, nextIndex: 0 11:14:19,998 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Checking sendAppendEntries for follower follower499: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:14:19.999] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower499] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@33e41998 [INFO] [akkaDeadLetter][02/27/2024 11:14:19.999] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower499] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower499] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:19,999 AM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower499] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,49 AM [main] [INFO] PreLeaderScenarioTest - createRaftActors ending - follower1: follower499, follower2: follower500 11:14:20,49 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:14:20,49 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:14:20,49 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, payload: class org.opendaylight.controller.cluster.raft.MockRaftActorContext$MockPayload, isSendImmediate: true 11:14:20,49 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Checking sendAppendEntries for follower follower500: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:20,49 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): sendAppendEntries: 0 is present for follower follower500 11:14:20,49 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Sending AppendEntries to follower follower500: AppendEntries [leaderId=leader498, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:14:20,50 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Checking sendAppendEntries for follower follower499: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:20,50 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): sendAppendEntries: 0 is present for follower follower499 11:14:20,50 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498 (Leader): Sending AppendEntries to follower follower499: AppendEntries [leaderId=leader498, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:14:20,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): handleAppendEntries: AppendEntries [leaderId=leader498, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 11:14:20,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): Number of entries to be appended = 1 11:14:20,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:20,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): Append entry to log zero 11:14:20,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:14:20,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): Log size is now 1 11:14:20,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower499, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:20,50 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower499: Lagging 0 entries behind leader leader498 and reached -1 (of expected -1) 11:14:20,51 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader498: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:14:20,51 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [02/27/2024 11:14:20.051] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower499] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3c3808fe 11:14:20,51 AM [test-akka.actor.default-dispatcher-18] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower499] 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][02/27/2024 11:14:20.051] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower499] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower499] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,113 AM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:14:20,113 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower): Received TimeoutNow - switching to Candidate 11:14:20,113 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Candidate): Election: Candidate has following voting peers: [leader498, follower500] 11:14:20,113 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Set currentTerm=2, votedFor=follower499 11:14:20,113 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Candidate): Starting new election term 2 11:14:20,113 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Candidate): Sending RequestVote [term=2, candidateId=follower499, lastLogIndex=0, lastLogTerm=1] to peer leader498 11:14:20,114 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Candidate): Sending RequestVote [term=2, candidateId=follower499, lastLogIndex=0, lastLogTerm=1] to peer follower500 11:14:20,114 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 [WARN] [02/27/2024 11:14:20.114] [test-akka.actor.default-dispatcher-13] [akka://test/user/leader498] received dead letter from TestActor[akka://test/user/follower499]: RequestVote [term=2, candidateId=follower499, lastLogIndex=0, lastLogTerm=1] [INFO] [akkaDeadLetter][02/27/2024 11:14:20.114] [test-akka.actor.default-dispatcher-13] [akka://test/user/leader498] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/follower499] to Actor[akka://test/user/leader498] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/leader498] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,114 AM [test-akka.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/follower499] to Actor[akka://test/user/leader498] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/leader498] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,114 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:14:20,114 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Cluster state: [] 11:14:20,114 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower499, lastLogIndex=0, lastLogTerm=1] with higher term appears reachable, updating term. 11:14:20,114 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower499, lastLogIndex=0, lastLogTerm=1]" message is greater than follower's term 1 - updating term 11:14:20,114 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Set currentTerm=2, votedFor=null 11:14:20,114 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): In requestVote: RequestVote [term=2, candidateId=follower499, lastLogIndex=0, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: -1, lastTerm: -1 11:14:20,115 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Set currentTerm=2, votedFor=follower499 11:14:20,115 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 11:14:20,115 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 11:14:20,115 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 11:14:20,115 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Candidate): LastApplied index -1 is behind last index 0 - switching to PreLeader 11:14:20,115 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Election: Leader has following peers: [leader498, follower500] 11:14:20,115 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Checking sendAppendEntries for follower leader498: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 11:14:20,115 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Checking sendAppendEntries for follower follower500: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:14:20.115] [test-akka.actor.default-dispatcher-13] [akka://test/user/leader498] received dead letter from TestActor[akka://test/user/follower499]: AppendEntries [leaderId=follower499, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:20,116 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 [INFO] [akkaDeadLetter][02/27/2024 11:14:20.116] [test-akka.actor.default-dispatcher-13] [akka://test/user/leader498] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/follower499] to Actor[akka://test/user/leader498] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/leader498] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,116 AM [test-akka.actor.default-dispatcher-13] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/follower499] to Actor[akka://test/user/leader498] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/leader498] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,116 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower500: Last sync leader does not match current leader follower499, need to catch up to -1 [WARN] [02/27/2024 11:14:20.116] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower500] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7fd0d454 [INFO] [akkaDeadLetter][02/27/2024 11:14:20.116] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower500] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower500] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,116 AM [test-akka.actor.default-dispatcher-12] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower500] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,116 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Persist data SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1ab85802] 11:14:20,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1ab85802] 11:14:20,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Replicate message: identifier: null, logIndex: 1, payload: class org.opendaylight.controller.cluster.raft.persisted.NoopPayload, isSendImmediate: true 11:14:20,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Checking sendAppendEntries for follower leader498: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:20,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Checking sendAppendEntries for follower follower500: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:14:20.117] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader498] received dead letter from TestActor[akka://test/user/follower499]: AppendEntries [leaderId=follower499, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:20,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower500 updated: matchIndex: -1, nextIndex: 0 11:14:20,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Checking sendAppendEntries for follower follower500: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:20,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): sendAppendEntries: 0 is present for follower follower500 11:14:20,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Sending AppendEntries to follower follower500: AppendEntries [leaderId=follower499, 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@1ab85802]]] 11:14:20,117 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower500: Lagging 0 entries behind leader follower499 and reached -1 (of expected -1) 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): handleAppendEntries: AppendEntries [leaderId=follower499, 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@1ab85802]]] 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Number of entries to be appended = 2 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Append entry to log zero 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1ab85802 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1ab85802] 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Log size is now 2 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower500, logLastIndex=1, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 11:14:20,118 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower500: Lagging 0 entries behind leader follower499 and reached -1 (of expected -1) [INFO] [akkaDeadLetter][02/27/2024 11:14:20.118] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader498] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/follower499] to Actor[akka://test/user/leader498] 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/leader498] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,118 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): sendAppendEntries: 0 is present for follower follower500 11:14:20,118 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/follower499] to Actor[akka://test/user/leader498] 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/leader498] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 11:14:20,118 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower500 updated: matchIndex: 1, nextIndex: 2 11:14:20,118 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Not updating commit index to 0 - retrieved log entry with index 0, term 1 does not match the current term 2 11:14:20,118 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Checking sendAppendEntries for follower follower500: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1ab85802] 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Not updating commit index to 0 - retrieved log entry with index 0, term 1 does not match the current term 2 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Applying to log - commitIndex: 1, lastAppliedIndex: -1 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Setting last applied to 0 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Moving last applied index from -1 to 0 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Applying state for log index 0 data zero 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: applyState called: zero 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Setting last applied to 1 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Moving last applied index from 0 to 1 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Applying state for log index 1 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1ab85802 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=0, term=1, payload=zero]] - lastApplied: 1, lastIndex: 1 11:14:20,119 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 11:14:20,119 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: persist complete SimpleReplicatedLogEntry [index=1, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1ab85802] 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Leader): Election: Leader has following peers: [leader498, follower500] 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Leader): Checking sendAppendEntries for follower leader498: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (Leader): Checking sendAppendEntries for follower follower500: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [02/27/2024 11:14:20.119] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower500] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@71c8416f [WARN] [02/27/2024 11:14:20.119] [test-akka.actor.default-dispatcher-14] [akka://test/user/leader498] received dead letter from TestActor[akka://test/user/follower499]: AppendEntries [leaderId=follower499, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower499 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 11:14:20,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Commit index set to 1 11:14:20,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower500: Lagging 0 entries behind leader follower499 and reached 1 (of expected -1) 11:14:20,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 11:14:20,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Setting last applied to 0 11:14:20,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Moving last applied index from -1 to 0 11:14:20,119 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Persisting ApplyJournalEntries with index=1 11:14:20,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Applying state for log index 0 data zero 11:14:20,120 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: applyState called: zero 11:14:20,120 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500 (Follower): Setting last applied to 1 11:14:20,120 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Moving last applied index from 0 to 1 11:14:20,120 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Applying state for log index 1 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1ab85802 11:14:20,120 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower500: Persisting ApplyJournalEntries with index=1 [WARN] [02/27/2024 11:14:20.176] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower499]: org.opendaylight.controller.cluster.common.actor.Monitor@2b709d51 11:14:20,177 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower499 with journal batch size 1000 11:14:20,181 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Set currentTerm=1, votedFor=null 11:14:20,181 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Set currentTerm=1, votedFor=leader498 11:14:20,181 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Received ReplicatedLogEntry for recovery: index: 0, size: 4 11:14:20,181 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Set currentTerm=2, votedFor=follower499 11:14:20,181 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Received ReplicatedLogEntry for recovery: index: 1, size: 0 11:14:20,181 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Received apply journal entries for recovery, applying to state: 0 to 1 11:14:20,181 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Moving last applied index from -1 to 1 11:14:20,181 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower499: Recovery completed in 73.61 μs - Switching actor to Follower - last log index = 1, last log term = 2, snapshot index = -1, snapshot term = -1, journal size = 2 11:14:20,276 AM [main] [INFO] PreLeaderScenarioTest - testUnComittedEntryOnLeaderChange ending 11:14:20,276 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower499-notifier501#1183256550] 11:14:20,287 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower499-collector502#1303671346] 11:14:20,287 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower499] 11:14:20,288 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower500-collector503#1074250237] 11:14:20,288 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower500] 11:14:20,289 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader498-collector504#1229492494] 11:14:20,289 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader498] 11:14:20,289 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower499-collector505#-482818502] 11:14:20,290 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower499] 11:14:20,292 AM [test-akka.actor.default-dispatcher-14] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [02/27/2024 11:14:20.292] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [02/27/2024 11:14:20.294] [test-akka.actor.default-dispatcher-13] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.238:25520) [INFO] [02/27/2024 11:14:20.295] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Exiting completed [INFO] [02/27/2024 11:14:20.295] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Shutting down... [INFO] [02/27/2024 11:14:20.295] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.238:25520] - Successfully shut down [WARN] [02/27/2024 11:14:20.297] [test-akka.actor.default-dispatcher-13] [akka://test/system/clusterReceptionist/replicator] received dead letter from Actor[akka://test/system/clusterReceptionist/replicator#542954996]: FlushChanges 11:14:20,297 AM [test-akka.actor.default-dispatcher-13] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Exiting completed 11:14:20,297 AM [test-akka.actor.default-dispatcher-13] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Shutting down... 11:14:20,297 AM [test-akka.actor.default-dispatcher-13] [INFO] Cluster - Cluster Node [akka://test@10.30.171.238:25520] - Successfully shut down [INFO] [02/27/2024 11:14:20.297] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.238:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [02/27/2024 11:14:20.297] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.238:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 11:14:20,298 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 11:14:20,298 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [02/27/2024 11:14:20.300] [test-akka.remote.default-remote-dispatcher-9] [akka://test@10.30.171.238:25520/system/remoting-terminator] Remoting shut down. 11:14:20,301 AM [test-akka.actor.default-dispatcher-13] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.