[DEBUG] [04/15/2024 10:48:45.617] [main] [EventStream(akka://test)] logger log1-TestEventListener started 10:48:45,618 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [04/15/2024 10:48:45.618] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [04/15/2024 10:48:45.618] [main] [EventStream(akka://test)] Default Loggers started [INFO] [04/15/2024 10:48:45.631] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.140:25520] with UID [-7721983231940121708] 10:48:45,632 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.140:25520] with UID [-7721983231940121708] [INFO] [04/15/2024 10:48:45.632] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.140:25520] - Starting up, Akka version [2.6.21] ... 10:48:45,636 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.140:25520] - Starting up, Akka version [2.6.21] ... 10:48:45,647 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.140:25520] - Registered cluster JMX MBean [akka:type=Cluster] 10:48:45,647 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.140:25520] - Started up successfully 10:48:45,647 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.140:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 10:48:45,647 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.140:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [04/15/2024 10:48:45.638] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.140:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [04/15/2024 10:48:45.638] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.140:25520] - Started up successfully [INFO] [04/15/2024 10:48:45.640] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.140:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [04/15/2024 10:48:45.640] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.140:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [04/15/2024 10:48:45.665] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower613]: org.opendaylight.controller.cluster.common.actor.Monitor@784e80b5 [INFO] [akkaDeadLetter][04/15/2024 10:48:45.665] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower613] 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'. 10:48:45,669 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower613 with journal batch size 1000 [WARN] [04/15/2024 10:48:45.671] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader612]: org.opendaylight.controller.cluster.common.actor.Monitor@3c6c4a1b 10:48:45,671 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader612 with journal batch size 1000 10:48:45,679 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower613] 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'. 10:48:45,679 AM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader612] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][04/15/2024 10:48:45.679] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader612] 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'. 10:48:45,684 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:48:45,685 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:48:46,183 AM [test-akka.actor.default-dispatcher-14] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:48:46,183 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.140:25520, Removed) 10:48:46,183 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Follower): Received ElectionTimeout - switching to Candidate 10:48:46,183 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate): Election: Candidate has following voting peers: [follower614, follower613] 10:48:46,183 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Set currentTerm=1, votedFor=leader612 10:48:46,183 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate): Starting new election term 1 10:48:46,184 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate): Sending RequestVote [term=1, candidateId=leader612, lastLogIndex=-1, lastLogTerm=-1] to peer follower614 10:48:46,184 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate): Sending RequestVote [term=1, candidateId=leader612, lastLogIndex=-1, lastLogTerm=-1] to peer follower613 10:48:46,184 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:48:46,184 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:48:46,184 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Cluster state: [] [WARN] [04/15/2024 10:48:46.184] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: RequestVote [term=1, candidateId=leader612, lastLogIndex=-1, lastLogTerm=-1] 10:48:46,184 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader612, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:48:46,184 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader612, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:48:46,184 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Set currentTerm=1, votedFor=null [INFO] [akkaDeadLetter][04/15/2024 10:48:46.184] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader612] 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'. 10:48:46,184 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): In requestVote: RequestVote [term=1, candidateId=leader612, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:48:46,184 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Set currentTerm=1, votedFor=leader612 10:48:46,184 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:48:46,184 AM [test-akka.actor.default-dispatcher-6] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader612] 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'. 10:48:46,186 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:48:46,186 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:48:46,186 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Election: Leader has following peers: [follower614, follower613] 10:48:46,186 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower614: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:48:46,186 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:48:46,186 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:48:46,186 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] 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'. [WARN] [04/15/2024 10:48:46.186] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:46,186 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower613: Last sync leader does not match current leader leader612, need to catch up to -1 [INFO] [akkaDeadLetter][04/15/2024 10:48:46.186] [test-akka.actor.default-dispatcher-12] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] 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'. 10:48:46,186 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower613 updated: matchIndex: -1, nextIndex: 0 10:48:46,187 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/15/2024 10:48:46.187] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower613] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@70c761cf [INFO] [akkaDeadLetter][04/15/2024 10:48:46.187] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower613] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower613] 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'. 10:48:46,187 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower613] 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'. 10:48:46,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:46,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:46,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:48:46,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower614: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:46,189 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:46,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): sendAppendEntries: 0 is present for follower follower613 10:48:46,190 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Sending AppendEntries to follower follower613: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): handleAppendEntries: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Number of entries to be appended = 1 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Append entry to log zero 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Log size is now 1 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower613, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower613: Lagging 0 entries behind leader leader612 and reached -1 (of expected -1) 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower613 updated: matchIndex: 0, nextIndex: 1 10:48:46,190 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:46,191 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:46,191 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:46,191 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:48:46,191 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Setting last applied to 0 10:48:46,191 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Moving last applied index from -1 to 0 10:48:46,191 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Applying state for log index 0 data zero 10:48:46,191 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: applyState called: zero [WARN] [04/15/2024 10:48:46.191] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower613] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4010d572 10:48:46,191 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persisting ApplyJournalEntries with index=0 [INFO] [akkaDeadLetter][04/15/2024 10:48:46.191] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower613] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower613] 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'. 10:48:46,191 AM [test-akka.actor.default-dispatcher-14] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower613] 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'. [WARN] [04/15/2024 10:48:46.192] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][04/15/2024 10:48:46.192] [test-akka.actor.default-dispatcher-14] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] to Actor[akka://test/] 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'. 10:48:46,192 AM [test-akka.actor.default-dispatcher-14] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] to Actor[akka://test/] 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'. 10:48:46,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:46,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:46,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:48:46,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower614: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:46,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:46,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): sendAppendEntries: 1 is present for follower follower613 10:48:46,240 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Sending AppendEntries to follower follower613: AppendEntries [leaderId=leader612, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:48:46,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): handleAppendEntries: AppendEntries [leaderId=leader612, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:48:46,240 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] 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'. [WARN] [04/15/2024 10:48:46.240] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:46,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Number of entries to be appended = 1 10:48:46,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 [INFO] [akkaDeadLetter][04/15/2024 10:48:46.240] [test-akka.actor.default-dispatcher-12] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] 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'. 10:48:46,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Append entry to log one 10:48:46,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:46,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Log size is now 2 10:48:46,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Commit index set to 0 10:48:46,240 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower613, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:46,241 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower613: Lagging 0 entries behind leader leader612 and reached 0 (of expected -1) 10:48:46,241 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:48:46,241 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Setting last applied to 0 10:48:46,241 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Moving last applied index from -1 to 0 10:48:46,241 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Applying state for log index 0 data zero 10:48:46,241 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower613 updated: matchIndex: 1, nextIndex: 2 10:48:46,241 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:46,241 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:46,241 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: applyState called: zero 10:48:46,241 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:48:46,241 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Setting last applied to 1 10:48:46,241 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Moving last applied index from 0 to 1 10:48:46,241 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Applying state for log index 1 data one 10:48:46,241 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: applyState called: one 10:48:46,241 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persisting ApplyJournalEntries with index=1 10:48:46,242 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:46,242 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Persisting ApplyJournalEntries with index=0 10:48:46,290 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:46,290 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:46,290 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:48:46,290 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower614: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:46,290 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:46,290 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): sendAppendEntries: 2 is present for follower follower613 10:48:46,290 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Sending AppendEntries to follower follower613: AppendEntries [leaderId=leader612, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): handleAppendEntries: AppendEntries [leaderId=leader612, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Number of entries to be appended = 1 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Append entry to log two 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower614: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Log size is now 3 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Commit index set to 1 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): sendAppendEntries: 2 is present for follower follower613 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower613, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower613: Lagging 0 entries behind leader leader612 and reached 1 (of expected -1) 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Setting last applied to 1 [WARN] [04/15/2024 10:48:46.291] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Moving last applied index from 0 to 1 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Applying state for log index 1 data one [WARN] [04/15/2024 10:48:46.291] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower613 updated: matchIndex: 2, nextIndex: 3 [INFO] [akkaDeadLetter][04/15/2024 10:48:46.291] [test-akka.actor.default-dispatcher-13] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] 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'. 10:48:46,291 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: applyState called: one 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): sendAppendEntries: 3 is present for follower follower613 10:48:46,291 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Sending AppendEntries to follower follower613: AppendEntries [leaderId=leader612, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 10:48:46,291 AM [test-akka.actor.default-dispatcher-14] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] to Actor[akka://test/] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][04/15/2024 10:48:46.291] [test-akka.actor.default-dispatcher-13] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] 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'. 10:48:46,291 AM [test-akka.actor.default-dispatcher-13] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader612] 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'. 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Setting last applied to 2 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Moving last applied index from 1 to 2 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Applying state for log index 2 data two 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: applyState called: two 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persisting ApplyJournalEntries with index=2 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Persisting ApplyJournalEntries with index=1 10:48:46,292 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): handleAppendEntries: AppendEntries [leaderId=leader612, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 10:48:46,293 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Number of entries to be appended = 1 10:48:46,293 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 10:48:46,293 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Append entry to log three 10:48:46,293 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:46,293 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Log size is now 4 10:48:46,293 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower613, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:46,293 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower613: Lagging 0 entries behind leader leader612 and reached 1 (of expected -1) 10:48:46,293 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower613 updated: matchIndex: 3, nextIndex: 4 10:48:46,293 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: lastSequenceNumber prior to capture: 7 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Setting last applied to 3 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Moving last applied index from 2 to 3 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Applying state for log index 3 data three 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: applyState called: three 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: CaptureSnapshotReply received by actor 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: 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=leader612, ServerConfigPayload=null] 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 10:48:46,294 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persisting ApplyJournalEntries with index=3 10:48:46,294 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:48:46,294 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Snapshot success - sequence number: 7 10:48:46,294 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: SnapshotComplete received 10:48:46,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:46,295 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: handled a snapshot response 10:48:46,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Commit index set to 2 10:48:46,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower613: Lagging 0 entries behind leader leader612 and reached 2 (of expected -1) 10:48:46,295 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: handled a journal response 10:48:46,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 10:48:46,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Setting last applied to 2 10:48:46,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Moving last applied index from 1 to 2 10:48:46,295 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Applying state for log index 2 data two 10:48:46,295 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: applyState called: two 10:48:46,296 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Persisting ApplyJournalEntries with index=2 10:48:46,296 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Commit index set to 3 10:48:46,296 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower613: Lagging 0 entries behind leader leader612 and reached 3 (of expected -1) 10:48:46,296 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 10:48:46,296 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613 (Follower): Setting last applied to 3 10:48:46,296 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Moving last applied index from 2 to 3 10:48:46,296 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Applying state for log index 3 data three 10:48:46,296 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: applyState called: three 10:48:46,296 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower613: Persisting ApplyJournalEntries with index=3 [WARN] [04/15/2024 10:48:46.302] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:46,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:46,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:46,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 10:48:46,352 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower614: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:48:46,353 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:48:46,353 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): sendAppendEntries: 4 is present for follower follower613 10:48:46,353 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Sending AppendEntries to follower follower613: AppendEntries [leaderId=leader612, 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] [04/15/2024 10:48:46.353] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower613] received dead letter from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, 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] [04/15/2024 10:48:46.362] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:46,373 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 10:48:46,373 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 10:48:46,373 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 10:48:46,373 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower614: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:48:46,373 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:48:46,373 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): sendAppendEntries: 4 is present for follower follower613 10:48:46,373 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] [WARN] [04/15/2024 10:48:46.373] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:46,374 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower614: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): sendAppendEntries: 4 is present for follower follower613 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower614: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Checking sendAppendEntries for follower follower613: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 10:48:46,375 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): sendAppendEntries: 4 is present for follower follower613 [WARN] [04/15/2024 10:48:46.375] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [04/15/2024 10:48:46.375] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader612]: AppendEntries [leaderId=leader612, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:46,375 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 10:48:46,376 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] [WARN] [04/15/2024 10:48:46.387] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader612]: org.opendaylight.controller.cluster.common.actor.Monitor@52df1f6c 10:48:46,387 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader612 with journal batch size 1000 10:48:46,389 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: SnapshotOffer called. 10:48:46,389 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Moving last applied index from -1 to 2 10:48:46,389 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Set currentTerm=1, votedFor=leader612 10:48:46,390 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader612 in 134.1 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 10:48:46,393 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Received apply journal entries for recovery, applying to state: 3 to 2 10:48:46,393 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Moving last applied index from 2 to 2 10:48:46,393 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Received apply journal entries for recovery, applying to state: 3 to 3 10:48:46,393 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Moving last applied index from 2 to 3 10:48:46,393 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Received ReplicatedLogEntry for recovery: index: 4, size: 4 10:48:46,393 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Received ReplicatedLogEntry for recovery: index: 5, size: 4 10:48:46,393 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Received ReplicatedLogEntry for recovery: index: 4, size: 7 10:48:46,393 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Received ReplicatedLogEntry for recovery: index: 5, size: 7 10:48:46,394 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Recovery completed in 4.213 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 10:48:46,394 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Follower): Received TimeoutNow - switching to Candidate 10:48:46,394 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate): Election: Candidate has following voting peers: [] 10:48:46,394 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612: Set currentTerm=2, votedFor=leader612 10:48:46,395 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate): Starting new election term 2 10:48:46,395 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:48:46,396 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate): Received ElectionTimeout 10:48:46,396 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Leader): Election: Leader has following peers: [] 10:48:46,396 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader612 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:48:46,487 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower613-collector615#-2145174457] 10:48:46,498 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower613] 10:48:46,498 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader612-collector616#167678291] 10:48:46,499 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader612] 10:48:46,499 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader612-collector617#792073260] 10:48:46,499 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader612] [WARN] [04/15/2024 10:48:46.502] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower619]: org.opendaylight.controller.cluster.common.actor.Monitor@38ef40d6 10:48:46,502 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower619 with journal batch size 1000 10:48:46,504 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/15/2024 10:48:46.603] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader618]: org.opendaylight.controller.cluster.common.actor.Monitor@56a72750 10:48:46,603 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader618 with journal batch size 1000 10:48:46,605 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:48:47,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:48:47,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.140:25520, Removed) 10:48:47,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Follower): Received ElectionTimeout - switching to Candidate 10:48:47,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate): Election: Candidate has following voting peers: [follower620, follower619] 10:48:47,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Set currentTerm=1, votedFor=leader618 10:48:47,113 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate): Starting new election term 1 10:48:47,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate): Sending RequestVote [term=1, candidateId=leader618, lastLogIndex=-1, lastLogTerm=-1] to peer follower620 10:48:47,113 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate): Sending RequestVote [term=1, candidateId=leader618, lastLogIndex=-1, lastLogTerm=-1] to peer follower619 10:48:47,113 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 [WARN] [04/15/2024 10:48:47.113] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: RequestVote [term=1, candidateId=leader618, lastLogIndex=-1, lastLogTerm=-1] 10:48:47,113 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:48:47,113 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Cluster state: [] 10:48:47,114 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader618, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:48:47,114 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader618, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:48:47,114 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Set currentTerm=1, votedFor=null 10:48:47,114 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): In requestVote: RequestVote [term=1, candidateId=leader618, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:48:47,114 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Set currentTerm=1, votedFor=leader618 10:48:47,114 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:48:47,114 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:48:47,114 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:48:47,114 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Election: Leader has following peers: [follower620, follower619] 10:48:47,114 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower620: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:48:47,114 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:48:47,114 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:48:47,115 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower619: Last sync leader does not match current leader leader618, need to catch up to -1 10:48:47,115 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower619 updated: matchIndex: -1, nextIndex: 0 [WARN] [04/15/2024 10:48:47.115] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower619] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@57b7f4bc 10:48:47,115 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/15/2024 10:48:47.115] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:47,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:47,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:48:47,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower620: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:47,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:47,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): sendAppendEntries: 0 is present for follower follower619 10:48:47,156 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Sending AppendEntries to follower follower619: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): handleAppendEntries: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Number of entries to be appended = 1 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Append entry to log zero 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Log size is now 1 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower619, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower619: Lagging 0 entries behind leader leader618 and reached -1 (of expected -1) 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower619 updated: matchIndex: 0, nextIndex: 1 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Setting last applied to 0 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Moving last applied index from -1 to 0 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Applying state for log index 0 data zero 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: applyState called: zero 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Persisting ApplyJournalEntries with index=0 10:48:47,157 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [04/15/2024 10:48:47.158] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [04/15/2024 10:48:47.158] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower619] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7add47be 10:48:47,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:47,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:47,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:48:47,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower620: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:47,209 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:47,209 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): sendAppendEntries: 1 is present for follower follower619 10:48:47,209 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Sending AppendEntries to follower follower619: AppendEntries [leaderId=leader618, 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] [04/15/2024 10:48:47.209] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): handleAppendEntries: AppendEntries [leaderId=leader618, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Number of entries to be appended = 1 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Append entry to log one 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Log size is now 2 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Commit index set to 0 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower619, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower619: Lagging 0 entries behind leader leader618 and reached 0 (of expected -1) 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Setting last applied to 0 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Moving last applied index from -1 to 0 10:48:47,209 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Applying state for log index 0 data zero 10:48:47,209 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower619 updated: matchIndex: 1, nextIndex: 2 10:48:47,210 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:47,210 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: applyState called: zero 10:48:47,210 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:47,210 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:48:47,210 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Setting last applied to 1 10:48:47,210 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Moving last applied index from 0 to 1 10:48:47,210 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Applying state for log index 1 data one 10:48:47,210 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: applyState called: one 10:48:47,210 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Persisting ApplyJournalEntries with index=1 10:48:47,211 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:47,211 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Persisting ApplyJournalEntries with index=0 [WARN] [04/15/2024 10:48:47.232] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower620: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): sendAppendEntries: 2 is present for follower follower619 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Sending AppendEntries to follower follower619: AppendEntries [leaderId=leader618, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower620: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): sendAppendEntries: 2 is present for follower follower619 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true [WARN] [04/15/2024 10:48:47.259] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower620: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 [WARN] [04/15/2024 10:48:47.259] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:48:47,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): sendAppendEntries: 2 is present for follower follower619 [WARN] [04/15/2024 10:48:47.260] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,260 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:47,261 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:47,261 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 10:48:47,261 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: lastSequenceNumber prior to capture: 7 10:48:47,261 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: CaptureSnapshotReply received by actor 10:48:47,261 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader618, ServerConfigPayload=null] 10:48:47,261 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 10:48:47,261 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:48:47,261 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:47,262 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:48:47,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Snapshot success - sequence number: 7 10:48:47,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: SnapshotComplete received 10:48:47,262 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: handled a snapshot response 10:48:47,262 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: handled a journal response 10:48:47,352 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): sendAppendEntries: 2 is present for follower follower619 [WARN] [04/15/2024 10:48:47.352] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,472 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): sendAppendEntries: 2 is present for follower follower619 10:48:47,472 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Sending AppendEntries to follower follower619: AppendEntries [leaderId=leader618, 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] [04/15/2024 10:48:47.473] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,592 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): sendAppendEntries: 2 is present for follower follower619 10:48:47,592 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Sending AppendEntries to follower follower619: AppendEntries [leaderId=leader618, 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] [04/15/2024 10:48:47.592] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,712 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower619: Lagging -1 entries behind leader leader618 and reached 0 (of expected -1) 10:48:47,713 AM [test-akka.actor.default-dispatcher-13] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower619, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 502, lastApplied : 1, commitIndex : 1 [WARN] [04/15/2024 10:48:47.713] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader618]: AppendEntries [leaderId=leader618, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:47,713 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): sendAppendEntries: 2 is present for follower follower619 10:48:47,713 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Sending AppendEntries to follower follower619: AppendEntries [leaderId=leader618, 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]]] 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): handleAppendEntries: AppendEntries [leaderId=leader618, 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]]] 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Number of entries to be appended = 3 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Append entry to log two 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Append entry to log three 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Append entry to log four 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Log size is now 5 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Commit index set to 1 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower619, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower619: Lagging 0 entries behind leader leader618 and reached 1 (of expected -1) 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Setting last applied to 1 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Moving last applied index from 0 to 1 10:48:47,713 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Applying state for log index 1 data one 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower619 updated: matchIndex: 4, nextIndex: 5 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Setting last applied to 2 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Moving last applied index from 1 to 2 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Applying state for log index 2 data two 10:48:47,714 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: applyState called: one 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: applyState called: two 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Setting last applied to 3 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Moving last applied index from 2 to 3 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Applying state for log index 3 data three 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: applyState called: three 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Setting last applied to 4 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Moving last applied index from 3 to 4 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Applying state for log index 4 data four 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: applyState called: four 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Checking sendAppendEntries for follower follower619: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 10:48:47,714 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Persisting ApplyJournalEntries with index=4 10:48:47,715 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:47,715 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:47,715 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:47,715 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Persisting ApplyJournalEntries with index=1 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Commit index set to 4 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower619: Lagging 0 entries behind leader leader618 and reached 4 (of expected -1) 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Setting last applied to 2 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Moving last applied index from 1 to 2 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Applying state for log index 2 data two 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: applyState called: two 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Setting last applied to 3 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Moving last applied index from 2 to 3 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Applying state for log index 3 data three 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: applyState called: three 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619 (Follower): Setting last applied to 4 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Moving last applied index from 3 to 4 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Applying state for log index 4 data four 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: applyState called: four 10:48:47,716 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower619: Persisting ApplyJournalEntries with index=4 10:48:47,728 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader618 with journal batch size 1000 [WARN] [04/15/2024 10:48:47.728] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader618]: org.opendaylight.controller.cluster.common.actor.Monitor@35d93e1f 10:48:47,728 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: SnapshotOffer called. 10:48:47,728 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Moving last applied index from -1 to 1 10:48:47,728 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Set currentTerm=1, votedFor=leader618 10:48:47,729 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader618 in 87.59 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 10:48:47,730 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Received ReplicatedLogEntry for recovery: index: 4, size: 4 10:48:47,730 AM [test-akka.actor.default-dispatcher-18] [WARN] AbstractReplicatedLogImpl - leader618: 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) 10:48:47,730 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Received apply journal entries for recovery, applying to state: 2 to 4 10:48:47,731 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Moving last applied index from 1 to 4 10:48:47,731 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Recovery completed in 2.140 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 10:48:47,731 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower619-collector621#15755574] 10:48:47,732 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Follower): Received TimeoutNow - switching to Candidate 10:48:47,732 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate): Election: Candidate has following voting peers: [] 10:48:47,732 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618: Set currentTerm=2, votedFor=leader618 10:48:47,732 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate): Starting new election term 2 10:48:47,732 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:48:47,733 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate): Received ElectionTimeout 10:48:47,733 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Leader): Election: Leader has following peers: [] 10:48:47,733 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader618 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:48:47,742 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower619] 10:48:47,742 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader618-collector622#-477234585] 10:48:47,743 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader618] 10:48:47,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader618-collector623#11016775] 10:48:47,743 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader618] [WARN] [04/15/2024 10:48:47.746] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower625]: org.opendaylight.controller.cluster.common.actor.Monitor@32ac96fb 10:48:47,747 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower625 with journal batch size 1000 10:48:47,748 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/15/2024 10:48:47.748] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader624]: org.opendaylight.controller.cluster.common.actor.Monitor@7e8fbaa7 10:48:47,749 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader624 with journal batch size 1000 10:48:47,751 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:48:48,243 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:48:48,243 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.140:25520, Removed) 10:48:48,243 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Follower): Received ElectionTimeout - switching to Candidate 10:48:48,243 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Candidate): Election: Candidate has following voting peers: [follower626, follower625] 10:48:48,243 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Set currentTerm=1, votedFor=leader624 10:48:48,243 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Candidate): Starting new election term 1 10:48:48,243 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Candidate): Sending RequestVote [term=1, candidateId=leader624, lastLogIndex=-1, lastLogTerm=-1] to peer follower626 10:48:48,243 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Candidate): Sending RequestVote [term=1, candidateId=leader624, lastLogIndex=-1, lastLogTerm=-1] to peer follower625 10:48:48,244 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 10:48:48,244 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:48:48,244 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Cluster state: [] 10:48:48,244 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader624, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:48:48,244 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader624, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:48:48,244 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Set currentTerm=1, votedFor=null [WARN] [04/15/2024 10:48:48.244] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader624]: RequestVote [term=1, candidateId=leader624, lastLogIndex=-1, lastLogTerm=-1] 10:48:48,244 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): In requestVote: RequestVote [term=1, candidateId=leader624, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:48:48,244 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Set currentTerm=1, votedFor=leader624 10:48:48,244 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:48:48,245 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:48:48,245 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:48:48,245 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Election: Leader has following peers: [follower626, follower625] 10:48:48,245 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower626: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:48:48,245 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower625: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:48:48,245 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:48:48,245 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower625: Last sync leader does not match current leader leader624, need to catch up to -1 10:48:48,245 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower625 updated: matchIndex: -1, nextIndex: 0 [WARN] [04/15/2024 10:48:48.245] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower625] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@534192e2 10:48:48,246 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/15/2024 10:48:48.249] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader624]: AppendEntries [leaderId=leader624, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:48,254 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:48,254 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:48,254 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:48:48,254 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower626: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:48,254 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:48,254 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): sendAppendEntries: 0 is present for follower follower625 10:48:48,254 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Sending AppendEntries to follower follower625: AppendEntries [leaderId=leader624, 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] [04/15/2024 10:48:48.254] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader624]: AppendEntries [leaderId=leader624, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:48,254 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries: AppendEntries [leaderId=leader624, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:48:48,254 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Number of entries to be appended = 1 10:48:48,254 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:48:48,254 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Append entry to log zero 10:48:48,255 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:48,255 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Log size is now 1 10:48:48,255 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower625, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:48,255 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader624 and reached -1 (of expected -1) 10:48:48,255 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower625 updated: matchIndex: 0, nextIndex: 1 10:48:48,255 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:48,255 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:48,255 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:48,255 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:48:48,255 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Setting last applied to 0 10:48:48,255 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Moving last applied index from -1 to 0 10:48:48,255 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Applying state for log index 0 data zero 10:48:48,255 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: applyState called: zero [WARN] [04/15/2024 10:48:48.255] [test-akka.actor.default-dispatcher-13] [akka://test/user/follower625] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@91b9e0a 10:48:48,256 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Persisting ApplyJournalEntries with index=0 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower626: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): sendAppendEntries: 1 is present for follower follower625 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Sending AppendEntries to follower follower625: AppendEntries [leaderId=leader624, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries: AppendEntries [leaderId=leader624, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Number of entries to be appended = 1 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Append entry to log one 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Log size is now 2 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Commit index set to 0 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower625, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [04/15/2024 10:48:48.305] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader624]: AppendEntries [leaderId=leader624, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader624 and reached 0 (of expected -1) 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Setting last applied to 0 10:48:48,305 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower625 updated: matchIndex: 1, nextIndex: 2 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Moving last applied index from -1 to 0 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Applying state for log index 0 data zero 10:48:48,305 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:48,305 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: applyState called: zero 10:48:48,306 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:48,306 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:48:48,306 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Setting last applied to 1 10:48:48,306 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Moving last applied index from 0 to 1 10:48:48,306 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Applying state for log index 1 data one 10:48:48,306 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: applyState called: one 10:48:48,306 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:48,306 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Persisting ApplyJournalEntries with index=1 10:48:48,306 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Persisting ApplyJournalEntries with index=0 [WARN] [04/15/2024 10:48:48.357] [test-akka.actor.default-dispatcher-13] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower626]: org.opendaylight.controller.cluster.common.actor.Monitor@5570d838 10:48:48,358 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower626 with journal batch size 1000 10:48:48,359 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/15/2024 10:48:48.362] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader624]: AppendEntries [leaderId=leader624, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower626 set to akka://test/user/follower626 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower626: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): sendAppendEntries: 2 is present for follower follower625 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Sending AppendEntries to follower follower625: AppendEntries [leaderId=leader624, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Term 1 in "AppendEntries [leaderId=leader624, 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 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Set currentTerm=1, votedFor=null 10:48:48,458 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower626: Last sync leader does not match current leader leader624, need to catch up to -1 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries: AppendEntries [leaderId=leader624, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Number of entries to be appended = 1 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Append entry to log two 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Log size is now 3 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Commit index set to 1 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower625, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader624 and reached 1 (of expected -1) 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Setting last applied to 1 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Moving last applied index from 0 to 1 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Applying state for log index 1 data one 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: applyState called: one 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower626 updated: matchIndex: -1, nextIndex: 0 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower626: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): sendAppendEntries: 0 is present for follower follower626 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Sending AppendEntries to follower follower626: AppendEntries [leaderId=leader624, 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]]] 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower625 updated: matchIndex: 2, nextIndex: 3 [WARN] [04/15/2024 10:48:48.459] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower626] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7840ead4 10:48:48,459 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): handleAppendEntries: AppendEntries [leaderId=leader624, 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]]] 10:48:48,459 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower625: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Number of entries to be appended = 3 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Append entry to log zero 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:48,460 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:48,460 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 10:48:48,460 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Setting last applied to 2 10:48:48,460 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Moving last applied index from 1 to 2 10:48:48,460 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Applying state for log index 2 data two 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Append entry to log one 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:48,460 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: applyState called: two 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Append entry to log two 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:48,460 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Persisting ApplyJournalEntries with index=2 10:48:48,460 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Log size is now 3 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Commit index set to 1 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower626, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower626: Lagging 0 entries behind leader leader624 and reached 1 (of expected -1) 10:48:48,460 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Persisting ApplyJournalEntries with index=1 10:48:48,460 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower626 updated: matchIndex: 2, nextIndex: 3 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 2 10:48:48,460 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: fakeSnapshot purging log to 1 for term 1 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Setting last applied to 0 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Moving last applied index from -1 to 0 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Applying state for log index 0 data zero 10:48:48,460 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower626: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: applyState called: zero 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Setting last applied to 1 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Moving last applied index from 0 to 1 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Applying state for log index 1 data one 10:48:48,460 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: applyState called: one 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Commit index set to 2 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower626: Lagging 0 entries behind leader leader624 and reached 2 (of expected -1) 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Setting last applied to 2 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Moving last applied index from 1 to 2 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Applying state for log index 2 data two 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: applyState called: two 10:48:48,461 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: fakeSnapshot purging log to 1 for term 1 10:48:48,461 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Persisting ApplyJournalEntries with index=1 10:48:48,462 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Persisting ApplyJournalEntries with index=2 [WARN] [04/15/2024 10:48:48.462] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower626] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@faa4013 10:48:48,524 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower626 with journal batch size 1000 [WARN] [04/15/2024 10:48:48.524] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower626]: org.opendaylight.controller.cluster.common.actor.Monitor@2efe22d5 10:48:48,526 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:48:48,603 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Term 1 in "AppendEntries [leaderId=leader624, 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 10:48:48,603 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Set currentTerm=1, votedFor=null 10:48:48,603 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Commit index set to 2 10:48:48,603 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader624 and reached 2 (of expected -1) 10:48:48,603 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 10:48:48,603 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): The followers log is empty and the senders prevLogIndex is 2 10:48:48,603 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625 (Follower): Setting last applied to 2 10:48:48,603 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Moving last applied index from 1 to 2 10:48:48,603 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower626, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:48,603 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower626: Last sync leader does not match current leader leader624, need to catch up to 2 10:48:48,603 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Applying state for log index 2 data two 10:48:48,603 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: applyState called: two 10:48:48,603 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: fakeSnapshot purging log to 1 for term 1 10:48:48,603 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower625: Persisting ApplyJournalEntries with index=2 10:48:48,603 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower626, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 10:48:48,603 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower626 updated: matchIndex: -1, nextIndex: 0 10:48:48,603 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): follower follower626 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Checking sendAppendEntries for follower follower626: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Initiating install snapshot to follower follower626: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: 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 follower626 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: lastSequenceNumber prior to capture: 7 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: CaptureSnapshotReply received by actor 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: 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=leader624, ServerConfigPayload=null] 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): sendInstallSnapshot 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader624 (Leader): Snapshot 345 bytes, total chunks to send: 1 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader624 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): next snapshot chunk size for follower follower626: 345 10:48:48,604 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): InstallSnapshot sent to follower Vector(user, follower626), Chunk: 1/1 10:48:48,604 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 10:48:48,604 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower626, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] [WARN] [04/15/2024 10:48:48.604] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower626] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6a915b1b 10:48:48,604 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower626, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 10:48:48,604 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): follower follower626 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 10:48:48,604 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader624, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 10:48:48,604 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 10:48:48,604 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): Snapshot installed from leader: leader624 10:48:48,605 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:48:48,605 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: Snapshot success - sequence number: 7 10:48:48,605 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: SnapshotComplete received 10:48:48,605 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: handled a snapshot response 10:48:48,605 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: 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] 10:48:48,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 10:48:48,605 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 10:48:48,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Snapshot success - sequence number: 1 10:48:48,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Moving last applied index from -1 to 2 10:48:48,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Set currentTerm=1, votedFor=null 10:48:48,605 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: applySnapshot called 10:48:48,605 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624: handled a journal response 10:48:48,605 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower626, chunkIndex=1, success=true] 10:48:48,606 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: SnapshotComplete received 10:48:48,606 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower626, chunkIndex=1, success=true] 10:48:48,606 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader624 (Leader): Snapshot successfully installed on follower follower626 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 10:48:48,606 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: handled a snapshot response 10:48:48,606 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: handled a journal response 10:48:48,624 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower626 set to akka://test/user/follower626 [WARN] [04/15/2024 10:48:48.636] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower626]: org.opendaylight.controller.cluster.common.actor.Monitor@1699b67b 10:48:48,636 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower626 with journal batch size 1000 10:48:48,637 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: SnapshotOffer called. 10:48:48,637 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Moving last applied index from -1 to 2 10:48:48,637 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Set currentTerm=1, votedFor=null 10:48:48,637 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower626 in 96.41 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 10:48:48,638 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower626: Recovery completed in 734.1 μs - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 10:48:48,722 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower626: Last sync leader does not match current leader leader624, need to catch up to 2 10:48:48,722 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower625: Lagging 0 entries behind leader leader624 and reached 2 (of expected -1) [WARN] [04/15/2024 10:48:48.723] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower626] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2bbb4c3e 10:48:48,736 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower625-collector627#-368452092] 10:48:48,747 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower625] 10:48:48,748 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader624-collector628#1728877512] 10:48:48,748 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader624] 10:48:48,748 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower626-collector629#-1823031443] 10:48:48,748 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower626] 10:48:48,749 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower626-collector630#1685305515] 10:48:48,749 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower626] 10:48:48,749 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower626-collector631#854146259] 10:48:48,749 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower626] 10:48:48,753 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower633 with journal batch size 1000 [WARN] [04/15/2024 10:48:48.753] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower633]: org.opendaylight.controller.cluster.common.actor.Monitor@1d79794f 10:48:48,754 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [04/15/2024 10:48:48.755] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader632]: org.opendaylight.controller.cluster.common.actor.Monitor@281fc1cd 10:48:48,755 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader632 with journal batch size 1000 10:48:48,760 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 10:48:49,202 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 10:48:49,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.140:25520, Removed) 10:48:49,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Follower): Received ElectionTimeout - switching to Candidate 10:48:49,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate): Election: Candidate has following voting peers: [follower634, follower633] 10:48:49,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Set currentTerm=1, votedFor=leader632 10:48:49,203 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate): Starting new election term 1 10:48:49,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate): Sending RequestVote [term=1, candidateId=leader632, lastLogIndex=-1, lastLogTerm=-1] to peer follower634 10:48:49,203 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate): Sending RequestVote [term=1, candidateId=leader632, lastLogIndex=-1, lastLogTerm=-1] to peer follower633 10:48:49,203 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 [WARN] [04/15/2024 10:48:49.203] [test-akka.actor.default-dispatcher-13] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: RequestVote [term=1, candidateId=leader632, lastLogIndex=-1, lastLogTerm=-1] 10:48:49,204 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 10:48:49,204 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Cluster state: [] 10:48:49,204 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader632, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 10:48:49,204 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader632, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 10:48:49,204 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Set currentTerm=1, votedFor=null 10:48:49,204 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): In requestVote: RequestVote [term=1, candidateId=leader632, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 10:48:49,204 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Set currentTerm=1, votedFor=leader632 10:48:49,204 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 10:48:49,204 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 10:48:49,204 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 10:48:49,204 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Election: Leader has following peers: [follower634, follower633] 10:48:49,204 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower634: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:48:49,205 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 10:48:49,205 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 10:48:49,205 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower633: Last sync leader does not match current leader leader632, need to catch up to -1 10:48:49,205 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower633 updated: matchIndex: -1, nextIndex: 0 10:48:49,205 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [04/15/2024 10:48:49.205] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower633] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@505a6386 [WARN] [04/15/2024 10:48:49.209] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,223 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:49,223 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:49,223 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 10:48:49,223 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower634: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:49,223 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 10:48:49,223 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): sendAppendEntries: 0 is present for follower follower633 10:48:49,223 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Sending AppendEntries to follower follower633: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:48:49,223 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): handleAppendEntries: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 10:48:49,223 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Number of entries to be appended = 1 10:48:49,224 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 10:48:49,224 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Append entry to log zero 10:48:49,224 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:49,224 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Log size is now 1 10:48:49,224 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower633, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:49,224 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower633: Lagging 0 entries behind leader leader632 and reached -1 (of expected -1) 10:48:49,224 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower633 updated: matchIndex: 0, nextIndex: 1 10:48:49,224 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [04/15/2024 10:48:49.224] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,224 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:49,224 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 10:48:49,224 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Setting last applied to 0 10:48:49,224 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Moving last applied index from -1 to 0 10:48:49,224 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Applying state for log index 0 data zero 10:48:49,224 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 10:48:49,224 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: applyState called: zero 10:48:49,225 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Persisting ApplyJournalEntries with index=0 [WARN] [04/15/2024 10:48:49.225] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower633] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@30a024cd 10:48:49,274 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower634: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): sendAppendEntries: 1 is present for follower follower633 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Sending AppendEntries to follower follower633: AppendEntries [leaderId=leader632, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): handleAppendEntries: AppendEntries [leaderId=leader632, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Number of entries to be appended = 1 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Append entry to log one 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [04/15/2024 10:48:49.275] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Log size is now 2 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Commit index set to 0 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower633, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower633: Lagging 0 entries behind leader leader632 and reached 0 (of expected -1) 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Setting last applied to 0 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Moving last applied index from -1 to 0 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Applying state for log index 0 data zero 10:48:49,275 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower633 updated: matchIndex: 1, nextIndex: 2 10:48:49,275 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: applyState called: zero 10:48:49,275 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 10:48:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 10:48:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Setting last applied to 1 10:48:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Moving last applied index from 0 to 1 10:48:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Applying state for log index 1 data one 10:48:49,276 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 10:48:49,276 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: applyState called: one 10:48:49,276 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Persisting ApplyJournalEntries with index=0 10:48:49,276 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Persisting ApplyJournalEntries with index=1 [WARN] [04/15/2024 10:48:49.322] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:49,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:49,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 10:48:49,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower634: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:49,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 10:48:49,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): sendAppendEntries: 2 is present for follower follower633 10:48:49,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Sending AppendEntries to follower follower633: AppendEntries [leaderId=leader632, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 10:48:49,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:49,326 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [04/15/2024 10:48:49.326] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,327 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 10:48:49,327 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower634: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:48:49,327 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 10:48:49,327 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): sendAppendEntries: 2 is present for follower follower633 [WARN] [04/15/2024 10:48:49.327] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,327 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:49,327 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:49,327 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 10:48:49,327 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: lastSequenceNumber prior to capture: 7 10:48:49,443 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): sendAppendEntries: 2 is present for follower follower633 10:48:49,443 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Sending AppendEntries to follower follower633: AppendEntries [leaderId=leader632, 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] [04/15/2024 10:48:49.443] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,562 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): sendAppendEntries: 2 is present for follower follower633 10:48:49,562 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Sending AppendEntries to follower follower633: AppendEntries [leaderId=leader632, 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] [04/15/2024 10:48:49.562] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,578 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:49,578 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:49,578 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 10:48:49,578 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower634: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:48:49,578 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:48:49,578 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): sendAppendEntries: 2 is present for follower follower633 [WARN] [04/15/2024 10:48:49.578] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,578 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:49,683 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower633: Lagging -1 entries behind leader leader632 and reached 0 (of expected -1) 10:48:49,683 AM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower633, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 408, lastApplied : 1, commitIndex : 1 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): sendAppendEntries: 2 is present for follower follower633 [WARN] [04/15/2024 10:48:49.683] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader632]: AppendEntries [leaderId=leader632, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Sending AppendEntries to follower follower633: AppendEntries [leaderId=leader632, 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]]] 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): handleAppendEntries: AppendEntries [leaderId=leader632, 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]]] 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Number of entries to be appended = 3 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Append entry to log two 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Append entry to log three 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Append entry to log four 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Log size is now 5 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Commit index set to 1 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower633, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower633: Lagging 0 entries behind leader leader632 and reached 1 (of expected -1) 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Setting last applied to 1 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Moving last applied index from 0 to 1 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Applying state for log index 1 data one 10:48:49,684 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: applyState called: one 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower633 updated: matchIndex: 4, nextIndex: 5 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Setting last applied to 2 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Moving last applied index from 1 to 2 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Applying state for log index 2 data two 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: applyState called: two 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Setting last applied to 3 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Moving last applied index from 2 to 3 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Applying state for log index 3 data three 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: applyState called: three 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Setting last applied to 4 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Moving last applied index from 3 to 4 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Applying state for log index 4 data four 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: applyState called: four 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Checking sendAppendEntries for follower follower633: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Persisting ApplyJournalEntries with index=4 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 10:48:49,685 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Persisting ApplyJournalEntries with index=1 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Commit index set to 4 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower633: Lagging 0 entries behind leader leader632 and reached 4 (of expected -1) 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Setting last applied to 2 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Moving last applied index from 1 to 2 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Applying state for log index 2 data two 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: applyState called: two 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Setting last applied to 3 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Moving last applied index from 2 to 3 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Applying state for log index 3 data three 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: applyState called: three 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633 (Follower): Setting last applied to 4 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Moving last applied index from 3 to 4 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Applying state for log index 4 data four 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: applyState called: four 10:48:49,686 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower633: Persisting ApplyJournalEntries with index=4 10:48:49,729 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: CaptureSnapshotReply received by actor 10:48:49,729 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader632, ServerConfigPayload=null] 10:48:49,729 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 10:48:49,729 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 10:48:49,729 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 10:48:49,729 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Snapshot success - sequence number: 7 10:48:49,729 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: SnapshotComplete received 10:48:49,729 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: handled a journal response 10:48:49,729 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: handled a snapshot response [WARN] [04/15/2024 10:48:49.792] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader632]: org.opendaylight.controller.cluster.common.actor.Monitor@726fdca5 10:48:49,793 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader632 with journal batch size 1000 10:48:49,794 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: SnapshotOffer called. 10:48:49,794 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Moving last applied index from -1 to 1 10:48:49,794 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Set currentTerm=1, votedFor=leader632 10:48:49,795 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader632 in 121.3 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 10:48:49,796 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Received ReplicatedLogEntry for recovery: index: 4, size: 4 10:48:49,796 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Received apply journal entries for recovery, applying to state: 2 to 4 10:48:49,796 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Moving last applied index from 1 to 4 10:48:49,797 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Recovery completed in 2.151 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 10:48:49,797 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower633-collector635#-648184345] 10:48:49,797 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Follower): Received TimeoutNow - switching to Candidate 10:48:49,797 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate): Election: Candidate has following voting peers: [] 10:48:49,797 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632: Set currentTerm=2, votedFor=leader632 10:48:49,797 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate): Starting new election term 2 10:48:49,797 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 10:48:49,798 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate): Received ElectionTimeout 10:48:49,798 AM [test-akka.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Leader): Election: Leader has following peers: [] 10:48:49,798 AM [test-akka.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader632 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 10:48:49,812 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower633] 10:48:49,813 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader632-collector636#-2043118173] 10:48:49,813 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader632] 10:48:49,813 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader632-collector637#631767625] 10:48:49,813 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader632] 10:48:49,814 AM [test-akka.actor.default-dispatcher-12] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [04/15/2024 10:48:49.814] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [04/15/2024 10:48:49.815] [test-akka.actor.default-dispatcher-18] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.140:25520) [INFO] [04/15/2024 10:48:49.815] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.140:25520] - Exiting completed [INFO] [04/15/2024 10:48:49.815] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.140:25520] - Shutting down... [INFO] [04/15/2024 10:48:49.816] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.140:25520] - Successfully shut down 10:48:49,817 AM [test-akka.actor.default-dispatcher-18] [INFO] Cluster - Cluster Node [akka://test@10.30.171.140:25520] - Exiting completed 10:48:49,817 AM [test-akka.actor.default-dispatcher-18] [INFO] Cluster - Cluster Node [akka://test@10.30.171.140:25520] - Shutting down... 10:48:49,817 AM [test-akka.actor.default-dispatcher-18] [INFO] Cluster - Cluster Node [akka://test@10.30.171.140:25520] - Successfully shut down [INFO] [04/15/2024 10:48:49.817] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.140:25520/system/remoting-terminator] Shutting down remote daemon. [INFO] [04/15/2024 10:48:49.817] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.140:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 10:48:49,817 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 10:48:49,817 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [04/15/2024 10:48:49.822] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.140:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [04/15/2024 10:48:49.822] [test-akka.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger 10:48:49,822 AM [test-akka.actor.default-dispatcher-12] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.