[DEBUG] [08/19/2024 01:11:14.334] [main] [EventStream(akka://test)] logger log1-TestEventListener started 01:11:14,335 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [08/19/2024 01:11:14.335] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [08/19/2024 01:11:14.335] [main] [EventStream(akka://test)] Default Loggers started 01:11:14,346 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.178:25520] with UID [8448382969464644816] [INFO] [08/19/2024 01:11:14.346] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.178:25520] with UID [8448382969464644816] [INFO] [08/19/2024 01:11:14.347] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Starting up, Akka version [2.6.21] ... 01:11:14,347 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Starting up, Akka version [2.6.21] ... [INFO] [08/19/2024 01:11:14.349] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Registered cluster JMX MBean [akka:type=Cluster] 01:11:14,349 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [08/19/2024 01:11:14.349] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Started up successfully 01:11:14,349 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Started up successfully 01:11:14,350 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 01:11:14,350 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [INFO] [08/19/2024 01:11:14.350] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [08/19/2024 01:11:14.350] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [08/19/2024 01:11:14.364] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower519]: org.opendaylight.controller.cluster.common.actor.Monitor@a792e44 [INFO] [akkaDeadLetter][08/19/2024 01:11:14.364] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower519] 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'. 01:11:14,367 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower519 with journal batch size 1000 01:11:14,368 AM [test-akka.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower519] 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'. 01:11:14,369 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader518 with journal batch size 1000 [WARN] [08/19/2024 01:11:14.369] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader518]: org.opendaylight.controller.cluster.common.actor.Monitor@11772176 01:11:14,369 AM [test-akka.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader518] 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][08/19/2024 01:11:14.369] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader518] 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'. 01:11:14,370 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:11:14,370 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:11:14,840 AM [test-akka.actor.default-dispatcher-12] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:14,840 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.178:25520, Removed) 01:11:14,840 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower): Received ElectionTimeout - switching to Candidate 01:11:14,841 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Election: Candidate has following voting peers: [follower519, follower520] 01:11:14,841 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Set currentTerm=1, votedFor=leader518 01:11:14,841 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Starting new election term 1 01:11:14,841 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Sending RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] to peer follower519 01:11:14,841 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Sending RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] to peer follower520 01:11:14,841 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:11:14,841 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:14,842 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Cluster state: [] 01:11:14,842 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:11:14,842 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term [WARN] [08/19/2024 01:11:14.842] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] 01:11:14,842 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Set currentTerm=1, votedFor=null 01:11:14,842 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): In requestVote: RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:11:14,842 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Set currentTerm=1, votedFor=leader518 01:11:14,842 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [INFO] [akkaDeadLetter][08/19/2024 01:11:14.842] [test-akka.actor.default-dispatcher-12] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader518] 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'. 01:11:14,843 AM [test-akka.actor.default-dispatcher-12] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader518] 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'. 01:11:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:11:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:11:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Election: Leader has following peers: [follower519, follower520] 01:11:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:14,843 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:14,843 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:11:14,844 AM [test-akka.actor.default-dispatcher-18] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] 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] [08/19/2024 01:11:14.845] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][08/19/2024 01:11:14.844] [test-akka.actor.default-dispatcher-18] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] 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'. 01:11:14,846 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower519: Last sync leader does not match current leader leader518, need to catch up to -1 01:11:14,846 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: -1, nextIndex: 0 01:11:14,847 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [08/19/2024 01:11:14.847] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower519] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7b66ee01 [INFO] [akkaDeadLetter][08/19/2024 01:11:14.847] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower519] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower519] 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'. 01:11:14,847 AM [test-akka.actor.default-dispatcher-17] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower519] 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'. 01:11:14,876 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:14,876 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:14,876 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:11:14,876 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:14,876 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 0 is present for follower follower519 01:11:14,876 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:11:14,877 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Number of entries to be appended = 1 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Append entry to log zero 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Log size is now 1 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower519, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached -1 (of expected -1) 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: 0, nextIndex: 1 01:11:14,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:14,878 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:14,878 AM [test-akka.actor.default-dispatcher-7] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 01:11:14,878 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:11:14,878 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Setting last applied to 0 01:11:14,878 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from -1 to 0 01:11:14,878 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Applying state for log index 0 data zero 01:11:14,878 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:14,878 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower519] 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'. 01:11:14,878 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: applyState called: zero 01:11:14,879 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persisting ApplyJournalEntries with index=0 [WARN] [08/19/2024 01:11:14.877] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][08/19/2024 01:11:14.877] [test-akka.actor.default-dispatcher-7] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [08/19/2024 01:11:14.881] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower519] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@36416aeb [INFO] [akkaDeadLetter][08/19/2024 01:11:14.878] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower519] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower519] 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'. 01:11:14,927 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:14,927 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:14,927 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:11:14,927 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:14,927 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 1 is present for follower follower519 01:11:14,927 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:11:14,927 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries: AppendEntries [leaderId=leader518, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Number of entries to be appended = 1 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Append entry to log one 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Log size is now 2 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Commit index set to 0 [WARN] [08/19/2024 01:11:14.927] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower519, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 0 (of expected -1) 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Setting last applied to 0 [INFO] [akkaDeadLetter][08/19/2024 01:11:14.927] [test-akka.actor.default-dispatcher-18] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] 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'. 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Moving last applied index from -1 to 0 01:11:14,927 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Applying state for log index 0 data zero 01:11:14,927 AM [test-akka.actor.default-dispatcher-18] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] 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'. 01:11:14,927 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: 1, nextIndex: 2 01:11:14,927 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:14,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:14,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:11:14,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Setting last applied to 1 01:11:14,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 0 to 1 01:11:14,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Applying state for log index 1 data one 01:11:14,928 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: applyState called: zero 01:11:14,928 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: applyState called: one 01:11:14,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persisting ApplyJournalEntries with index=1 01:11:14,928 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:14,928 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Persisting ApplyJournalEntries with index=0 [WARN] [08/19/2024 01:11:14.960] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:14,960 AM [test-akka.actor.default-dispatcher-16] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] 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][08/19/2024 01:11:14.960] [test-akka.actor.default-dispatcher-16] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] 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'. 01:11:14,977 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:14,977 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:14,977 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:11:14,977 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:14,977 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 2 is present for follower follower519 01:11:14,977 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries: AppendEntries [leaderId=leader518, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 2 is present for follower follower519 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Number of entries to be appended = 1 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Append entry to log two 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Log size is now 3 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Commit index set to 1 [WARN] [08/19/2024 01:11:14.978] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [08/19/2024 01:11:14.978] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower519, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 1 (of expected -1) 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Setting last applied to 1 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: 2, nextIndex: 3 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Moving last applied index from 0 to 1 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Applying state for log index 1 data one 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 3 is present for follower follower519 01:11:14,978 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 01:11:14,978 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: applyState called: one [INFO] [akkaDeadLetter][08/19/2024 01:11:14.978] [test-akka.actor.default-dispatcher-15] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] 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'. 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] 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'. 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Setting last applied to 2 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 1 to 2 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Applying state for log index 2 data two 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: applyState called: two 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persisting ApplyJournalEntries with index=2 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries: AppendEntries [leaderId=leader518, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Number of entries to be appended = 1 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Append entry to log three 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Log size is now 4 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower519, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:14,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 1 (of expected -1) 01:11:14,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: 3, nextIndex: 4 01:11:14,979 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: lastSequenceNumber prior to capture: 7 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Setting last applied to 3 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 2 to 3 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Applying state for log index 3 data three 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: applyState called: three 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: CaptureSnapshotReply received by actor 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: 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=leader518, ServerConfigPayload=null] 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 01:11:14,980 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persisting ApplyJournalEntries with index=3 01:11:14,981 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:11:14,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Snapshot success - sequence number: 7 01:11:14,981 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: SnapshotComplete received 01:11:14,981 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: handled a snapshot response 01:11:14,981 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:14,981 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Persisting ApplyJournalEntries with index=1 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Commit index set to 2 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 2 (of expected -1) 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Setting last applied to 2 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Moving last applied index from 1 to 2 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Applying state for log index 2 data two 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: applyState called: two 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Persisting ApplyJournalEntries with index=2 01:11:14,982 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: handled a journal response 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Commit index set to 3 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 3 (of expected -1) 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Setting last applied to 3 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Moving last applied index from 2 to 3 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Applying state for log index 3 data three 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: applyState called: three 01:11:14,982 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Persisting ApplyJournalEntries with index=3 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 01:11:15,40 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 [WARN] [08/19/2024 01:11:15.040] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower519] received dead letter from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, 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] [08/19/2024 01:11:15.042] [test-akka.actor.default-dispatcher-7] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [08/19/2024 01:11:15.042] [test-akka.actor.default-dispatcher-7] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,55 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:15,56 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] 01:11:15,56 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 01:11:15,56 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 01:11:15,57 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 [WARN] [08/19/2024 01:11:15.057] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [08/19/2024 01:11:15.057] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,58 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 01:11:15,58 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] [WARN] [08/19/2024 01:11:15.069] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader518]: org.opendaylight.controller.cluster.common.actor.Monitor@3c67eeed 01:11:15,70 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader518 with journal batch size 1000 01:11:15,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: SnapshotOffer called. 01:11:15,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from -1 to 2 01:11:15,71 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Set currentTerm=1, votedFor=leader518 01:11:15,71 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader518 in 118.2 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 01:11:15,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received apply journal entries for recovery, applying to state: 3 to 2 01:11:15,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 2 to 2 01:11:15,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received apply journal entries for recovery, applying to state: 3 to 3 01:11:15,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 2 to 3 01:11:15,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received ReplicatedLogEntry for recovery: index: 4, size: 4 01:11:15,72 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received ReplicatedLogEntry for recovery: index: 5, size: 4 01:11:15,73 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received ReplicatedLogEntry for recovery: index: 4, size: 7 01:11:15,73 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received ReplicatedLogEntry for recovery: index: 5, size: 7 01:11:15,73 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Recovery completed in 1.835 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 01:11:15,73 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower519-collector521#-1004322741] 01:11:15,73 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower): Received TimeoutNow - switching to Candidate 01:11:15,73 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Election: Candidate has following voting peers: [] 01:11:15,73 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Set currentTerm=2, votedFor=leader518 01:11:15,73 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Starting new election term 2 01:11:15,73 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:11:15,74 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Received ElectionTimeout 01:11:15,74 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Election: Leader has following peers: [] 01:11:15,74 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:11:15,84 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower519] 01:11:15,84 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader518-collector522#403023326] 01:11:15,84 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader518] 01:11:15,84 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader518-collector523#-939522490] 01:11:15,85 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader518] [WARN] [08/19/2024 01:11:15.088] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower525]: org.opendaylight.controller.cluster.common.actor.Monitor@2cae4854 01:11:15,89 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower525 with journal batch size 1000 [WARN] [08/19/2024 01:11:15.090] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader524]: org.opendaylight.controller.cluster.common.actor.Monitor@4173ec98 01:11:15,90 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader524 with journal batch size 1000 01:11:15,91 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:11:15,91 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:11:15,560 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:15,560 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.178:25520, Removed) 01:11:15,560 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower): Received ElectionTimeout - switching to Candidate 01:11:15,560 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Election: Candidate has following voting peers: [follower526, follower525] 01:11:15,560 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Set currentTerm=1, votedFor=leader524 01:11:15,560 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Starting new election term 1 01:11:15,560 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Sending RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] to peer follower526 01:11:15,560 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Sending RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] to peer follower525 01:11:15,561 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:11:15,561 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:15,561 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Cluster state: [] 01:11:15,561 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:11:15,561 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:11:15,561 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Set currentTerm=1, votedFor=null 01:11:15,561 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): In requestVote: RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:11:15,561 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Set currentTerm=1, votedFor=leader524 01:11:15,561 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [08/19/2024 01:11:15.561] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] 01:11:15,562 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:11:15,562 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:11:15,562 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Election: Leader has following peers: [follower526, follower525] 01:11:15,562 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [08/19/2024 01:11:15.562] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,562 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:15,562 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower525: Last sync leader does not match current leader leader524, need to catch up to -1 01:11:15,563 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [08/19/2024 01:11:15.563] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower525] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@43b205bb 01:11:15,563 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower525 updated: matchIndex: -1, nextIndex: 0 01:11:15,563 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:15,596 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:15,596 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:15,596 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:11:15,596 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:15,596 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:15,596 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 0 is present for follower follower525 01:11:15,596 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, 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] [08/19/2024 01:11:15.596] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,596 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:11:15,596 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Number of entries to be appended = 1 01:11:15,596 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:15,596 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log zero 01:11:15,596 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:15,596 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Log size is now 1 01:11:15,596 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower525, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:15,597 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower525: Lagging 0 entries behind leader leader524 and reached -1 (of expected -1) 01:11:15,597 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower525 updated: matchIndex: 0, nextIndex: 1 01:11:15,597 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:15,597 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:15,597 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:11:15,597 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 0 01:11:15,597 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from -1 to 0 01:11:15,597 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 0 data zero 01:11:15,597 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: zero 01:11:15,597 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:15,597 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persisting ApplyJournalEntries with index=0 [WARN] [08/19/2024 01:11:15.598] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower525] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5adec558 01:11:15,646 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:15,646 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:15,646 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:11:15,647 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [08/19/2024 01:11:15.647] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,647 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:15,647 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 1 is present for follower follower525 01:11:15,647 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries: AppendEntries [leaderId=leader524, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Number of entries to be appended = 1 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log one 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Log size is now 2 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Commit index set to 0 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower525, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower525: Lagging 0 entries behind leader leader524 and reached 0 (of expected -1) 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:11:15,647 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 0 01:11:15,648 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from -1 to 0 01:11:15,648 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 0 data zero 01:11:15,648 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: zero 01:11:15,648 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower525 updated: matchIndex: 1, nextIndex: 2 01:11:15,648 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:15,649 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:15,649 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Persisting ApplyJournalEntries with index=0 01:11:15,649 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:15,649 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:11:15,649 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 1 01:11:15,649 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 0 to 1 01:11:15,649 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 1 data one 01:11:15,650 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: one 01:11:15,650 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persisting ApplyJournalEntries with index=1 [WARN] [08/19/2024 01:11:15.680] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [08/19/2024 01:11:15.697] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:15,697 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 [WARN] [08/19/2024 01:11:15.698] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,698 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:15,698 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:15,698 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 01:11:15,698 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:11:15,698 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:11:15,698 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 [WARN] [08/19/2024 01:11:15.698] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,698 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:15,699 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:15,699 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 01:11:15,699 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: lastSequenceNumber prior to capture: 7 01:11:15,699 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: CaptureSnapshotReply received by actor 01:11:15,700 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader524, ServerConfigPayload=null] 01:11:15,700 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 01:11:15,700 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 01:11:15,700 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:15,700 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:11:15,700 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Snapshot success - sequence number: 7 01:11:15,700 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: SnapshotComplete received 01:11:15,700 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: handled a snapshot response 01:11:15,701 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: handled a journal response 01:11:15,800 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 01:11:15,800 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, 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] [08/19/2024 01:11:15.800] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,920 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 [WARN] [08/19/2024 01:11:15.920] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:15,920 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, 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]]] 01:11:16,40 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 01:11:16,41 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, 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]]] 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries: AppendEntries [leaderId=leader524, 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]]] 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Number of entries to be appended = 3 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log two 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log three 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log four 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Log size is now 5 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Commit index set to 1 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower525, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower525: Lagging 0 entries behind leader leader524 and reached 1 (of expected -1) 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 1 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from 0 to 1 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 1 data one 01:11:16,41 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower525 updated: matchIndex: 4, nextIndex: 5 01:11:16,41 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 01:11:16,41 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 2 01:11:16,41 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 1 to 2 01:11:16,41 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: one 01:11:16,41 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 2 data two [WARN] [08/19/2024 01:11:16.041] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: two 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 3 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 2 to 3 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 3 data three 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: three 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 4 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 3 to 4 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 4 data four 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: four 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 01:11:16,42 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persisting ApplyJournalEntries with index=4 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Persisting ApplyJournalEntries with index=1 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Commit index set to 4 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower525: Lagging 0 entries behind leader leader524 and reached 4 (of expected -1) 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 2 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from 1 to 2 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 2 data two 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: two 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 3 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from 2 to 3 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 3 data three 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: three 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 4 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from 3 to 4 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 4 data four 01:11:16,43 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: four 01:11:16,44 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Persisting ApplyJournalEntries with index=4 [WARN] [08/19/2024 01:11:16.052] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader524]: org.opendaylight.controller.cluster.common.actor.Monitor@56129ec4 01:11:16,52 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader524 with journal batch size 1000 01:11:16,53 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: SnapshotOffer called. 01:11:16,53 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from -1 to 1 01:11:16,53 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Set currentTerm=1, votedFor=leader524 01:11:16,53 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader524 in 60.01 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 01:11:16,54 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Received ReplicatedLogEntry for recovery: index: 4, size: 4 01:11:16,54 AM [test-akka.actor.default-dispatcher-17] [WARN] AbstractReplicatedLogImpl - leader524: 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:133) 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:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) 01:11:16,54 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Received apply journal entries for recovery, applying to state: 2 to 4 01:11:16,54 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 1 to 4 01:11:16,54 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Recovery completed in 1.632 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 01:11:16,55 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower525-collector527#-1648792803] 01:11:16,55 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower): Received TimeoutNow - switching to Candidate 01:11:16,55 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Election: Candidate has following voting peers: [] 01:11:16,55 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Set currentTerm=2, votedFor=leader524 01:11:16,55 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Starting new election term 2 01:11:16,55 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:11:16,55 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower525] 01:11:16,56 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader524-collector528#-1981638713] 01:11:16,56 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader524] 01:11:16,56 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Received ElectionTimeout 01:11:16,56 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader524-collector529#-276812086] 01:11:16,56 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Election: Leader has following peers: [] 01:11:16,56 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:11:16,56 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader524] 01:11:16,59 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower531 with journal batch size 1000 [WARN] [08/19/2024 01:11:16.059] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower531]: org.opendaylight.controller.cluster.common.actor.Monitor@59aef2c [WARN] [08/19/2024 01:11:16.060] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader530]: org.opendaylight.controller.cluster.common.actor.Monitor@372e5f5a 01:11:16,60 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:11:16,61 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader530 with journal batch size 1000 01:11:16,61 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:11:16,520 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:16,520 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.178:25520, Removed) 01:11:16,520 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Follower): Received ElectionTimeout - switching to Candidate 01:11:16,520 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): Election: Candidate has following voting peers: [follower531, follower532] 01:11:16,520 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Set currentTerm=1, votedFor=leader530 01:11:16,520 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): Starting new election term 1 01:11:16,521 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): Sending RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] to peer follower531 01:11:16,521 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): Sending RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] to peer follower532 01:11:16,521 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:11:16,521 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [08/19/2024 01:11:16.521] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader530]: RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] 01:11:16,521 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Cluster state: [] 01:11:16,521 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:11:16,521 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:11:16,521 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Set currentTerm=1, votedFor=null 01:11:16,521 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): In requestVote: RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:11:16,521 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Set currentTerm=1, votedFor=leader530 01:11:16,521 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:11:16,522 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:11:16,522 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:11:16,523 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Election: Leader has following peers: [follower531, follower532] 01:11:16,523 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:16,523 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:16,523 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [08/19/2024 01:11:16.523] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader530]: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:16,524 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower531: Last sync leader does not match current leader leader530, need to catch up to -1 01:11:16,524 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower531 updated: matchIndex: -1, nextIndex: 0 [WARN] [08/19/2024 01:11:16.524] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower531] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@12ed1cd 01:11:16,524 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendAppendEntries: 0 is present for follower follower531 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Sending AppendEntries to follower follower531: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Number of entries to be appended = 1 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Append entry to log zero 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/19/2024 01:11:16.568] [test-akka.actor.default-dispatcher-7] [akka://test/] unhandled message from TestActor[akka://test/user/leader530]: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Log size is now 1 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower531, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:16,568 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached -1 (of expected -1) 01:11:16,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower531 updated: matchIndex: 0, nextIndex: 1 01:11:16,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:16,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:16,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:11:16,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Setting last applied to 0 01:11:16,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Moving last applied index from -1 to 0 01:11:16,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Applying state for log index 0 data zero 01:11:16,569 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:16,569 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: applyState called: zero 01:11:16,569 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persisting ApplyJournalEntries with index=0 [WARN] [08/19/2024 01:11:16.569] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower531] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@434a3311 01:11:16,618 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:16,618 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:16,618 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:11:16,619 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:16,619 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendAppendEntries: 1 is present for follower follower531 01:11:16,619 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Sending AppendEntries to follower follower531: AppendEntries [leaderId=leader530, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:11:16,619 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries: AppendEntries [leaderId=leader530, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Number of entries to be appended = 1 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Append entry to log one 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [08/19/2024 01:11:16.619] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader530]: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Log size is now 2 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Commit index set to 0 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower531, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached 0 (of expected -1) 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Setting last applied to 0 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Moving last applied index from -1 to 0 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Applying state for log index 0 data zero 01:11:16,619 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower531 updated: matchIndex: 1, nextIndex: 2 01:11:16,619 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:16,619 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: applyState called: zero 01:11:16,620 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:16,620 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:11:16,620 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Setting last applied to 1 01:11:16,620 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Moving last applied index from 0 to 1 01:11:16,620 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Applying state for log index 1 data one 01:11:16,620 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: applyState called: one 01:11:16,620 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persisting ApplyJournalEntries with index=1 01:11:16,620 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:16,620 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Persisting ApplyJournalEntries with index=0 [WARN] [08/19/2024 01:11:16.640] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader530]: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [08/19/2024 01:11:16.671] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower532]: org.opendaylight.controller.cluster.common.actor.Monitor@20032b6c 01:11:16,671 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower532 with journal batch size 1000 01:11:16,673 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower532 set to akka://test/user/follower532 01:11:16,673 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:11:16,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:16,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:16,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:11:16,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:16,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendAppendEntries: 2 is present for follower follower531 01:11:16,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Sending AppendEntries to follower follower531: AppendEntries [leaderId=leader530, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:11:16,673 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:16,673 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Term 1 in "AppendEntries [leaderId=leader530, 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 01:11:16,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries: AppendEntries [leaderId=leader530, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:11:16,673 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=null 01:11:16,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Number of entries to be appended = 1 01:11:16,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:11:16,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Append entry to log two 01:11:16,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:16,673 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower532: Last sync leader does not match current leader leader530, need to catch up to -1 01:11:16,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Log size is now 3 01:11:16,673 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Commit index set to 1 01:11:16,674 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: -1, nextIndex: 0 01:11:16,674 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower531, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:16,674 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached 1 (of expected -1) 01:11:16,674 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 01:11:16,674 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:16,674 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Setting last applied to 1 01:11:16,674 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendAppendEntries: 0 is present for follower follower532 01:11:16,674 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Moving last applied index from 0 to 1 01:11:16,674 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Applying state for log index 1 data one 01:11:16,674 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Sending AppendEntries to follower follower532: AppendEntries [leaderId=leader530, 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]]] 01:11:16,674 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower531 updated: matchIndex: 2, nextIndex: 3 01:11:16,674 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: applyState called: one 01:11:16,674 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:16,676 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:16,676 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:11:16,676 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Setting last applied to 2 01:11:16,676 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Moving last applied index from 1 to 2 01:11:16,676 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Applying state for log index 2 data two 01:11:16,676 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: applyState called: two [WARN] [08/19/2024 01:11:16.676] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@584e5843 01:11:16,676 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persisting ApplyJournalEntries with index=2 01:11:16,676 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:16,676 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries: AppendEntries [leaderId=leader530, 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]]] 01:11:16,676 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 3 01:11:16,676 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:16,676 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log zero 01:11:16,676 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:16,676 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Persisting ApplyJournalEntries with index=1 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log one 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log two 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 3 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 1 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower532, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader530 and reached 1 (of expected -1) 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 2 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 0 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 0 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 0 data zero 01:11:16,677 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 2, nextIndex: 3 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: zero 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 1 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from 0 to 1 01:11:16,677 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 1 data one 01:11:16,677 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: fakeSnapshot purging log to 1 for term 1 01:11:16,678 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: one 01:11:16,678 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:11:16,678 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:16,678 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:16,678 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:16,678 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=1 01:11:16,678 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 2 01:11:16,678 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader530 and reached 2 (of expected -1) 01:11:16,678 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:11:16,678 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 2 01:11:16,678 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from 1 to 2 01:11:16,678 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 2 data two 01:11:16,679 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: two 01:11:16,679 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: fakeSnapshot purging log to 1 for term 1 01:11:16,679 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=2 [WARN] [08/19/2024 01:11:16.679] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2d0439ee [WARN] [08/19/2024 01:11:16.736] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower532]: org.opendaylight.controller.cluster.common.actor.Monitor@5bf3a3ea 01:11:16,737 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower532 with journal batch size 1000 01:11:16,737 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower532 set to akka://test/user/follower532 01:11:16,738 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:11:16,881 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Term 1 in "AppendEntries [leaderId=leader530, 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 01:11:16,881 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Commit index set to 2 01:11:16,881 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=null 01:11:16,881 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached 2 (of expected -1) 01:11:16,881 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:11:16,881 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Setting last applied to 2 01:11:16,881 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Moving last applied index from 1 to 2 01:11:16,881 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Applying state for log index 2 data two 01:11:16,881 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): The followers log is empty and the senders prevLogIndex is 2 01:11:16,881 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower532, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:16,881 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: applyState called: two 01:11:16,881 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower532: Last sync leader does not match current leader leader530, need to catch up to 2 01:11:16,881 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: fakeSnapshot purging log to 1 for term 1 01:11:16,881 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Persisting ApplyJournalEntries with index=2 01:11:16,881 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower532, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 01:11:16,881 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: -1, nextIndex: 0 01:11:16,882 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): follower follower532 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 01:11:16,882 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:11:16,882 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Initiating install snapshot to follower follower532: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 01:11:16,882 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: 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 follower532 01:11:16,882 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: lastSequenceNumber prior to capture: 7 [WARN] [08/19/2024 01:11:16.882] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5b95f738 01:11:16,882 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: CaptureSnapshotReply received by actor 01:11:16,883 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: 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=leader530, ServerConfigPayload=null] 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendInstallSnapshot 01:11:16,883 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower532, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader530 (Leader): Snapshot 345 bytes, total chunks to send: 1 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [DEBUG] LeaderInstallSnapshotState - leader530 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): next snapshot chunk size for follower follower532: 345 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): InstallSnapshot sent to follower Vector(user, follower532), Chunk: 1/1 01:11:16,883 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader530, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 01:11:16,883 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower532, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 01:11:16,883 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Snapshot installed from leader: leader530 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): follower follower532 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Snapshot success - sequence number: 7 01:11:16,883 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: SnapshotComplete received 01:11:16,884 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: handled a snapshot response 01:11:16,884 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: 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] 01:11:16,884 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: handled a journal response 01:11:16,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 01:11:16,884 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 01:11:16,884 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Snapshot success - sequence number: 1 01:11:16,884 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 2 01:11:16,884 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=null 01:11:16,884 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applySnapshot called 01:11:16,884 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower532, chunkIndex=1, success=true] 01:11:16,884 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower532, chunkIndex=1, success=true] 01:11:16,884 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Snapshot successfully installed on follower follower532 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 01:11:16,884 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: SnapshotComplete received 01:11:16,884 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: handled a snapshot response 01:11:16,885 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: handled a journal response [WARN] [08/19/2024 01:11:16.900] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower532]: org.opendaylight.controller.cluster.common.actor.Monitor@300fa56d 01:11:16,901 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower532 with journal batch size 1000 01:11:16,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: SnapshotOffer called. 01:11:16,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 2 01:11:16,901 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=null 01:11:16,901 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower532 in 95.74 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 01:11:16,902 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Recovery completed in 842.0 μs - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 01:11:16,903 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower531-collector533#1806059534] 01:11:16,913 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower531] 01:11:16,914 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader530-collector534#1431860085] 01:11:16,914 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader530] 01:11:16,914 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower532-collector535#2137571019] 01:11:16,914 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower532] 01:11:16,914 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower532-collector536#-1973490719] 01:11:16,914 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower532] 01:11:16,915 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower532-collector537#-367357985] 01:11:16,915 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower532] [WARN] [08/19/2024 01:11:16.917] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower539]: org.opendaylight.controller.cluster.common.actor.Monitor@82c8c9e 01:11:16,918 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower539 with journal batch size 1000 01:11:16,919 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [08/19/2024 01:11:16.919] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader538]: org.opendaylight.controller.cluster.common.actor.Monitor@504a02ec 01:11:16,920 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader538 with journal batch size 1000 01:11:16,921 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:11:17,370 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:11:17,370 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.178:25520, Removed) 01:11:17,370 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower): Received ElectionTimeout - switching to Candidate 01:11:17,370 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Election: Candidate has following voting peers: [follower539, follower540] 01:11:17,370 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Set currentTerm=1, votedFor=leader538 01:11:17,370 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Starting new election term 1 01:11:17,370 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Sending RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] to peer follower539 01:11:17,370 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Sending RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] to peer follower540 01:11:17,370 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:11:17,370 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:11:17,370 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Cluster state: [] 01:11:17,370 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:11:17,370 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:11:17,371 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Set currentTerm=1, votedFor=null 01:11:17,371 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): In requestVote: RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:11:17,371 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Set currentTerm=1, votedFor=leader538 01:11:17,371 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:11:17,372 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:11:17,372 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:11:17,372 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Election: Leader has following peers: [follower539, follower540] [WARN] [08/19/2024 01:11:17.371] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] 01:11:17,372 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:17,372 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:11:17,372 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [08/19/2024 01:11:17.372] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,372 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower539: Last sync leader does not match current leader leader538, need to catch up to -1 01:11:17,372 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower539 updated: matchIndex: -1, nextIndex: 0 01:11:17,372 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [08/19/2024 01:11:17.373] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower539] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1126bde6 01:11:17,374 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:17,374 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:17,374 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:11:17,374 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:17,374 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 0 is present for follower follower539 01:11:17,374 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:11:17,374 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [08/19/2024 01:11:17.375] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,374 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:11:17,375 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Number of entries to be appended = 1 01:11:17,375 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:11:17,375 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log zero 01:11:17,375 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:17,375 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:17,375 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Log size is now 1 01:11:17,375 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower539, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:17,375 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower539: Lagging 0 entries behind leader leader538 and reached -1 (of expected -1) 01:11:17,375 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower539 updated: matchIndex: 0, nextIndex: 1 01:11:17,375 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:11:17,376 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 0 01:11:17,376 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from -1 to 0 01:11:17,376 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 0 data zero 01:11:17,376 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: zero 01:11:17,376 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:11:17,376 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persisting ApplyJournalEntries with index=0 01:11:17,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:11:17,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Commit index set to 0 01:11:17,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower539: Lagging 0 entries behind leader leader538 and reached 0 (of expected -1) 01:11:17,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:11:17,376 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 0 01:11:17,377 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from -1 to 0 01:11:17,377 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 0 data zero 01:11:17,377 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: zero 01:11:17,377 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Persisting ApplyJournalEntries with index=0 [WARN] [08/19/2024 01:11:17.377] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower539] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2643e146 01:11:17,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:17,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:17,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:11:17,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:17,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 1 is present for follower follower539 01:11:17,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:11:17,425 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:17,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries: AppendEntries [leaderId=leader538, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:11:17,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Number of entries to be appended = 1 01:11:17,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:11:17,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log one 01:11:17,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [08/19/2024 01:11:17.425] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Log size is now 2 01:11:17,425 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower539, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:17,426 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower539: Lagging 0 entries behind leader leader538 and reached 0 (of expected -1) 01:11:17,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower539 updated: matchIndex: 1, nextIndex: 2 01:11:17,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:11:17,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:17,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:11:17,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 1 01:11:17,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 0 to 1 01:11:17,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 1 data one 01:11:17,426 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: one 01:11:17,426 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persisting ApplyJournalEntries with index=1 01:11:17,427 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:11:17,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:17,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:17,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:11:17,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:17,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 01:11:17,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:11:17,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:11:17,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:17,475 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:17,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true [WARN] [08/19/2024 01:11:17.476] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:11:17,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 01:11:17,476 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 [WARN] [08/19/2024 01:11:17.476] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,476 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:17,476 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:17,477 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 01:11:17,477 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: lastSequenceNumber prior to capture: 7 [WARN] [08/19/2024 01:11:17.490] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,611 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 01:11:17,611 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, 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] [08/19/2024 01:11:17.611] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,730 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 01:11:17,730 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, 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] [08/19/2024 01:11:17.730] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,777 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:17,777 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:17,778 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 01:11:17,778 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:11:17,778 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 01:11:17,778 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 [WARN] [08/19/2024 01:11:17.778] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:17,850 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower539: Lagging -1 entries behind leader leader538 and reached 0 (of expected -1) [WARN] [08/19/2024 01:11:17.850] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 01:11:17,850 AM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower539, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 424, lastApplied : 1, commitIndex : 1 01:11:17,850 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 01:11:17,850 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, 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]]] 01:11:17,850 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries: AppendEntries [leaderId=leader538, 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]]] 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Number of entries to be appended = 3 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log two 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log three 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log four 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Log size is now 5 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Commit index set to 1 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower539, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower539: Lagging 0 entries behind leader leader538 and reached 1 (of expected -1) 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 1 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from 0 to 1 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 1 data one 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower539 updated: matchIndex: 4, nextIndex: 5 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 2 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 1 to 2 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 2 data two 01:11:17,851 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: one 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: two 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 3 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 2 to 3 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 3 data three 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: three 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 4 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 3 to 4 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 4 data four 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: four 01:11:17,851 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:11:17,852 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persisting ApplyJournalEntries with index=4 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Persisting ApplyJournalEntries with index=1 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Commit index set to 4 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower539: Lagging 0 entries behind leader leader538 and reached 4 (of expected -1) 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 2 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from 1 to 2 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 2 data two 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: two 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 3 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from 2 to 3 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 3 data three 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: three 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 4 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from 3 to 4 01:11:17,852 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 4 data four 01:11:17,853 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: four 01:11:17,853 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Persisting ApplyJournalEntries with index=4 01:11:17,878 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: CaptureSnapshotReply received by actor 01:11:17,879 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader538, ServerConfigPayload=null] 01:11:17,879 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 01:11:17,879 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 01:11:17,879 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:11:17,879 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Snapshot success - sequence number: 7 01:11:17,879 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: SnapshotComplete received 01:11:17,879 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: handled a snapshot response 01:11:17,879 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: handled a journal response [WARN] [08/19/2024 01:11:17.942] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader538]: org.opendaylight.controller.cluster.common.actor.Monitor@15340e66 01:11:17,942 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader538 with journal batch size 1000 01:11:17,943 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: SnapshotOffer called. 01:11:17,943 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from -1 to 1 01:11:17,943 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Set currentTerm=1, votedFor=leader538 01:11:17,943 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader538 in 130.4 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 01:11:17,945 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Received ReplicatedLogEntry for recovery: index: 4, size: 4 01:11:17,945 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Received apply journal entries for recovery, applying to state: 2 to 4 01:11:17,945 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 1 to 4 01:11:17,945 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Recovery completed in 2.038 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 01:11:17,945 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower): Received TimeoutNow - switching to Candidate 01:11:17,945 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Election: Candidate has following voting peers: [] 01:11:17,945 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Set currentTerm=2, votedFor=leader538 01:11:17,946 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Starting new election term 2 01:11:17,946 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:11:17,946 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Received ElectionTimeout 01:11:17,946 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Election: Leader has following peers: [] 01:11:17,946 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:11:18,42 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower539-collector541#697304521] 01:11:18,53 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower539] 01:11:18,53 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader538-collector542#-1643200218] 01:11:18,53 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader538] 01:11:18,53 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader538-collector543#-816541293] 01:11:18,53 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader538] [INFO] [08/19/2024 01:11:18.054] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 01:11:18,54 AM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [08/19/2024 01:11:18.055] [test-akka.actor.default-dispatcher-17] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.178:25520) [INFO] [08/19/2024 01:11:18.056] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Exiting completed [INFO] [08/19/2024 01:11:18.056] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Shutting down... [INFO] [08/19/2024 01:11:18.056] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.178:25520] - Successfully shut down 01:11:18,56 AM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Exiting completed 01:11:18,57 AM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Shutting down... 01:11:18,57 AM [test-akka.actor.default-dispatcher-16] [INFO] Cluster - Cluster Node [akka://test@10.30.171.178:25520] - Successfully shut down [INFO] [08/19/2024 01:11:18.057] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.171.178:25520/system/remoting-terminator] Shutting down remote daemon. 01:11:18,57 AM [test-akka.actor.default-dispatcher-16] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 01:11:18,57 AM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [08/19/2024 01:11:18.057] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.171.178:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:11:18,60 AM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [08/19/2024 01:11:18.060] [test-akka.remote.default-remote-dispatcher-10] [akka://test@10.30.171.178:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [08/19/2024 01:11:18.060] [test-akka.actor.internal-dispatcher-4] [EventStream] shutting down: StandardOutLogger