[DEBUG] [01/22/2024 06:57:23.279] [main] [EventStream(akka://test)] logger log1-TestEventListener started 06:57:23,279 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [01/22/2024 06:57:23.279] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [01/22/2024 06:57:23.279] [main] [EventStream(akka://test)] Default Loggers started [INFO] [01/22/2024 06:57:23.297] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.69:25520] with UID [-6620543826796654636] 06:57:23,297 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.69:25520] with UID [-6620543826796654636] 06:57:23,298 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/22/2024 06:57:23.298] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/22/2024 06:57:23.300] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Registered cluster JMX MBean [akka:type=Cluster] 06:57:23,300 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Registered cluster JMX MBean [akka:type=Cluster] 06:57:23,300 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Started up successfully [INFO] [01/22/2024 06:57:23.300] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Started up successfully [INFO] [01/22/2024 06:57:23.301] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [01/22/2024 06:57:23.301] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 06:57:23,301 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 06:57:23,301 AM [test-akka.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [01/22/2024 06:57:23.316] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower739]: org.opendaylight.controller.cluster.common.actor.Monitor@2720e3d7 [INFO] [akkaDeadLetter][01/22/2024 06:57:23.316] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower739] 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'. 06:57:23,316 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower739] 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'. 06:57:23,319 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower739 with journal batch size 1000 06:57:23,322 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:57:23.416] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader738]: org.opendaylight.controller.cluster.common.actor.Monitor@1f3ecb0f [INFO] [akkaDeadLetter][01/22/2024 06:57:23.416] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader738] 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'. 06:57:23,416 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader738] 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'. 06:57:23,417 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader738 with journal batch size 1000 06:57:23,418 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:23,894 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:57:23,895 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:57:23,895 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Received ElectionTimeout - switching to Candidate 06:57:23,895 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Election: Candidate has following voting peers: [follower739, follower740] 06:57:23,895 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=1, votedFor=leader738 06:57:23,895 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Starting new election term 1 06:57:23,895 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower739 06:57:23,895 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower740 06:57:23,895 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:23,895 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 06:57:23,895 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Cluster state: [] 06:57:23,895 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:23,895 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:23,895 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=null 06:57:23,895 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): In requestVote: RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:23,895 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=leader738 06:57:23,895 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 06:57:23,896 AM [test-akka.actor.default-dispatcher-5] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [01/22/2024 06:57:23.896] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] [INFO] [akkaDeadLetter][01/22/2024 06:57:23.895] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:23,897 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 06:57:23,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 06:57:23,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Election: Leader has following peers: [follower739, follower740] 06:57:23,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:23,898 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:23,898 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [01/22/2024 06:57:23.898] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][01/22/2024 06:57:23.898] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:23,898 AM [test-akka.actor.default-dispatcher-6] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:23,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower739: Last sync leader does not match current leader leader738, need to catch up to -1 06:57:23,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: -1, nextIndex: 0 06:57:23,899 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:23.899] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower739] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4ea73fc6 [INFO] [akkaDeadLetter][01/22/2024 06:57:23.899] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower739] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] 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'. 06:57:23,899 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] 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'. 06:57:23,919 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:23,919 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:23,919 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 0 is present for follower follower739 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log zero 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 1 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower739, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:23,920 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached -1 (of expected -1) 06:57:23,920 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 0, nextIndex: 1 06:57:23,920 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:23.920] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][01/22/2024 06:57:23.920] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:23,920 AM [test-akka.actor.default-dispatcher-16] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:23,920 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:23,921 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:57:23,921 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 0 06:57:23,921 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from -1 to 0 06:57:23,921 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 0 data zero 06:57:23,921 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:23,921 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: zero 06:57:23,921 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=0 [WARN] [01/22/2024 06:57:23.921] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower739] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3001b696 [INFO] [akkaDeadLetter][01/22/2024 06:57:23.921] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower739] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:23,921 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower739] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 1 is present for follower follower739 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log one 06:57:23,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:23,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 2 06:57:23,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Commit index set to 0 06:57:23,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower739, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:23,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) [WARN] [01/22/2024 06:57:23.972] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:23,972 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 1, nextIndex: 2 06:57:23,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:23,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Setting last applied to 0 06:57:23,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from -1 to 0 06:57:23,972 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:23,972 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 0 data zero [INFO] [akkaDeadLetter][01/22/2024 06:57:23.972] [test-akka.actor.default-dispatcher-12] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:23,972 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:23,972 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:23,972 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:57:23,972 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 1 06:57:23,972 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 0 to 1 06:57:23,972 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 1 data one 06:57:23,972 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: zero 06:57:23,972 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: one 06:57:23,973 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=1 06:57:23,974 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:23,974 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=0 [WARN] [01/22/2024 06:57:24.014] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][01/22/2024 06:57:24.014] [test-akka.actor.default-dispatcher-12] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:24,14 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 06:57:24,22 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log two 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 3 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Commit index set to 1 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower739, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 1 (of expected -1) 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Setting last applied to 1 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 0 to 1 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 1 data one 06:57:24,23 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: one 06:57:24,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 2, nextIndex: 3 06:57:24,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:57:24,23 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 3 is present for follower follower739 [WARN] [01/22/2024 06:57:24.023] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,24 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [01/22/2024 06:57:24.024] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,24 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:24,24 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 06:57:24,24 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 2 06:57:24,24 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 1 to 2 06:57:24,24 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 2 data two 06:57:24,24 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: two [INFO] [akkaDeadLetter][01/22/2024 06:57:24.024] [test-akka.actor.default-dispatcher-16] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:24,24 AM [test-akka.actor.default-dispatcher-16] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader738] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 06:57:24,24 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=2 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=1 06:57:24,25 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:24,25 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 06:57:24,25 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: lastSequenceNumber prior to capture: 7 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 06:57:24,25 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: CaptureSnapshotReply received by actor 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 06:57:24,25 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader738, ServerConfigPayload=null] 06:57:24,25 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 06:57:24,25 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log three 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:24,25 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 06:57:24,25 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Snapshot success - sequence number: 7 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 4 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower739, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:24,25 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 1 (of expected -1) 06:57:24,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 3, nextIndex: 4 06:57:24,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 06:57:24,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 3 06:57:24,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 2 to 3 06:57:24,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 3 data three 06:57:24,26 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: three 06:57:24,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:24,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SnapshotComplete received 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Commit index set to 3 06:57:24,26 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=3 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 3 (of expected -1) 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Setting last applied to 2 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 1 to 2 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 2 data two 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: two 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Setting last applied to 3 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 2 to 3 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 3 data three 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: three 06:57:24,26 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a journal response 06:57:24,26 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=3 06:57:24,26 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a snapshot response 06:57:24,83 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:24,83 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 06:57:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 06:57:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 4 is present for follower follower739 06:57:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 06:57:24,84 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 [WARN] [01/22/2024 06:57:24.084] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower739] received dead letter from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 06:57:24,85 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 06:57:24,85 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 06:57:24,85 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 06:57:24,85 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 06:57:24,85 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 4 is present for follower follower739 06:57:24,85 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 06:57:24,85 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] [WARN] [01/22/2024 06:57:24.085] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [01/22/2024 06:57:24.085] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,85 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] 06:57:24,135 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 4 is present for follower follower739 [WARN] [01/22/2024 06:57:24.136] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 06:57:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 06:57:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 06:57:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 06:57:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 4 is present for follower follower739 06:57:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 06:57:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 06:57:24,137 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 06:57:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 06:57:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 06:57:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 4 is present for follower follower739 06:57:24,138 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 [WARN] [01/22/2024 06:57:24.138] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [01/22/2024 06:57:24.138] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader738]: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,139 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 06:57:24,139 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] [WARN] [01/22/2024 06:57:24.150] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader738]: org.opendaylight.controller.cluster.common.actor.Monitor@6e7f482c 06:57:24,151 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader738 with journal batch size 1000 06:57:24,151 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SnapshotOffer called. 06:57:24,151 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from -1 to 2 06:57:24,151 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=1, votedFor=leader738 06:57:24,152 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader738 in 154.6 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 06:57:24,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Received apply journal entries for recovery, applying to state: 3 to 2 06:57:24,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 2 to 2 06:57:24,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Received apply journal entries for recovery, applying to state: 3 to 3 06:57:24,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 2 to 3 06:57:24,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Received ReplicatedLogEntry for recovery: index: 4, size: 4 06:57:24,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Received ReplicatedLogEntry for recovery: index: 5, size: 4 06:57:24,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Received ReplicatedLogEntry for recovery: index: 4, size: 7 06:57:24,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Received ReplicatedLogEntry for recovery: index: 5, size: 7 06:57:24,155 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Recovery completed in 3.081 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 06:57:24,155 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Received TimeoutNow - switching to Candidate 06:57:24,155 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Election: Candidate has following voting peers: [] 06:57:24,155 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=2, votedFor=leader738 06:57:24,155 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Starting new election term 2 06:57:24,155 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 06:57:24,156 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower739-collector741#-980127445] 06:57:24,159 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Received ElectionTimeout 06:57:24,159 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Election: Leader has following peers: [] 06:57:24,159 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:57:24,166 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower739] 06:57:24,167 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader738-collector742#1281659364] 06:57:24,167 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader738] 06:57:24,167 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader738-collector743#314931613] 06:57:24,167 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader738] [WARN] [01/22/2024 06:57:24.170] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower745]: org.opendaylight.controller.cluster.common.actor.Monitor@48c6b318 06:57:24,170 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower745 with journal batch size 1000 06:57:24,171 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:57:24.172] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader744]: org.opendaylight.controller.cluster.common.actor.Monitor@137ecf14 06:57:24,172 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader744 with journal batch size 1000 06:57:24,173 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:24,615 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:57:24,615 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:57:24,615 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Follower): Received ElectionTimeout - switching to Candidate 06:57:24,615 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate): Election: Candidate has following voting peers: [follower746, follower745] 06:57:24,615 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Set currentTerm=1, votedFor=leader744 06:57:24,615 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate): Starting new election term 1 06:57:24,615 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate): Sending RequestVote [term=1, candidateId=leader744, lastLogIndex=-1, lastLogTerm=-1] to peer follower746 06:57:24,615 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate): Sending RequestVote [term=1, candidateId=leader744, lastLogIndex=-1, lastLogTerm=-1] to peer follower745 06:57:24,615 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 06:57:24,615 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [01/22/2024 06:57:24.615] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: RequestVote [term=1, candidateId=leader744, lastLogIndex=-1, lastLogTerm=-1] 06:57:24,615 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Cluster state: [] 06:57:24,615 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader744, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:24,615 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader744, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:24,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Set currentTerm=1, votedFor=null 06:57:24,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): In requestVote: RequestVote [term=1, candidateId=leader744, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:24,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Set currentTerm=1, votedFor=leader744 06:57:24,616 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 06:57:24,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 06:57:24,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 06:57:24,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Election: Leader has following peers: [follower746, follower745] 06:57:24,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower746: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:24,616 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:24,616 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 06:57:24,617 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower745: Last sync leader does not match current leader leader744, need to catch up to -1 06:57:24,617 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower745 updated: matchIndex: -1, nextIndex: 0 06:57:24,617 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:24.617] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [01/22/2024 06:57:24.617] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower745] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@932730b 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower746: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): sendAppendEntries: 0 is present for follower follower745 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Sending AppendEntries to follower follower745: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): handleAppendEntries: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Number of entries to be appended = 1 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Append entry to log zero 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Log size is now 1 06:57:24,626 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower745, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:24,627 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower745: Lagging 0 entries behind leader leader744 and reached -1 (of expected -1) 06:57:24,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower745 updated: matchIndex: 0, nextIndex: 1 06:57:24,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:24.627] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:24,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:57:24,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Setting last applied to 0 06:57:24,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Moving last applied index from -1 to 0 06:57:24,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Applying state for log index 0 data zero 06:57:24,627 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: applyState called: zero 06:57:24,627 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:24,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Persisting ApplyJournalEntries with index=0 [WARN] [01/22/2024 06:57:24.627] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower745] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7498a653 06:57:24,676 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:24,676 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:24,676 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:57:24,676 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower746: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): sendAppendEntries: 1 is present for follower follower745 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Sending AppendEntries to follower follower745: AppendEntries [leaderId=leader744, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): handleAppendEntries: AppendEntries [leaderId=leader744, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Number of entries to be appended = 1 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Append entry to log one 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [01/22/2024 06:57:24.677] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Log size is now 2 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Commit index set to 0 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower745, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower745: Lagging 0 entries behind leader leader744 and reached 0 (of expected -1) 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Setting last applied to 0 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Moving last applied index from -1 to 0 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Applying state for log index 0 data zero 06:57:24,677 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower745 updated: matchIndex: 1, nextIndex: 2 06:57:24,677 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:24,677 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: applyState called: zero 06:57:24,677 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:24,677 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:57:24,677 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Setting last applied to 1 06:57:24,677 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Moving last applied index from 0 to 1 06:57:24,677 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Applying state for log index 1 data one 06:57:24,677 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: applyState called: one 06:57:24,678 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Persisting ApplyJournalEntries with index=1 06:57:24,678 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:24,678 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Persisting ApplyJournalEntries with index=0 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower746: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): sendAppendEntries: 2 is present for follower follower745 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Sending AppendEntries to follower follower745: AppendEntries [leaderId=leader744, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower746: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): sendAppendEntries: 2 is present for follower follower745 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 06:57:24,727 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower746: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:57:24,728 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:57:24,728 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): sendAppendEntries: 2 is present for follower follower745 06:57:24,728 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [01/22/2024 06:57:24.728] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [01/22/2024 06:57:24.728] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [01/22/2024 06:57:24.728] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,729 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:24,729 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 06:57:24,729 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: lastSequenceNumber prior to capture: 7 06:57:24,729 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: CaptureSnapshotReply received by actor 06:57:24,729 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader744, ServerConfigPayload=null] 06:57:24,729 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 06:57:24,729 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 06:57:24,730 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:24,730 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 06:57:24,730 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Snapshot success - sequence number: 7 06:57:24,730 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: SnapshotComplete received 06:57:24,730 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: handled a journal response 06:57:24,730 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: handled a snapshot response [WARN] [01/22/2024 06:57:24.739] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,854 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): sendAppendEntries: 2 is present for follower follower745 06:57:24,854 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Sending AppendEntries to follower follower745: AppendEntries [leaderId=leader744, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [01/22/2024 06:57:24.855] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:24,974 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): sendAppendEntries: 2 is present for follower follower745 06:57:24,974 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Sending AppendEntries to follower follower745: AppendEntries [leaderId=leader744, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [01/22/2024 06:57:24.974] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:25,95 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower745: Lagging -1 entries behind leader leader744 and reached 0 (of expected -1) 06:57:25,95 AM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower745, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 418, lastApplied : 1, commitIndex : 1 06:57:25,95 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): sendAppendEntries: 2 is present for follower follower745 06:57:25,95 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Sending AppendEntries to follower follower745: AppendEntries [leaderId=leader744, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [01/22/2024 06:57:25.095] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader744]: AppendEntries [leaderId=leader744, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): handleAppendEntries: AppendEntries [leaderId=leader744, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Number of entries to be appended = 3 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Append entry to log two 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Append entry to log three 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Append entry to log four 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Log size is now 5 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Commit index set to 1 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower745, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower745: Lagging 0 entries behind leader leader744 and reached 1 (of expected -1) 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Setting last applied to 1 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Moving last applied index from 0 to 1 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Applying state for log index 1 data one 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower745 updated: matchIndex: 4, nextIndex: 5 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Setting last applied to 2 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Moving last applied index from 1 to 2 06:57:25,96 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: applyState called: one 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Applying state for log index 2 data two 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: applyState called: two 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Setting last applied to 3 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Moving last applied index from 2 to 3 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Applying state for log index 3 data three 06:57:25,96 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: applyState called: three 06:57:25,97 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Setting last applied to 4 06:57:25,97 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Moving last applied index from 3 to 4 06:57:25,97 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Applying state for log index 4 data four 06:57:25,97 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: applyState called: four 06:57:25,97 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Checking sendAppendEntries for follower follower745: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 06:57:25,97 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Persisting ApplyJournalEntries with index=4 06:57:25,97 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:25,97 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:25,97 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:25,97 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Persisting ApplyJournalEntries with index=1 06:57:25,97 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Commit index set to 4 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower745: Lagging 0 entries behind leader leader744 and reached 4 (of expected -1) 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Setting last applied to 2 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Moving last applied index from 1 to 2 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Applying state for log index 2 data two 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: applyState called: two 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Setting last applied to 3 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Moving last applied index from 2 to 3 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Applying state for log index 3 data three 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: applyState called: three 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745 (Follower): Setting last applied to 4 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Moving last applied index from 3 to 4 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Applying state for log index 4 data four 06:57:25,98 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: applyState called: four 06:57:25,98 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower745: Persisting ApplyJournalEntries with index=4 [WARN] [01/22/2024 06:57:25.143] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader744]: org.opendaylight.controller.cluster.common.actor.Monitor@1b1f34c 06:57:25,143 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader744 with journal batch size 1000 06:57:25,144 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: SnapshotOffer called. 06:57:25,144 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Moving last applied index from -1 to 1 06:57:25,144 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Set currentTerm=1, votedFor=leader744 06:57:25,145 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader744 in 88.33 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 06:57:25,146 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Received ReplicatedLogEntry for recovery: index: 4, size: 4 06:57:25,146 AM [test-akka.actor.default-dispatcher-11] [WARN] AbstractReplicatedLogImpl - leader744: Cannot append new entry - new index 4 is not greater than the last index 4 java.lang.Exception: stack trace at org.opendaylight.controller.cluster.raft.AbstractReplicatedLogImpl.append(AbstractReplicatedLogImpl.java:129) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.onRecoveredJournalLogEntry(RaftActorRecoverySupport.java:180) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.handleRecoveryMessage(RaftActorRecoverySupport.java:67) at org.opendaylight.controller.cluster.raft.RaftActor.handleRecover(RaftActor.java:165) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) at scala.PartialFunction.applyOrElse(PartialFunction.scala:214) at scala.PartialFunction.applyOrElse$(PartialFunction.scala:213) at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) at scala.PartialFunction$OrElse.apply(PartialFunction.scala:266) at akka.persistence.Eventsourced$$anon$2$$anonfun$1.applyOrElse(Eventsourced.scala:639) at akka.actor.Actor.aroundReceive(Actor.scala:537) at akka.actor.Actor.aroundReceive$(Actor.scala:535) at akka.persistence.AbstractPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:295) at akka.persistence.Eventsourced$$anon$3.stateReceive(Eventsourced.scala:756) at akka.persistence.Eventsourced.aroundReceive(Eventsourced.scala:245) at akka.persistence.Eventsourced.aroundReceive$(Eventsourced.scala:244) at akka.persistence.AbstractPersistentActor.aroundReceive(PersistentActor.scala:295) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:579) at akka.actor.ActorCell.invoke(ActorCell.scala:547) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270) at akka.dispatch.Mailbox.run(Mailbox.scala:231) at akka.dispatch.Mailbox.exec(Mailbox.scala:243) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) 06:57:25,146 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Received apply journal entries for recovery, applying to state: 2 to 4 06:57:25,146 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Moving last applied index from 1 to 4 06:57:25,146 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Recovery completed in 2.196 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 06:57:25,147 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Follower): Received TimeoutNow - switching to Candidate 06:57:25,147 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate): Election: Candidate has following voting peers: [] 06:57:25,147 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744: Set currentTerm=2, votedFor=leader744 06:57:25,147 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate): Starting new election term 2 06:57:25,147 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 06:57:25,147 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate): Received ElectionTimeout 06:57:25,148 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Leader): Election: Leader has following peers: [] 06:57:25,148 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader744 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:57:25,243 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower745-collector747#1526416503] 06:57:25,254 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower745] 06:57:25,254 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader744-collector748#-1295186992] 06:57:25,254 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader744] 06:57:25,254 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader744-collector749#1351377425] 06:57:25,255 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader744] [WARN] [01/22/2024 06:57:25.257] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower751]: org.opendaylight.controller.cluster.common.actor.Monitor@51ed5105 06:57:25,257 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower751 with journal batch size 1000 06:57:25,258 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:57:25.358] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader750]: org.opendaylight.controller.cluster.common.actor.Monitor@3f02bf2d 06:57:25,358 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader750 with journal batch size 1000 06:57:25,360 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:25,814 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:57:25,814 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:57:25,814 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Follower): Received ElectionTimeout - switching to Candidate 06:57:25,814 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Candidate): Election: Candidate has following voting peers: [follower751, follower752] 06:57:25,814 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Set currentTerm=1, votedFor=leader750 06:57:25,814 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Candidate): Starting new election term 1 06:57:25,815 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Candidate): Sending RequestVote [term=1, candidateId=leader750, lastLogIndex=-1, lastLogTerm=-1] to peer follower751 06:57:25,815 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Candidate): Sending RequestVote [term=1, candidateId=leader750, lastLogIndex=-1, lastLogTerm=-1] to peer follower752 06:57:25,815 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 06:57:25,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:25,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Cluster state: [] 06:57:25,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader750, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:25,815 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader750, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:25,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Set currentTerm=1, votedFor=null [WARN] [01/22/2024 06:57:25.815] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader750]: RequestVote [term=1, candidateId=leader750, lastLogIndex=-1, lastLogTerm=-1] 06:57:25,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): In requestVote: RequestVote [term=1, candidateId=leader750, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:25,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Set currentTerm=1, votedFor=leader750 06:57:25,815 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 06:57:25,816 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 06:57:25,816 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 06:57:25,816 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Election: Leader has following peers: [follower751, follower752] 06:57:25,816 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower751: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:25,816 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower752: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:25,816 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 06:57:25,816 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower751: Last sync leader does not match current leader leader750, need to catch up to -1 06:57:25,817 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower751 updated: matchIndex: -1, nextIndex: 0 [WARN] [01/22/2024 06:57:25.817] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader750]: AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [01/22/2024 06:57:25.817] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower751] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1d4dd270 06:57:25,817 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower751: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:25,861 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:25,861 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:25,862 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:57:25,862 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower751: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:25,862 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): sendAppendEntries: 0 is present for follower follower751 06:57:25,862 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Sending AppendEntries to follower follower751: AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 06:57:25,862 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower752: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:25,862 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): handleAppendEntries: AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 06:57:25,862 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Number of entries to be appended = 1 06:57:25,862 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:25,862 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Append entry to log zero [WARN] [01/22/2024 06:57:25.862] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader750]: AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:25,862 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:25,862 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Log size is now 1 06:57:25,862 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower751, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:25,862 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower751: Lagging 0 entries behind leader leader750 and reached -1 (of expected -1) 06:57:25,862 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower751 updated: matchIndex: 0, nextIndex: 1 06:57:25,862 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower751: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:25,863 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:25,863 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:25,863 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:57:25,863 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Setting last applied to 0 06:57:25,863 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Moving last applied index from -1 to 0 06:57:25,863 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Applying state for log index 0 data zero 06:57:25,863 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: applyState called: zero [WARN] [01/22/2024 06:57:25.863] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower751] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@72c787f2 06:57:25,863 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Persisting ApplyJournalEntries with index=0 06:57:25,912 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:25,912 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:25,912 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:57:25,912 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower751: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:25,912 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): sendAppendEntries: 1 is present for follower follower751 06:57:25,912 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Sending AppendEntries to follower follower751: AppendEntries [leaderId=leader750, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 06:57:25,912 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower752: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:25,912 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): handleAppendEntries: AppendEntries [leaderId=leader750, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 06:57:25,912 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Number of entries to be appended = 1 06:57:25,912 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:25,912 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Append entry to log one 06:57:25,912 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [01/22/2024 06:57:25.912] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader750]: AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Log size is now 2 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Commit index set to 0 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower751, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:25,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower751: Lagging 0 entries behind leader leader750 and reached 0 (of expected -1) 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Setting last applied to 0 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Moving last applied index from -1 to 0 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Applying state for log index 0 data zero 06:57:25,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower751 updated: matchIndex: 1, nextIndex: 2 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: applyState called: zero 06:57:25,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:57:25,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Setting last applied to 1 06:57:25,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Moving last applied index from 0 to 1 06:57:25,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Applying state for log index 1 data one 06:57:25,913 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: applyState called: one 06:57:25,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower751: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:25,913 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Persisting ApplyJournalEntries with index=1 06:57:25,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:25,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Persisting ApplyJournalEntries with index=0 06:57:25,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Commit index set to 1 06:57:25,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower751: Lagging 0 entries behind leader leader750 and reached 1 (of expected -1) 06:57:25,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 06:57:25,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Setting last applied to 1 06:57:25,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Moving last applied index from 0 to 1 06:57:25,914 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Applying state for log index 1 data one 06:57:25,914 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: applyState called: one 06:57:25,914 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Persisting ApplyJournalEntries with index=1 [WARN] [01/22/2024 06:57:25.934] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader750]: AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:25,965 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower752 with journal batch size 1000 [WARN] [01/22/2024 06:57:25.965] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower752]: org.opendaylight.controller.cluster.common.actor.Monitor@1abef1f2 06:57:25,972 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:26,54 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower751: Lagging 0 entries behind leader leader750 and reached 1 (of expected -1) [WARN] [01/22/2024 06:57:26.054] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader750]: AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:26,64 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower752 set to akka://test/user/follower752 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower751: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): sendAppendEntries: 2 is present for follower follower751 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Sending AppendEntries to follower follower751: AppendEntries [leaderId=leader750, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower752: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:26,65 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): handleAppendEntries: AppendEntries [leaderId=leader750, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Term 1 in "AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Set currentTerm=1, votedFor=null 06:57:26,65 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Number of entries to be appended = 1 06:57:26,65 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:57:26,65 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Append entry to log two 06:57:26,65 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower752: Last sync leader does not match current leader leader750, need to catch up to -1 06:57:26,65 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Log size is now 3 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower752 updated: matchIndex: -1, nextIndex: 0 06:57:26,65 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower751, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:26,65 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower751: Lagging 0 entries behind leader leader750 and reached 1 (of expected -1) 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower752: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:26,65 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): sendAppendEntries: 0 is present for follower follower752 06:57:26,66 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Sending AppendEntries to follower follower752: AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero], SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 06:57:26,66 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower751 updated: matchIndex: 2, nextIndex: 3 06:57:26,66 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower751: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:26,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:26,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 06:57:26,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Setting last applied to 2 06:57:26,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Moving last applied index from 1 to 2 06:57:26,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Applying state for log index 2 data two 06:57:26,66 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: applyState called: two 06:57:26,66 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:26,66 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Persisting ApplyJournalEntries with index=2 06:57:26,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): handleAppendEntries: AppendEntries [leaderId=leader750, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero], SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 06:57:26,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Number of entries to be appended = 3 06:57:26,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:26,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Append entry to log zero 06:57:26,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:26,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Append entry to log one 06:57:26,66 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [01/22/2024 06:57:26.066] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower752] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@43f6d33d 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Append entry to log two 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Log size is now 3 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Commit index set to 1 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower752, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower752: Lagging 0 entries behind leader leader750 and reached 1 (of expected -1) 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 2 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Setting last applied to 0 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Moving last applied index from -1 to 0 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Applying state for log index 0 data zero 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: applyState called: zero 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Setting last applied to 1 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Moving last applied index from 0 to 1 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Applying state for log index 1 data one 06:57:26,67 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: applyState called: one 06:57:26,67 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower752 updated: matchIndex: 2, nextIndex: 3 06:57:26,67 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: fakeSnapshot purging log to 1 for term 1 06:57:26,67 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower752: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Persisting ApplyJournalEntries with index=1 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Commit index set to 2 [WARN] [01/22/2024 06:57:26.068] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower752] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5577f94e 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower752: Lagging 0 entries behind leader leader750 and reached 2 (of expected -1) 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Setting last applied to 2 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Moving last applied index from 1 to 2 06:57:26,68 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Applying state for log index 2 data two 06:57:26,69 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: applyState called: two 06:57:26,69 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: fakeSnapshot purging log to 1 for term 1 06:57:26,69 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Persisting ApplyJournalEntries with index=2 [WARN] [01/22/2024 06:57:26.129] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower752]: org.opendaylight.controller.cluster.common.actor.Monitor@62f8db5c 06:57:26,129 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower752 with journal batch size 1000 06:57:26,129 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower752 set to akka://test/user/follower752 06:57:26,130 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:26,175 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Commit index set to 2 06:57:26,175 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower751: Lagging 0 entries behind leader leader750 and reached 2 (of expected -1) 06:57:26,175 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 06:57:26,175 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751 (Follower): Setting last applied to 2 06:57:26,175 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Moving last applied index from 1 to 2 06:57:26,175 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Applying state for log index 2 data two 06:57:26,175 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Term 1 in "AppendEntries [leaderId=leader750, prevLogIndex=2, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 06:57:26,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Set currentTerm=1, votedFor=null 06:57:26,175 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: applyState called: two 06:57:26,175 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: fakeSnapshot purging log to 1 for term 1 06:57:26,175 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower751: Persisting ApplyJournalEntries with index=2 06:57:26,175 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): The followers log is empty and the senders prevLogIndex is 2 06:57:26,175 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower752, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:26,175 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower752: Last sync leader does not match current leader leader750, need to catch up to 2 06:57:26,175 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower752, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower752 updated: matchIndex: -1, nextIndex: 0 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): follower follower752 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Checking sendAppendEntries for follower follower752: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Initiating install snapshot to follower follower752: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=2, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower752 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: lastSequenceNumber prior to capture: 7 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: CaptureSnapshotReply received by actor [WARN] [01/22/2024 06:57:26.176] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower752] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@623293b4 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader750, ServerConfigPayload=null] 06:57:26,176 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): sendInstallSnapshot 06:57:26,176 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower752, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader750 (Leader): Snapshot 345 bytes, total chunks to send: 1 06:57:26,176 AM [test-akka.actor.default-dispatcher-16] [DEBUG] LeaderInstallSnapshotState - leader750 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 06:57:26,177 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): next snapshot chunk size for follower follower752: 345 06:57:26,177 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): InstallSnapshot sent to follower Vector(user, follower752), Chunk: 1/1 06:57:26,177 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader750, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 06:57:26,177 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 06:57:26,177 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower752, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 06:57:26,177 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): Snapshot installed from leader: leader750 06:57:26,177 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): follower follower752 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 06:57:26,177 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 06:57:26,177 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: Snapshot success - sequence number: 7 06:57:26,177 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: SnapshotComplete received 06:57:26,177 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: handled a snapshot response 06:57:26,177 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750: handled a journal response 06:57:26,178 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Applying snapshot on follower: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=null, ServerConfigPayload=null] 06:57:26,178 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 06:57:26,178 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 06:57:26,178 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Snapshot success - sequence number: 1 06:57:26,178 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Moving last applied index from -1 to 2 06:57:26,178 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Set currentTerm=1, votedFor=null 06:57:26,178 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: applySnapshot called 06:57:26,178 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower752, chunkIndex=1, success=true] 06:57:26,178 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: SnapshotComplete received 06:57:26,178 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower752, chunkIndex=1, success=true] 06:57:26,178 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader750 (Leader): Snapshot successfully installed on follower follower752 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 06:57:26,178 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: handled a snapshot response 06:57:26,179 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: handled a journal response [WARN] [01/22/2024 06:57:26.202] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower752]: org.opendaylight.controller.cluster.common.actor.Monitor@4dca30fe 06:57:26,202 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower752 with journal batch size 1000 06:57:26,203 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: SnapshotOffer called. 06:57:26,203 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Moving last applied index from -1 to 2 06:57:26,203 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Set currentTerm=1, votedFor=null 06:57:26,203 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower752 in 114.1 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 06:57:26,204 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower752: Recovery completed in 961.1 μs - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 06:57:26,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower751: Lagging 0 entries behind leader leader750 and reached 2 (of expected -1) 06:57:26,295 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower752: Last sync leader does not match current leader leader750, need to catch up to 2 [WARN] [01/22/2024 06:57:26.295] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower752] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3a811b55 06:57:26,302 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower751-collector753#-1609927682] 06:57:26,312 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower751] 06:57:26,313 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader750-collector754#557923434] 06:57:26,313 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader750] 06:57:26,313 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower752-collector755#-101000535] 06:57:26,313 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower752] 06:57:26,313 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower752-collector756#-1192096373] 06:57:26,313 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower752] 06:57:26,314 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower752-collector757#537796572] 06:57:26,314 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower752] [WARN] [01/22/2024 06:57:26.316] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower759]: org.opendaylight.controller.cluster.common.actor.Monitor@77c96089 06:57:26,316 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower759 with journal batch size 1000 06:57:26,317 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/22/2024 06:57:26.417] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader758]: org.opendaylight.controller.cluster.common.actor.Monitor@473d1974 06:57:26,417 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader758 with journal batch size 1000 06:57:26,420 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 06:57:26,924 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 06:57:26,925 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.69:25520, Removed) 06:57:26,925 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Follower): Received ElectionTimeout - switching to Candidate 06:57:26,925 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate): Election: Candidate has following voting peers: [follower759, follower760] 06:57:26,925 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Set currentTerm=1, votedFor=leader758 06:57:26,925 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate): Starting new election term 1 06:57:26,925 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate): Sending RequestVote [term=1, candidateId=leader758, lastLogIndex=-1, lastLogTerm=-1] to peer follower759 06:57:26,925 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate): Sending RequestVote [term=1, candidateId=leader758, lastLogIndex=-1, lastLogTerm=-1] to peer follower760 06:57:26,925 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 06:57:26,925 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 06:57:26,925 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Cluster state: [] 06:57:26,925 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader758, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 06:57:26,925 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader758, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 06:57:26,925 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Set currentTerm=1, votedFor=null 06:57:26,925 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): In requestVote: RequestVote [term=1, candidateId=leader758, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 06:57:26,925 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Set currentTerm=1, votedFor=leader758 [WARN] [01/22/2024 06:57:26.925] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: RequestVote [term=1, candidateId=leader758, lastLogIndex=-1, lastLogTerm=-1] 06:57:26,926 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 06:57:26,926 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 06:57:26,926 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 06:57:26,926 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Election: Leader has following peers: [follower759, follower760] 06:57:26,927 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:26,927 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower760: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 06:57:26,927 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower759: Last sync leader does not match current leader leader758, need to catch up to -1 06:57:26,927 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [01/22/2024 06:57:26.927] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower759] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@22d8576b 06:57:26,927 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower759 updated: matchIndex: -1, nextIndex: 0 06:57:26,927 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:26.927] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:26,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:26,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:26,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 06:57:26,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:26,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): sendAppendEntries: 0 is present for follower follower759 06:57:26,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Sending AppendEntries to follower follower759: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 06:57:26,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower760: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 06:57:26,970 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): handleAppendEntries: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 06:57:26,970 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Number of entries to be appended = 1 06:57:26,970 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 06:57:26,970 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Append entry to log zero 06:57:26,970 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:26,971 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Log size is now 1 06:57:26,971 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower759, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:26,971 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower759: Lagging 0 entries behind leader leader758 and reached -1 (of expected -1) 06:57:26,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower759 updated: matchIndex: 0, nextIndex: 1 06:57:26,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:26.971] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:26,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 06:57:26,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 06:57:26,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Setting last applied to 0 06:57:26,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Moving last applied index from -1 to 0 06:57:26,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Applying state for log index 0 data zero 06:57:26,971 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: applyState called: zero 06:57:26,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Persisting ApplyJournalEntries with index=0 06:57:26,972 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [01/22/2024 06:57:26.972] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower759] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@331510ef 06:57:27,20 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:27,20 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:27,20 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 06:57:27,20 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:27,20 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): sendAppendEntries: 1 is present for follower follower759 06:57:27,20 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Sending AppendEntries to follower follower759: AppendEntries [leaderId=leader758, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 06:57:27,20 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower760: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 06:57:27,20 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): handleAppendEntries: AppendEntries [leaderId=leader758, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Number of entries to be appended = 1 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Append entry to log one 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Log size is now 2 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Commit index set to 0 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower759, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower759: Lagging 0 entries behind leader leader758 and reached 0 (of expected -1) 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Setting last applied to 0 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Moving last applied index from -1 to 0 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Applying state for log index 0 data zero 06:57:27,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower759 updated: matchIndex: 1, nextIndex: 2 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: applyState called: zero 06:57:27,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [01/22/2024 06:57:27.021] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Setting last applied to 1 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Moving last applied index from 0 to 1 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Applying state for log index 1 data one 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: applyState called: one 06:57:27,21 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Persisting ApplyJournalEntries with index=1 06:57:27,21 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 06:57:27,22 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Persisting ApplyJournalEntries with index=0 [WARN] [01/22/2024 06:57:27.044] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): sendAppendEntries: 2 is present for follower follower759 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Sending AppendEntries to follower follower759: AppendEntries [leaderId=leader758, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower760: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true [WARN] [01/22/2024 06:57:27.071] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): sendAppendEntries: 2 is present for follower follower759 06:57:27,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower760: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 06:57:27,72 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:27,72 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [01/22/2024 06:57:27.072] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:27,72 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 06:57:27,72 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: lastSequenceNumber prior to capture: 7 06:57:27,164 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): sendAppendEntries: 2 is present for follower follower759 [WARN] [01/22/2024 06:57:27.165] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:27,284 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): sendAppendEntries: 2 is present for follower follower759 06:57:27,284 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Sending AppendEntries to follower follower759: AppendEntries [leaderId=leader758, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [01/22/2024 06:57:27.285] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:27,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): sendAppendEntries: 2 is present for follower follower759 06:57:27,404 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Sending AppendEntries to follower follower759: AppendEntries [leaderId=leader758, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [01/22/2024 06:57:27.404] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:27,423 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:27,423 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:27,423 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 06:57:27,423 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:57:27,423 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower760: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:57:27,424 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower759: Lagging -1 entries behind leader leader758 and reached 0 (of expected -1) [WARN] [01/22/2024 06:57:27.424] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 06:57:27,424 AM [test-akka.actor.default-dispatcher-17] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower759, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 402, lastApplied : 1, commitIndex : 1 06:57:27,424 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): sendAppendEntries: 2 is present for follower follower759 06:57:27,424 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Sending AppendEntries to follower follower759: AppendEntries [leaderId=leader758, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 06:57:27,424 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:27,424 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): handleAppendEntries: AppendEntries [leaderId=leader758, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 06:57:27,424 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Number of entries to be appended = 3 06:57:27,424 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 06:57:27,424 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Append entry to log two 06:57:27,424 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:27,424 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Append entry to log three 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Append entry to log four 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Log size is now 5 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Commit index set to 1 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower759, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower759: Lagging 0 entries behind leader leader758 and reached 1 (of expected -1) 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Setting last applied to 1 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Moving last applied index from 0 to 1 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Applying state for log index 1 data one 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower759 updated: matchIndex: 4, nextIndex: 5 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Setting last applied to 2 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Moving last applied index from 1 to 2 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Applying state for log index 2 data two 06:57:27,425 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: applyState called: one 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: applyState called: two 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Setting last applied to 3 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Moving last applied index from 2 to 3 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Applying state for log index 3 data three 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: applyState called: three 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Setting last applied to 4 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Moving last applied index from 3 to 4 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Applying state for log index 4 data four 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: applyState called: four 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Checking sendAppendEntries for follower follower759: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 06:57:27,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Persisting ApplyJournalEntries with index=4 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Persisting ApplyJournalEntries with index=1 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Commit index set to 4 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower759: Lagging 0 entries behind leader leader758 and reached 4 (of expected -1) 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Setting last applied to 2 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Moving last applied index from 1 to 2 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Applying state for log index 2 data two 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: applyState called: two 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Setting last applied to 3 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Moving last applied index from 2 to 3 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Applying state for log index 3 data three 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: applyState called: three 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759 (Follower): Setting last applied to 4 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Moving last applied index from 3 to 4 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Applying state for log index 4 data four 06:57:27,426 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: applyState called: four 06:57:27,426 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower759: Persisting ApplyJournalEntries with index=4 06:57:27,474 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: CaptureSnapshotReply received by actor 06:57:27,474 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader758, ServerConfigPayload=null] 06:57:27,474 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 06:57:27,474 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 06:57:27,474 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 06:57:27,474 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Snapshot success - sequence number: 7 06:57:27,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: SnapshotComplete received 06:57:27,475 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: handled a snapshot response 06:57:27,475 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: handled a journal response [WARN] [01/22/2024 06:57:27.525] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader758]: AppendEntries [leaderId=leader758, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [01/22/2024 06:57:27.537] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader758]: org.opendaylight.controller.cluster.common.actor.Monitor@65645b35 06:57:27,538 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader758 with journal batch size 1000 06:57:27,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: SnapshotOffer called. 06:57:27,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Moving last applied index from -1 to 1 06:57:27,538 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Set currentTerm=1, votedFor=leader758 06:57:27,539 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader758 in 145.5 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 06:57:27,547 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Received ReplicatedLogEntry for recovery: index: 4, size: 4 06:57:27,547 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Received apply journal entries for recovery, applying to state: 2 to 4 06:57:27,547 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Moving last applied index from 1 to 4 06:57:27,547 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Recovery completed in 8.721 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 06:57:27,547 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower759-collector761#215756219] 06:57:27,548 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Follower): Received TimeoutNow - switching to Candidate 06:57:27,548 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate): Election: Candidate has following voting peers: [] 06:57:27,548 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758: Set currentTerm=2, votedFor=leader758 06:57:27,548 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate): Starting new election term 2 06:57:27,548 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 06:57:27,554 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate): Received ElectionTimeout 06:57:27,554 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Leader): Election: Leader has following peers: [] 06:57:27,554 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader758 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 06:57:27,558 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower759] 06:57:27,558 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader758-collector762#238457094] 06:57:27,558 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader758] 06:57:27,558 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader758-collector763#-1653885962] 06:57:27,558 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader758] [INFO] [01/22/2024 06:57:27.559] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 06:57:27,560 AM [test-akka.actor.default-dispatcher-5] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [01/22/2024 06:57:27.560] [test-akka.actor.default-dispatcher-18] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.69:25520) [INFO] [01/22/2024 06:57:27.560] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Exiting completed [INFO] [01/22/2024 06:57:27.560] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Shutting down... [INFO] [01/22/2024 06:57:27.560] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.69:25520] - Successfully shut down 06:57:27,561 AM [test-akka.actor.default-dispatcher-18] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Exiting completed 06:57:27,561 AM [test-akka.actor.default-dispatcher-18] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Shutting down... 06:57:27,561 AM [test-akka.actor.default-dispatcher-18] [INFO] Cluster - Cluster Node [akka://test@10.30.171.69:25520] - Successfully shut down [INFO] [01/22/2024 06:57:27.561] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.69:25520/system/remoting-terminator] Shutting down remote daemon. 06:57:27,561 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [01/22/2024 06:57:27.562] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.69:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 06:57:27,562 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports.