[DEBUG] [03/25/2024 08:38:41.804] [main] [EventStream(akka://test)] logger log1-TestEventListener started 08:38:41,805 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/25/2024 08:38:41.805] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/25/2024 08:38:41.805] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/25/2024 08:38:41.820] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.141:25520] with UID [5445137195456481606] [INFO] [03/25/2024 08:38:41.821] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/25/2024 08:38:41.823] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/25/2024 08:38:41.823] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Started up successfully 08:38:41,830 AM [test-akka.actor.default-dispatcher-8] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.141:25520] with UID [5445137195456481606] 08:38:41,830 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Starting up, Akka version [2.6.21] ... 08:38:41,830 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Registered cluster JMX MBean [akka:type=Cluster] 08:38:41,830 AM [test-akka.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Started up successfully 08:38:41,834 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 08:38:41,834 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [03/25/2024 08:38:41.831] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/25/2024 08:38:41.831] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [03/25/2024 08:38:41.836] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower555]: org.opendaylight.controller.cluster.common.actor.Monitor@22e679d4 [INFO] [akkaDeadLetter][03/25/2024 08:38:41.836] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower555] 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'. 08:38:41,836 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower555] 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'. 08:38:41,844 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower555 with journal batch size 1000 08:38:41,849 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 08:38:41.937] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader554]: org.opendaylight.controller.cluster.common.actor.Monitor@67ede98b [INFO] [akkaDeadLetter][03/25/2024 08:38:41.937] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader554] 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'. 08:38:41,938 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader554] 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'. 08:38:41,938 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader554 with journal batch size 1000 08:38:41,939 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:38:42,380 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:38:42,381 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.141:25520, Removed) 08:38:42,381 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Received ElectionTimeout - switching to Candidate 08:38:42,381 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Election: Candidate has following voting peers: [follower556, follower555] 08:38:42,381 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=1, votedFor=leader554 08:38:42,381 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Starting new election term 1 08:38:42,381 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Sending RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] to peer follower556 08:38:42,381 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Sending RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] to peer follower555 08:38:42,381 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 08:38:42,382 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [03/25/2024 08:38:42.382] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] 08:38:42,382 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Cluster state: [] 08:38:42,382 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:38:42,382 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 08:38:42,382 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=null [INFO] [akkaDeadLetter][03/25/2024 08:38:42.382] [test-akka.actor.default-dispatcher-8] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader554] 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'. 08:38:42,382 AM [test-akka.actor.default-dispatcher-14] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader554] 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'. 08:38:42,382 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): In requestVote: RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:38:42,382 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=leader554 08:38:42,382 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:38:42,383 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 08:38:42,383 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 08:38:42,383 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Election: Leader has following peers: [follower556, follower555] 08:38:42,383 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:42,383 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:42,383 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 08:38:42,383 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower555: Last sync leader does not match current leader leader554, need to catch up to -1 [WARN] [03/25/2024 08:38:42.383] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][03/25/2024 08:38:42.383] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,383 AM [test-akka.actor.default-dispatcher-6] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,384 AM [test-akka.actor.default-dispatcher-8] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [03/25/2024 08:38:42.384] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@69737908 [INFO] [akkaDeadLetter][03/25/2024 08:38:42.384] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower555] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] 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'. 08:38:42,384 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: -1, nextIndex: 0 08:38:42,384 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 0 is present for follower follower555 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] [WARN] [03/25/2024 08:38:42.394] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log zero 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [INFO] [akkaDeadLetter][03/25/2024 08:38:42.394] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,394 AM [test-akka.actor.default-dispatcher-8] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,394 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 1 08:38:42,395 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:42,395 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached -1 (of expected -1) 08:38:42,395 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 0, nextIndex: 1 08:38:42,395 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:42,395 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:42,395 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 08:38:42,395 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 0 08:38:42,395 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from -1 to 0 08:38:42,395 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 0 data zero 08:38:42,395 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/25/2024 08:38:42.396] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@797845a6 [INFO] [akkaDeadLetter][03/25/2024 08:38:42.396] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower555] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] 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'. 08:38:42,396 AM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] 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'. 08:38:42,396 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: zero 08:38:42,396 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=0 08:38:42,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:42,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:42,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 08:38:42,445 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 1 is present for follower follower555 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [03/25/2024 08:38:42.446] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log one 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [INFO] [akkaDeadLetter][03/25/2024 08:38:42.446] [test-akka.actor.default-dispatcher-14] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 2 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 0 08:38:42,446 AM [test-akka.actor.default-dispatcher-8] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 0 (of expected -1) 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 0 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from -1 to 0 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 0 data zero 08:38:42,446 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 1, nextIndex: 2 08:38:42,446 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: zero 08:38:42,446 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:42,447 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:42,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 08:38:42,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 1 08:38:42,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 0 to 1 08:38:42,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 1 data one 08:38:42,448 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: one 08:38:42,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=1 08:38:42,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:42,448 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=0 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 2 is present for follower follower555 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] [WARN] [03/25/2024 08:38:42.496] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:42,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 08:38:42,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 08:38:42,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 08:38:42,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log two 08:38:42,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 [INFO] [akkaDeadLetter][03/25/2024 08:38:42.496] [test-akka.actor.default-dispatcher-14] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:38:42,496 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 2 is present for follower follower555 08:38:42,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 3 08:38:42,496 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 1 08:38:42,496 AM [test-akka.actor.default-dispatcher-14] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,497 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:42,497 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 1 (of expected -1) 08:38:42,497 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 08:38:42,497 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 1 08:38:42,497 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 0 to 1 08:38:42,497 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 1 data one 08:38:42,497 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 2, nextIndex: 3 08:38:42,497 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: one 08:38:42,497 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:38:42,497 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 3 is present for follower follower555 08:38:42,497 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/25/2024 08:38:42.497] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][03/25/2024 08:38:42.497] [test-akka.actor.default-dispatcher-15] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,497 AM [test-akka.actor.default-dispatcher-15] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] 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'. 08:38:42,497 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:42,498 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 08:38:42,498 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 2 08:38:42,498 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 1 to 2 08:38:42,498 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 2 data two 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:42,498 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: two 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=1 08:38:42,498 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=2 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log three 08:38:42,498 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 4 08:38:42,498 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 08:38:42,498 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: lastSequenceNumber prior to capture: 7 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:42,498 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 1 (of expected -1) 08:38:42,498 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 3, nextIndex: 4 08:38:42,498 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 08:38:42,498 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 3 08:38:42,498 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 3 08:38:42,498 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 3 data three 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: three 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: CaptureSnapshotReply received by actor 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: 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=leader554, ServerConfigPayload=null] 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=3 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Snapshot success - sequence number: 7 08:38:42,499 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SnapshotComplete received 08:38:42,499 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: handled a snapshot response 08:38:42,500 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: handled a journal response [WARN] [03/25/2024 08:38:42.500] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 3 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 3 (of expected -1) 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 2 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 1 to 2 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 2 data two 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: two 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 3 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 2 to 3 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 3 data three 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: three 08:38:42,501 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=3 08:38:42,581 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:42,581 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/25/2024 08:38:42.582] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/25/2024 08:38:42.582] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower555] received dead letter from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 08:38:42,582 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 [WARN] [03/25/2024 08:38:42.582] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:42,583 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:42,586 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] 08:38:42,620 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 [WARN] [03/25/2024 08:38:42.620] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:42,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 08:38:42,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 08:38:42,635 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 08:38:42,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 08:38:42,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 08:38:42,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 08:38:42,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 08:38:42,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 08:38:42,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 08:38:42,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 08:38:42,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 08:38:42,636 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 [WARN] [03/25/2024 08:38:42.636] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/25/2024 08:38:42.636] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:42,636 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 08:38:42,637 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 08:38:42,649 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader554 with journal batch size 1000 [WARN] [03/25/2024 08:38:42.649] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader554]: org.opendaylight.controller.cluster.common.actor.Monitor@44433bd3 08:38:42,649 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SnapshotOffer called. 08:38:42,649 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from -1 to 2 08:38:42,649 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=1, votedFor=leader554 08:38:42,650 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader554 in 183.7 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received apply journal entries for recovery, applying to state: 3 to 2 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 2 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received apply journal entries for recovery, applying to state: 3 to 3 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 3 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 4, size: 4 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 5, size: 4 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 4, size: 7 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 5, size: 7 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Recovery completed in 1.750 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 08:38:42,651 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Received TimeoutNow - switching to Candidate 08:38:42,652 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Election: Candidate has following voting peers: [] 08:38:42,652 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower555-collector557#-1994183562] 08:38:42,652 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=2, votedFor=leader554 08:38:42,652 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Starting new election term 2 08:38:42,652 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:38:42,652 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Received ElectionTimeout 08:38:42,652 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Election: Leader has following peers: [] 08:38:42,652 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:38:42,662 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower555] 08:38:42,663 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader554-collector558#226107798] 08:38:42,663 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader554] 08:38:42,663 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader554-collector559#1771096898] 08:38:42,663 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader554] [WARN] [03/25/2024 08:38:42.665] [test-akka.actor.default-dispatcher-15] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower561]: org.opendaylight.controller.cluster.common.actor.Monitor@15b29679 08:38:42,666 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower561 with journal batch size 1000 08:38:42,667 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:38:42,668 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader560 with journal batch size 1000 [WARN] [03/25/2024 08:38:42.668] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader560]: org.opendaylight.controller.cluster.common.actor.Monitor@254eed35 08:38:42,668 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:38:43,140 AM [test-akka.actor.default-dispatcher-13] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:38:43,141 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.141:25520, Removed) 08:38:43,141 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Received ElectionTimeout - switching to Candidate 08:38:43,141 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Election: Candidate has following voting peers: [follower562, follower561] 08:38:43,141 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=1, votedFor=leader560 08:38:43,141 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Starting new election term 1 08:38:43,141 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Sending RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] to peer follower562 08:38:43,141 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Sending RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] to peer follower561 08:38:43,141 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 [WARN] [03/25/2024 08:38:43.141] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] 08:38:43,141 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:38:43,142 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Cluster state: [] 08:38:43,142 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:38:43,142 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 08:38:43,142 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Set currentTerm=1, votedFor=null 08:38:43,142 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): In requestVote: RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:38:43,142 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Set currentTerm=1, votedFor=leader560 08:38:43,142 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:38:43,143 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 08:38:43,143 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 08:38:43,143 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Election: Leader has following peers: [follower562, follower561] 08:38:43,143 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:43,143 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:43,143 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [03/25/2024 08:38:43.143] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:43,143 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower561: Last sync leader does not match current leader leader560, need to catch up to -1 08:38:43,143 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: -1, nextIndex: 0 08:38:43,144 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:38:43.144] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower561] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2e1a47fe 08:38:43,172 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:43,172 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:43,172 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 08:38:43,172 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:43,173 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:43,173 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 0 is present for follower follower561 08:38:43,173 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 08:38:43,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] [WARN] [03/25/2024 08:38:43.173] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:43,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 1 08:38:43,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:38:43,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log zero 08:38:43,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:43,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 1 08:38:43,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:43,173 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached -1 (of expected -1) 08:38:43,173 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 0, nextIndex: 1 08:38:43,173 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:43,174 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:43,174 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 08:38:43,174 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 0 08:38:43,174 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from -1 to 0 08:38:43,174 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 0 data zero 08:38:43,174 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: zero 08:38:43,174 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:43,174 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 08:38:43.174] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower561] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2ed0aa74 08:38:43,223 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:43,223 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:43,223 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 08:38:43,223 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:43,223 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:43,223 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 1 is present for follower follower561 08:38:43,223 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [03/25/2024 08:38:43.223] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:43,223 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries: AppendEntries [leaderId=leader560, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 1 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log one 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 2 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 0 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 0 (of expected -1) 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 0 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from -1 to 0 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 0 data zero 08:38:43,224 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 1, nextIndex: 2 08:38:43,224 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: zero 08:38:43,224 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:43,224 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:43,224 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 08:38:43,224 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 1 08:38:43,224 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 0 to 1 08:38:43,224 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 1 data one 08:38:43,224 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: one 08:38:43,224 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:43,224 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=1 08:38:43,225 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 08:38:43.260] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:43,273 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:43,273 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:43,273 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 08:38:43,273 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 [WARN] [03/25/2024 08:38:43.274] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/25/2024 08:38:43.274] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:43,274 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [03/25/2024 08:38:43.274] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: lastSequenceNumber prior to capture: 7 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: CaptureSnapshotReply received by actor 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader560, ServerConfigPayload=null] 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 08:38:43,282 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Snapshot success - sequence number: 7 08:38:43,283 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SnapshotComplete received 08:38:43,283 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: handled a snapshot response 08:38:43,283 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: handled a journal response 08:38:43,380 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 08:38:43,380 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/25/2024 08:38:43.380] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:43,500 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 08:38:43,500 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/25/2024 08:38:43.500] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:43,621 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 [WARN] [03/25/2024 08:38:43.621] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:43,621 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, 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]]] 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries: AppendEntries [leaderId=leader560, 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]]] 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 3 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log two 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log three 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log four 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 5 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 1 08:38:43,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:43,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 1 (of expected -1) 08:38:43,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 08:38:43,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 1 08:38:43,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 0 to 1 08:38:43,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 1 data one 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 4, nextIndex: 5 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 08:38:43,622 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: one 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 2 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 1 to 2 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 2 data two 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: two 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 3 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 2 to 3 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 3 data three 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: three 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 4 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 3 to 4 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 4 data four 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: four 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 08:38:43,622 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=4 08:38:43,623 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:43,623 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:43,623 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:43,623 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=1 08:38:43,623 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 4 08:38:43,623 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 4 (of expected -1) 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 2 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 1 to 2 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 2 data two 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: two 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 3 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 2 to 3 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 3 data three 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: three 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 4 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 3 to 4 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 4 data four 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: four 08:38:43,624 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=4 [WARN] [03/25/2024 08:38:43.639] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader560]: org.opendaylight.controller.cluster.common.actor.Monitor@4a700444 08:38:43,640 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader560 with journal batch size 1000 08:38:43,641 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SnapshotOffer called. 08:38:43,641 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from -1 to 1 08:38:43,641 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=1, votedFor=leader560 08:38:43,642 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader560 in 94.16 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 08:38:43,643 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Received ReplicatedLogEntry for recovery: index: 4, size: 4 08:38:43,643 AM [test-akka.actor.default-dispatcher-14] [WARN] AbstractReplicatedLogImpl - leader560: 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) 08:38:43,643 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Received apply journal entries for recovery, applying to state: 2 to 4 08:38:43,643 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 1 to 4 08:38:43,644 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Recovery completed in 2.434 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 08:38:43,644 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Received TimeoutNow - switching to Candidate 08:38:43,644 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Election: Candidate has following voting peers: [] 08:38:43,644 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=2, votedFor=leader560 08:38:43,645 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Starting new election term 2 08:38:43,645 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:38:43,645 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower561-collector563#1417787168] 08:38:43,646 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Received ElectionTimeout 08:38:43,646 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Election: Leader has following peers: [] 08:38:43,646 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:38:43,656 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower561] 08:38:43,656 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader560-collector564#1477884635] 08:38:43,656 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader560] 08:38:43,656 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader560-collector565#2083439848] 08:38:43,657 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader560] [WARN] [03/25/2024 08:38:43.659] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower567]: org.opendaylight.controller.cluster.common.actor.Monitor@684f04e3 08:38:43,659 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower567 with journal batch size 1000 [WARN] [03/25/2024 08:38:43.660] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader566]: org.opendaylight.controller.cluster.common.actor.Monitor@1a7f1744 08:38:43,660 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:38:43,661 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader566 with journal batch size 1000 08:38:43,663 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:38:44,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:38:44,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.141:25520, Removed) 08:38:44,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower): Received ElectionTimeout - switching to Candidate 08:38:44,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Election: Candidate has following voting peers: [follower568, follower567] 08:38:44,110 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Set currentTerm=1, votedFor=leader566 08:38:44,110 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Starting new election term 1 08:38:44,111 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Sending RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] to peer follower568 08:38:44,111 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Sending RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] to peer follower567 08:38:44,111 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 08:38:44,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:38:44,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Cluster state: [] 08:38:44,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:38:44,111 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 08:38:44,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Set currentTerm=1, votedFor=null [WARN] [03/25/2024 08:38:44.111] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] 08:38:44,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): In requestVote: RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:38:44,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Set currentTerm=1, votedFor=leader566 08:38:44,111 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:38:44,112 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 08:38:44,112 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 08:38:44,112 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Election: Leader has following peers: [follower568, follower567] 08:38:44,112 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:44,112 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:44,112 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 08:38:44,112 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower567: Last sync leader does not match current leader leader566, need to catch up to -1 08:38:44,112 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: -1, nextIndex: 0 08:38:44,113 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:38:44.112] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/25/2024 08:38:44.113] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower567] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3025b9a8 08:38:44,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,117 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,118 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 08:38:44,118 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:44,118 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:44,118 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 0 is present for follower follower567 08:38:44,118 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower567: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] [WARN] [03/25/2024 08:38:44.118] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log zero 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 1 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower567, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached -1 (of expected -1) 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 0, nextIndex: 1 08:38:44,118 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:44,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 08:38:44,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 0 08:38:44,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from -1 to 0 08:38:44,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 0 data zero 08:38:44,119 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: zero 08:38:44,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=0 08:38:44,119 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/25/2024 08:38:44.120] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower567] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@52c5f83d 08:38:44,168 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:44,168 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:44,168 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 08:38:44,168 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:44,168 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:44,168 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 1 is present for follower follower567 08:38:44,168 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower567: AppendEntries [leaderId=leader566, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 [WARN] [03/25/2024 08:38:44.169] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log one 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 2 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 0 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower567, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 0 (of expected -1) 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 0 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from -1 to 0 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 0 data zero 08:38:44,169 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: zero 08:38:44,169 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 1, nextIndex: 2 08:38:44,169 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:44,169 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:44,169 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 08:38:44,169 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 1 08:38:44,169 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from 0 to 1 08:38:44,169 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 1 data one 08:38:44,170 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: one 08:38:44,170 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=1 08:38:44,170 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:44,170 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=0 08:38:44,222 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 [WARN] [03/25/2024 08:38:44.222] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@5c19db4b 08:38:44,225 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 08:38:44.230] [test-akka.actor.default-dispatcher-8] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:44,321 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower568 set to akka://test/user/follower568 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 2 is present for follower follower567 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower567: AppendEntries [leaderId=leader566, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 08:38:44,322 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Term 1 in "AppendEntries [leaderId=leader566, 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 08:38:44,322 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 08:38:44,322 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower568: Last sync leader does not match current leader leader566, need to catch up to -1 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log two 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 3 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 1 08:38:44,322 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: -1, nextIndex: 0 08:38:44,322 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower567, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:44,323 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 1 (of expected -1) 08:38:44,323 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 08:38:44,323 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 1 08:38:44,323 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from 0 to 1 08:38:44,323 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:44,323 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 1 data one 08:38:44,323 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 0 is present for follower follower568 08:38:44,323 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader566, 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]]] 08:38:44,323 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: one 08:38:44,323 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 2, nextIndex: 3 08:38:44,323 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:44,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:44,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 08:38:44,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 2 08:38:44,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from 1 to 2 08:38:44,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 2 data two 08:38:44,324 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: two 08:38:44,324 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=2 08:38:44,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, 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]]] 08:38:44,325 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=1 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 3 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log zero 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log one 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log two [WARN] [03/25/2024 08:38:44.325] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2d9708ee 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 3 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 1 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower568, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader566 and reached 1 (of expected -1) 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 2 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 0 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 0 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 0 data zero 08:38:44,325 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: zero 08:38:44,326 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 1 08:38:44,326 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 0 to 1 08:38:44,326 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 1 data one 08:38:44,326 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: one 08:38:44,326 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 2, nextIndex: 3 08:38:44,326 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: fakeSnapshot purging log to 1 for term 1 08:38:44,326 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 08:38:44,326 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,326 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:44,326 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:44,326 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=1 08:38:44,327 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 2 08:38:44,327 AM [test-akka.actor.default-dispatcher-8] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader566 and reached 2 (of expected -1) 08:38:44,327 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 08:38:44,327 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 2 08:38:44,327 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 1 to 2 08:38:44,327 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 2 data two [WARN] [03/25/2024 08:38:44.327] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@175b10c1 08:38:44,327 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: two 08:38:44,327 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: fakeSnapshot purging log to 1 for term 1 08:38:44,327 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=2 08:38:44,387 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 [WARN] [03/25/2024 08:38:44.387] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@287eeda6 08:38:44,387 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower568 set to akka://test/user/follower568 08:38:44,388 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:38:44,470 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Term 1 in "AppendEntries [leaderId=leader566, 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 08:38:44,470 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 2 08:38:44,470 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 08:38:44,470 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 2 (of expected -1) 08:38:44,470 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 08:38:44,470 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 2 08:38:44,470 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from 1 to 2 08:38:44,470 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 2 data two 08:38:44,470 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): The followers log is empty and the senders prevLogIndex is 2 08:38:44,470 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:44,470 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower568: Last sync leader does not match current leader leader566, need to catch up to 2 08:38:44,471 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: two 08:38:44,471 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 08:38:44,471 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: fakeSnapshot purging log to 1 for term 1 08:38:44,471 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: -1, nextIndex: 0 08:38:44,471 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): follower follower568 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 08:38:44,471 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 08:38:44,471 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=2 08:38:44,471 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Initiating install snapshot to follower follower568: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 08:38:44,471 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: 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 follower568 08:38:44,471 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: lastSequenceNumber prior to capture: 7 08:38:44,471 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: CaptureSnapshotReply received by actor 08:38:44,472 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: 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=leader566, ServerConfigPayload=null] 08:38:44,472 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 08:38:44,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendInstallSnapshot 08:38:44,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader566 (Leader): Snapshot 345 bytes, total chunks to send: 1 08:38:44,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader566 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 08:38:44,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): next snapshot chunk size for follower follower568: 345 08:38:44,472 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 08:38:44,472 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): InstallSnapshot sent to follower Vector(user, follower568), Chunk: 1/1 08:38:44,472 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:44,472 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 08:38:44,472 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): follower follower568 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 [WARN] [03/25/2024 08:38:44.472] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2cf1e4b7 08:38:44,472 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader566, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 08:38:44,472 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 08:38:44,472 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Snapshot installed from leader: leader566 08:38:44,473 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 08:38:44,473 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Snapshot success - sequence number: 7 08:38:44,473 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: 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] 08:38:44,473 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 08:38:44,473 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: SnapshotComplete received 08:38:44,473 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: handled a journal response 08:38:44,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: handled a snapshot response 08:38:44,476 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 08:38:44,476 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Snapshot success - sequence number: 1 08:38:44,476 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 2 08:38:44,476 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 08:38:44,476 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applySnapshot called 08:38:44,476 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower568, chunkIndex=1, success=true] 08:38:44,477 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower568, chunkIndex=1, success=true] 08:38:44,477 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotComplete received 08:38:44,477 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Snapshot successfully installed on follower follower568 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 08:38:44,477 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a journal response 08:38:44,477 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a snapshot response [WARN] [03/25/2024 08:38:44.500] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@42d0c7f 08:38:44,501 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 08:38:44,502 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotOffer called. 08:38:44,502 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 2 08:38:44,502 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 08:38:44,502 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower568 in 126.1 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 08:38:44,503 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed in 1.260 ms - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 08:38:44,509 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower567-collector569#-931102461] 08:38:44,520 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower567] 08:38:44,520 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader566-collector570#-27194583] 08:38:44,520 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader566] 08:38:44,521 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector571#-1749443388] 08:38:44,521 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] 08:38:44,521 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector572#-927049891] 08:38:44,521 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] 08:38:44,521 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector573#-1533554895] 08:38:44,521 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] [WARN] [03/25/2024 08:38:44.524] [test-akka.actor.default-dispatcher-8] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower575]: org.opendaylight.controller.cluster.common.actor.Monitor@1bb5515 08:38:44,525 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower575 with journal batch size 1000 08:38:44,526 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 08:38:44.526] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader574]: org.opendaylight.controller.cluster.common.actor.Monitor@58937a86 08:38:44,527 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader574 with journal batch size 1000 08:38:44,530 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 08:38:44,960 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 08:38:44,960 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.170.141:25520, Removed) 08:38:44,960 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Received ElectionTimeout - switching to Candidate 08:38:44,960 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Election: Candidate has following voting peers: [follower575, follower576] 08:38:44,960 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=1, votedFor=leader574 08:38:44,960 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Starting new election term 1 08:38:44,961 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Sending RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] to peer follower575 08:38:44,961 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Sending RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] to peer follower576 08:38:44,961 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 08:38:44,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 08:38:44,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Cluster state: [] 08:38:44,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 08:38:44,961 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 08:38:44,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Set currentTerm=1, votedFor=null 08:38:44,961 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): In requestVote: RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 08:38:44,962 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Set currentTerm=1, votedFor=leader574 08:38:44,962 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 08:38:44,962 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 08:38:44,962 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 [WARN] [03/25/2024 08:38:44.962] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] 08:38:44,962 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Election: Leader has following peers: [follower575, follower576] 08:38:44,962 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:44,962 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 08:38:44,962 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [03/25/2024 08:38:44.962] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:44,963 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower575: Last sync leader does not match current leader leader574, need to catch up to -1 08:38:44,963 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: -1, nextIndex: 0 08:38:44,963 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:38:44.963] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower575] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@79d7721b 08:38:44,979 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,979 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,979 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 08:38:44,979 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:44,979 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 0 is present for follower follower575 08:38:44,979 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 08:38:44,979 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:44,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 08:38:44,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 1 08:38:44,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 08:38:44,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log zero 08:38:44,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/25/2024 08:38:44.979] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:44,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 1 08:38:44,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:44,979 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached -1 (of expected -1) 08:38:44,979 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 0, nextIndex: 1 08:38:44,979 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 08:38:44,980 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,980 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 08:38:44,980 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 0 08:38:44,980 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from -1 to 0 08:38:44,980 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 0 data zero 08:38:44,980 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: zero 08:38:44,980 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 08:38:44,980 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 08:38:44.980] [test-akka.actor.default-dispatcher-8] [akka://test/user/follower575] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@68e6d0f 08:38:45,29 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:45,29 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:45,29 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 08:38:45,29 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:45,29 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 1 is present for follower follower575 08:38:45,29 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries: AppendEntries [leaderId=leader574, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 1 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log one 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 2 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 0 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 0 (of expected -1) 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 0 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from -1 to 0 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 0 data zero 08:38:45,30 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: zero 08:38:45,30 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:38:45.030] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:45,30 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 1, nextIndex: 2 08:38:45,31 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 08:38:45,32 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:45,32 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 08:38:45,32 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 08:38:45,32 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=0 08:38:45,32 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 1 08:38:45,32 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 0 to 1 08:38:45,32 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 1 data one 08:38:45,32 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: one 08:38:45,32 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=1 [WARN] [03/25/2024 08:38:45.081] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:45,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:45,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:45,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 08:38:45,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:45,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 08:38:45,81 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 08:38:45,82 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 08:38:45,82 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:45,82 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [03/25/2024 08:38:45.082] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:45,82 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 08:38:45,82 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 08:38:45,82 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 08:38:45,82 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:38:45.082] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:45,82 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:45,83 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:45,83 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 08:38:45,83 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: lastSequenceNumber prior to capture: 7 08:38:45,200 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 08:38:45,200 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/25/2024 08:38:45.201] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:45,320 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 08:38:45,320 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/25/2024 08:38:45.320] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:45,333 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:45,333 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:45,333 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 08:38:45,333 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:38:45,333 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 08:38:45,333 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 [WARN] [03/25/2024 08:38:45.334] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:45,334 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:45,440 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower575: Lagging -1 entries behind leader leader574 and reached 0 (of expected -1) 08:38:45,440 AM [test-akka.actor.default-dispatcher-5] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 409, lastApplied : 1, commitIndex : 1 08:38:45,440 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 [WARN] [03/25/2024 08:38:45.440] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 08:38:45,440 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, 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]]] 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries: AppendEntries [leaderId=leader574, 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]]] 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 3 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log two 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log three 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log four 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 5 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 1 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 1 (of expected -1) 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 1 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 0 to 1 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 1 data one 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 4, nextIndex: 5 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 2 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 1 to 2 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 2 data two 08:38:45,441 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: one 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: two 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 3 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 2 to 3 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 3 data three 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: three 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 4 08:38:45,441 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 3 to 4 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 4 data four 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: four 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=4 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=1 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 4 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 4 (of expected -1) 08:38:45,442 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 2 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 1 to 2 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 2 data two 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: two 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 3 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 2 to 3 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 3 data three 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: three 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 4 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 3 to 4 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 4 data four 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: four 08:38:45,443 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=4 08:38:45,484 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: CaptureSnapshotReply received by actor 08:38:45,484 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader574, ServerConfigPayload=null] 08:38:45,484 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 08:38:45,484 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 08:38:45,484 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 08:38:45,484 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Snapshot success - sequence number: 7 08:38:45,485 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SnapshotComplete received 08:38:45,485 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: handled a journal response 08:38:45,485 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: handled a snapshot response [WARN] [03/25/2024 08:38:45.547] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader574]: org.opendaylight.controller.cluster.common.actor.Monitor@771c872c 08:38:45,548 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader574 with journal batch size 1000 08:38:45,549 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SnapshotOffer called. 08:38:45,549 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from -1 to 1 08:38:45,549 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=1, votedFor=leader574 08:38:45,550 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader574 in 125.7 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 08:38:45,551 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Received ReplicatedLogEntry for recovery: index: 4, size: 4 08:38:45,551 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Received apply journal entries for recovery, applying to state: 2 to 4 08:38:45,551 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 1 to 4 08:38:45,551 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Recovery completed in 1.801 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 08:38:45,552 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower575-collector577#1584524940] 08:38:45,552 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Received TimeoutNow - switching to Candidate 08:38:45,552 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Election: Candidate has following voting peers: [] 08:38:45,552 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=2, votedFor=leader574 08:38:45,552 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Starting new election term 2 08:38:45,552 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 08:38:45,553 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Received ElectionTimeout 08:38:45,553 AM [test-akka.actor.default-dispatcher-8] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Election: Leader has following peers: [] 08:38:45,553 AM [test-akka.actor.default-dispatcher-8] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 08:38:45,562 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower575] 08:38:45,563 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader574-collector578#-1523666554] 08:38:45,563 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader574] 08:38:45,563 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader574-collector579#2104991351] 08:38:45,563 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader574] [INFO] [03/25/2024 08:38:45.564] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 08:38:45,564 AM [test-akka.actor.default-dispatcher-14] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/25/2024 08:38:45.565] [test-akka.actor.default-dispatcher-5] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.141:25520) [INFO] [03/25/2024 08:38:45.566] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Exiting completed [INFO] [03/25/2024 08:38:45.566] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Shutting down... [INFO] [03/25/2024 08:38:45.566] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.141:25520] - Successfully shut down 08:38:45,567 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Exiting completed 08:38:45,567 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Shutting down... 08:38:45,567 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.141:25520] - Successfully shut down 08:38:45,567 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [03/25/2024 08:38:45.567] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.170.141:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [03/25/2024 08:38:45.567] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.170.141:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 08:38:45,567 AM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/25/2024 08:38:45.570] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.170.141:25520/system/remoting-terminator] Remoting shut down. 08:38:45,570 AM [test-akka.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [03/25/2024 08:38:45.570] [test-akka.actor.internal-dispatcher-11] [EventStream] shutting down: StandardOutLogger