[DEBUG] [03/25/2024 07:43:09.820] [main] [EventStream(akka://test)] logger log1-TestEventListener started 07:43:09,824 AM [test-akka.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [03/25/2024 07:43:09.824] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [03/25/2024 07:43:09.824] [main] [EventStream(akka://test)] Default Loggers started [INFO] [03/25/2024 07:43:09.844] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.89:25520] with UID [2132570842985590900] 07:43:09,844 AM [test-akka.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.89:25520] with UID [2132570842985590900] [INFO] [03/25/2024 07:43:09.845] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Starting up, Akka version [2.6.21] ... 07:43:09,845 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Starting up, Akka version [2.6.21] ... [INFO] [03/25/2024 07:43:09.847] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [03/25/2024 07:43:09.847] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Started up successfully 07:43:09,848 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Registered cluster JMX MBean [akka:type=Cluster] 07:43:09,848 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Started up successfully [INFO] [03/25/2024 07:43:09.858] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [03/25/2024 07:43:09.858] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 07:43:09,860 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 07:43:09,860 AM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [03/25/2024 07:43:09.871] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower555]: org.opendaylight.controller.cluster.common.actor.Monitor@27fed29b [INFO] [akkaDeadLetter][03/25/2024 07:43:09.878] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower555] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:09,878 AM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower555] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:09,881 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower555 with journal batch size 1000 07:43:09,883 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:09.963] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader554]: org.opendaylight.controller.cluster.common.actor.Monitor@1e090eb0 [INFO] [akkaDeadLetter][03/25/2024 07:43:09.963] [test-akka.actor.default-dispatcher-12] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader554] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:09,963 AM [test-akka.actor.default-dispatcher-12] [INFO] EmptyLocalActorRef - Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader554] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:09,964 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader554 with journal batch size 1000 07:43:09,965 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:10,485 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:10,485 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:10,485 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Received ElectionTimeout - switching to Candidate 07:43:10,486 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Election: Candidate has following voting peers: [follower556, follower555] 07:43:10,486 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=1, votedFor=leader554 07:43:10,486 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Starting new election term 1 07:43:10,486 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Sending RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] to peer follower556 07:43:10,486 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Sending RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] to peer follower555 07:43:10,486 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 07:43:10,486 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:10,486 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Cluster state: [] 07:43:10,486 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:10,486 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:43:10,486 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=null [WARN] [03/25/2024 07:43:10.486] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] 07:43:10,486 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): In requestVote: RequestVote [term=1, candidateId=leader554, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:10,486 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Set currentTerm=1, votedFor=leader554 07:43:10,486 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [INFO] [akkaDeadLetter][03/25/2024 07:43:10.486] [test-akka.actor.default-dispatcher-11] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:10,487 AM [test-akka.actor.default-dispatcher-11] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:10,489 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 07:43:10,489 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 07:43:10,489 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Election: Leader has following peers: [follower556, follower555] 07:43:10,489 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:10,489 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:10,489 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 07:43:10,490 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower555: Last sync leader does not match current leader leader554, need to catch up to -1 [WARN] [03/25/2024 07:43:10.490] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@69dc92d 07:43:10,490 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: -1, nextIndex: 0 [INFO] [akkaDeadLetter][03/25/2024 07:43:10.490] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower555] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] 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'. 07:43:10,490 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:10,490 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] 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] [03/25/2024 07:43:10.490] [test-akka.actor.default-dispatcher-11] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][03/25/2024 07:43:10.490] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [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'. 07:43:10,490 AM [test-akka.actor.default-dispatcher-6] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [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'. 07:43:10,519 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:10,519 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:10,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:43:10,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:10,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:10,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 0 is present for follower follower555 07:43:10,520 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:43:10,520 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:43:10,520 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 07:43:10,520 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 [WARN] [03/25/2024 07:43:10.520] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:10,520 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log zero 07:43:10,520 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [INFO] [akkaDeadLetter][03/25/2024 07:43:10.520] [test-akka.actor.default-dispatcher-16] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:10,520 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 1 07:43:10,520 AM [test-akka.actor.default-dispatcher-16] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:10,520 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:10,520 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached -1 (of expected -1) 07:43:10,520 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 0, nextIndex: 1 07:43:10,521 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:10,521 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:10,521 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 07:43:10,521 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 0 07:43:10,521 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from -1 to 0 07:43:10,521 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 0 data zero 07:43:10,521 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: zero 07:43:10,521 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=0 07:43:10,522 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/25/2024 07:43:10.522] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower555] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@37bd205 [INFO] [akkaDeadLetter][03/25/2024 07:43:10.522] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower555] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:10,522 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower555] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:10,570 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:10,570 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:10,570 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 07:43:10,570 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:10,570 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:10,570 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 1 is present for follower follower555 07:43:10,570 AM [test-akka.actor.default-dispatcher-15] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [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'. 07:43:10,570 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [03/25/2024 07:43:10.570] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][03/25/2024 07:43:10.570] [test-akka.actor.default-dispatcher-15] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [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'. 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log one 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 2 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 0 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 0 (of expected -1) 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 0 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from -1 to 0 07:43:10,571 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 1, nextIndex: 2 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 0 data zero 07:43:10,571 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:10,571 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: zero 07:43:10,571 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:10,572 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 07:43:10,572 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 1 07:43:10,572 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 0 to 1 07:43:10,572 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 1 data one 07:43:10,572 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: one 07:43:10,572 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:10,572 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=1 07:43:10,572 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 07:43:10.606] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:10,606 AM [test-akka.actor.default-dispatcher-15] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [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][03/25/2024 07:43:10.606] [test-akka.actor.default-dispatcher-17] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:10,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:10,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:10,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 07:43:10,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:10,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:10,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 2 is present for follower follower555 07:43:10,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] [WARN] [03/25/2024 07:43:10.621] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:10,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:10,621 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:10,621 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 07:43:10,622 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log two 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:10,622 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:43:10,622 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:43:10,622 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 2 is present for follower follower555 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 3 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 1 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 1 (of expected -1) 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 1 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 0 to 1 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 1 data one 07:43:10,622 AM [test-akka.actor.default-dispatcher-15] [INFO] LocalActorRefProvider$$anon$2 - Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][03/25/2024 07:43:10.622] [test-akka.actor.default-dispatcher-15] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader554] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:43:10,622 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 2, nextIndex: 3 07:43:10,622 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: one 07:43:10,622 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:43:10,622 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 3 is present for follower follower555 07:43:10,622 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 2 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 1 to 2 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 2 data two 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: two 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=2 07:43:10,623 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] [WARN] [03/25/2024 07:43:10.623] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:10,623 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: lastSequenceNumber prior to capture: 7 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: CaptureSnapshotReply received by actor 07:43:10,624 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=1 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader554, ServerConfigPayload=null] 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 07:43:10,624 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries: AppendEntries [leaderId=leader554, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 07:43:10,624 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Number of entries to be appended = 1 07:43:10,624 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 07:43:10,624 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Append entry to log three 07:43:10,624 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:10,624 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Log size is now 4 07:43:10,624 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower555, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:10,624 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 1 (of expected -1) 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower555 updated: matchIndex: 3, nextIndex: 4 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Setting last applied to 3 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 3 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Applying state for log index 3 data three 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: applyState called: three 07:43:10,624 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 07:43:10,625 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persisting ApplyJournalEntries with index=3 07:43:10,625 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 07:43:10,625 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Snapshot success - sequence number: 7 07:43:10,625 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SnapshotComplete received 07:43:10,625 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: handled a snapshot response 07:43:10,626 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:10,626 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: handled a journal response 07:43:10,626 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Commit index set to 3 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower555: Lagging 0 entries behind leader leader554 and reached 3 (of expected -1) 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 2 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 1 to 2 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 2 data two 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: two 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555 (Follower): Setting last applied to 3 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Moving last applied index from 2 to 3 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Applying state for log index 3 data three 07:43:10,627 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: applyState called: three 07:43:10,627 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower555: Persisting ApplyJournalEntries with index=3 07:43:10,684 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:10,684 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:10,684 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 07:43:10,685 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 07:43:10,685 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 07:43:10,685 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 07:43:10,685 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Sending AppendEntries to follower follower555: AppendEntries [leaderId=leader554, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/25/2024 07:43:10.685] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower555] received dead letter from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/25/2024 07:43:10.690] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:10,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 07:43:10,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 07:43:10,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 07:43:10,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 07:43:10,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 07:43:10,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 [WARN] [03/25/2024 07:43:10.706] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:10,706 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:10,707 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] [WARN] [03/25/2024 07:43:10.726] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:10,758 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 07:43:10,758 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 [WARN] [03/25/2024 07:43:10.759] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower556: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Checking sendAppendEntries for follower follower555: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 07:43:10,759 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): sendAppendEntries: 4 is present for follower follower555 [WARN] [03/25/2024 07:43:10.759] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader554]: AppendEntries [leaderId=leader554, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:10,760 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 07:43:10,760 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] [WARN] [03/25/2024 07:43:10.772] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader554]: org.opendaylight.controller.cluster.common.actor.Monitor@31141de8 07:43:10,773 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader554 with journal batch size 1000 07:43:10,774 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: SnapshotOffer called. 07:43:10,774 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from -1 to 2 07:43:10,774 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=1, votedFor=leader554 07:43:10,774 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader554 in 184.4 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 07:43:10,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received apply journal entries for recovery, applying to state: 3 to 2 07:43:10,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 2 07:43:10,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received apply journal entries for recovery, applying to state: 3 to 3 07:43:10,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Moving last applied index from 2 to 3 07:43:10,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 4, size: 4 07:43:10,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 5, size: 4 07:43:10,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 4, size: 7 07:43:10,777 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Received ReplicatedLogEntry for recovery: index: 5, size: 7 07:43:10,778 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Recovery completed in 3.337 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 07:43:10,778 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower555-collector557#1373714244] 07:43:10,778 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower): Received TimeoutNow - switching to Candidate 07:43:10,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Election: Candidate has following voting peers: [] 07:43:10,779 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554: Set currentTerm=2, votedFor=leader554 07:43:10,779 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Starting new election term 2 07:43:10,779 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:43:10,780 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate): Received ElectionTimeout 07:43:10,780 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Leader): Election: Leader has following peers: [] 07:43:10,780 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader554 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:43:10,789 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower555] 07:43:10,789 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader554-collector558#590981292] 07:43:10,789 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader554] 07:43:10,789 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader554-collector559#112422751] 07:43:10,790 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader554] [WARN] [03/25/2024 07:43:10.794] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower561]: org.opendaylight.controller.cluster.common.actor.Monitor@63a44a29 07:43:10,795 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower561 with journal batch size 1000 07:43:10,796 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:10.796] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader560]: org.opendaylight.controller.cluster.common.actor.Monitor@4fbbd8b3 07:43:10,797 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader560 with journal batch size 1000 07:43:10,798 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:11,285 AM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:11,285 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:11,285 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Received ElectionTimeout - switching to Candidate 07:43:11,285 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Election: Candidate has following voting peers: [follower562, follower561] 07:43:11,285 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=1, votedFor=leader560 07:43:11,286 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Starting new election term 1 07:43:11,286 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Sending RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] to peer follower562 07:43:11,286 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Sending RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] to peer follower561 07:43:11,286 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 07:43:11,286 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. [WARN] [03/25/2024 07:43:11.286] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] 07:43:11,286 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Cluster state: [] 07:43:11,286 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:11,286 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:43:11,286 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Set currentTerm=1, votedFor=null 07:43:11,286 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): In requestVote: RequestVote [term=1, candidateId=leader560, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:11,287 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Set currentTerm=1, votedFor=leader560 07:43:11,287 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 07:43:11,287 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 07:43:11,287 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 07:43:11,287 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Election: Leader has following peers: [follower562, follower561] 07:43:11,288 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:11,288 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:11,288 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 07:43:11,288 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower561: Last sync leader does not match current leader leader560, need to catch up to -1 07:43:11,288 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: -1, nextIndex: 0 07:43:11,288 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:11.288] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower561] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@62b17b76 [WARN] [03/25/2024 07:43:11.288] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,299 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:11,299 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:11,299 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:43:11,299 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:11,299 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:11,299 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 0 is present for follower follower561 07:43:11,299 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] [WARN] [03/25/2024 07:43:11.299] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:43:11,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 1 07:43:11,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:43:11,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log zero 07:43:11,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:11,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 1 07:43:11,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:11,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached -1 (of expected -1) 07:43:11,300 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 0, nextIndex: 1 07:43:11,300 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:11,300 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:11,300 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 07:43:11,300 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 0 07:43:11,300 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from -1 to 0 07:43:11,300 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 0 data zero 07:43:11,300 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/25/2024 07:43:11.301] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower561] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2c3e93c9 07:43:11,301 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: zero 07:43:11,301 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=0 07:43:11,349 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:11,350 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:11,350 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 07:43:11,350 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:11,350 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:11,350 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 1 is present for follower follower561 07:43:11,350 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [03/25/2024 07:43:11.350] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries: AppendEntries [leaderId=leader560, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 1 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log one 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 2 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 0 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 0 (of expected -1) 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 0 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from -1 to 0 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 0 data zero 07:43:11,350 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: zero 07:43:11,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 1, nextIndex: 2 07:43:11,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:11,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:11,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 07:43:11,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 1 07:43:11,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 0 to 1 07:43:11,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 1 data one 07:43:11,351 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:11,351 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: one 07:43:11,351 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=1 07:43:11,351 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=0 07:43:11,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:11,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:11,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 07:43:11,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:11,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:11,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 07:43:11,400 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [03/25/2024 07:43:11.400] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] [WARN] [03/25/2024 07:43:11.401] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower562: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 [WARN] [03/25/2024 07:43:11.401] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,401 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:11,402 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:11,402 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 07:43:11,402 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: lastSequenceNumber prior to capture: 7 07:43:11,402 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: CaptureSnapshotReply received by actor 07:43:11,402 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader560, ServerConfigPayload=null] 07:43:11,402 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 07:43:11,402 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 07:43:11,402 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:11,403 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 07:43:11,403 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Snapshot success - sequence number: 7 07:43:11,403 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SnapshotComplete received 07:43:11,403 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: handled a snapshot response 07:43:11,403 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: handled a journal response [WARN] [03/25/2024 07:43:11.406] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,525 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 07:43:11,525 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/25/2024 07:43:11.525] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,646 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 07:43:11,646 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [03/25/2024 07:43:11.646] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,766 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower561: Lagging -1 entries behind leader leader560 and reached 0 (of expected -1) [WARN] [03/25/2024 07:43:11.766] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader560]: AppendEntries [leaderId=leader560, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:11,766 AM [test-akka.actor.default-dispatcher-5] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 415, lastApplied : 1, commitIndex : 1 07:43:11,766 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): sendAppendEntries: 2 is present for follower follower561 07:43:11,766 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Sending AppendEntries to follower follower561: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 07:43:11,766 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries: AppendEntries [leaderId=leader560, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Number of entries to be appended = 3 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log two 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log three 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Append entry to log four 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Log size is now 5 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 1 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower561, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 1 (of expected -1) 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 1 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 0 to 1 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 1 data one 07:43:11,767 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower561 updated: matchIndex: 4, nextIndex: 5 07:43:11,767 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 07:43:11,767 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 2 07:43:11,767 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 1 to 2 07:43:11,767 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 2 data two 07:43:11,767 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: one 07:43:11,767 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: two 07:43:11,767 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 3 07:43:11,767 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 2 to 3 07:43:11,767 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 3 data three 07:43:11,768 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: three 07:43:11,768 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Setting last applied to 4 07:43:11,768 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 3 to 4 07:43:11,768 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Applying state for log index 4 data four 07:43:11,768 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: applyState called: four 07:43:11,768 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Checking sendAppendEntries for follower follower561: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 07:43:11,768 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Persisting ApplyJournalEntries with index=4 07:43:11,768 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:11,768 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:11,768 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=1 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Commit index set to 4 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower561: Lagging 0 entries behind leader leader560 and reached 4 (of expected -1) 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 2 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 1 to 2 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 2 data two 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: two 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 3 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 2 to 3 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 3 data three 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: three 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561 (Follower): Setting last applied to 4 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Moving last applied index from 3 to 4 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Applying state for log index 4 data four 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: applyState called: four 07:43:11,769 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower561: Persisting ApplyJournalEntries with index=4 [WARN] [03/25/2024 07:43:11.815] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader560]: org.opendaylight.controller.cluster.common.actor.Monitor@cbbf4db 07:43:11,815 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader560 with journal batch size 1000 07:43:11,816 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: SnapshotOffer called. 07:43:11,816 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from -1 to 1 07:43:11,816 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=1, votedFor=leader560 07:43:11,817 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader560 in 116.1 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 07:43:11,818 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Received ReplicatedLogEntry for recovery: index: 4, size: 4 07:43:11,818 AM [test-akka.actor.default-dispatcher-5] [WARN] AbstractReplicatedLogImpl - leader560: Cannot append new entry - new index 4 is not greater than the last index 4 java.lang.Exception: stack trace at org.opendaylight.controller.cluster.raft.AbstractReplicatedLogImpl.append(AbstractReplicatedLogImpl.java:129) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.onRecoveredJournalLogEntry(RaftActorRecoverySupport.java:180) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.handleRecoveryMessage(RaftActorRecoverySupport.java:67) at org.opendaylight.controller.cluster.raft.RaftActor.handleRecover(RaftActor.java:165) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) at scala.PartialFunction.applyOrElse(PartialFunction.scala:214) at scala.PartialFunction.applyOrElse$(PartialFunction.scala:213) at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) at scala.PartialFunction$OrElse.apply(PartialFunction.scala:266) at akka.persistence.Eventsourced$$anon$2$$anonfun$1.applyOrElse(Eventsourced.scala:639) at akka.actor.Actor.aroundReceive(Actor.scala:537) at akka.actor.Actor.aroundReceive$(Actor.scala:535) at akka.persistence.AbstractPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:295) at akka.persistence.Eventsourced$$anon$3.stateReceive(Eventsourced.scala:756) at akka.persistence.Eventsourced.aroundReceive(Eventsourced.scala:245) at akka.persistence.Eventsourced.aroundReceive$(Eventsourced.scala:244) at akka.persistence.AbstractPersistentActor.aroundReceive(PersistentActor.scala:295) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:579) at akka.actor.ActorCell.invoke(ActorCell.scala:547) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270) at akka.dispatch.Mailbox.run(Mailbox.scala:231) at akka.dispatch.Mailbox.exec(Mailbox.scala:243) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) 07:43:11,819 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Received apply journal entries for recovery, applying to state: 2 to 4 07:43:11,819 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Moving last applied index from 1 to 4 07:43:11,819 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Recovery completed in 2.613 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 07:43:11,819 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower): Received TimeoutNow - switching to Candidate 07:43:11,819 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Election: Candidate has following voting peers: [] 07:43:11,820 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560: Set currentTerm=2, votedFor=leader560 07:43:11,820 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Starting new election term 2 07:43:11,820 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:43:11,820 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower561-collector563#344439991] 07:43:11,821 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate): Received ElectionTimeout 07:43:11,821 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Leader): Election: Leader has following peers: [] 07:43:11,821 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader560 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:43:11,831 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower561] 07:43:11,831 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader560-collector564#-243763969] 07:43:11,831 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader560] 07:43:11,831 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader560-collector565#-1199660574] 07:43:11,831 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader560] [WARN] [03/25/2024 07:43:11.834] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower567]: org.opendaylight.controller.cluster.common.actor.Monitor@28af2d0e 07:43:11,835 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower567 with journal batch size 1000 [WARN] [03/25/2024 07:43:11.836] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader566]: org.opendaylight.controller.cluster.common.actor.Monitor@f31ada7 07:43:11,837 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader566 with journal batch size 1000 07:43:11,837 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:11,839 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:12,305 AM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:12,305 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:12,305 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower): Received ElectionTimeout - switching to Candidate 07:43:12,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Election: Candidate has following voting peers: [follower568, follower567] 07:43:12,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Set currentTerm=1, votedFor=leader566 07:43:12,306 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Starting new election term 1 07:43:12,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Sending RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] to peer follower568 07:43:12,306 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): Sending RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] to peer follower567 07:43:12,306 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 07:43:12,306 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:12,306 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Cluster state: [] 07:43:12,306 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:12,306 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:43:12,306 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Set currentTerm=1, votedFor=null 07:43:12,306 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): In requestVote: RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:12,306 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Set currentTerm=1, votedFor=leader566 07:43:12,306 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [03/25/2024 07:43:12.306] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: RequestVote [term=1, candidateId=leader566, lastLogIndex=-1, lastLogTerm=-1] 07:43:12,308 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 07:43:12,308 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 07:43:12,308 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Election: Leader has following peers: [follower568, follower567] 07:43:12,308 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:12,308 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:12,308 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 07:43:12,308 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower567: Last sync leader does not match current leader leader566, need to catch up to -1 07:43:12,308 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: -1, nextIndex: 0 07:43:12,308 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:12.308] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower567] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@65880f9e [WARN] [03/25/2024 07:43:12.308] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:12,339 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:12,339 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:12,339 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:43:12,339 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:12,339 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:12,339 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 0 is present for follower follower567 07:43:12,339 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower567: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log zero 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 1 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower567, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached -1 (of expected -1) 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 0, nextIndex: 1 07:43:12,340 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:12.340] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:12,341 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:12,341 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 07:43:12,341 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 0 07:43:12,341 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from -1 to 0 07:43:12,341 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 0 data zero 07:43:12,341 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: zero 07:43:12,341 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:12,341 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 07:43:12.341] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower567] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@385ec336 07:43:12,390 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:12,390 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:12,391 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 07:43:12,391 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:12,391 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:12,391 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 1 is present for follower follower567 07:43:12,391 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower567: AppendEntries [leaderId=leader566, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [03/25/2024 07:43:12.391] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log one 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 2 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 0 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower567, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 0 (of expected -1) 07:43:12,391 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 07:43:12,392 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 0 07:43:12,392 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from -1 to 0 07:43:12,392 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 0 data zero 07:43:12,392 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: zero 07:43:12,392 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 1, nextIndex: 2 07:43:12,392 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:12,392 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:12,392 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 07:43:12,392 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 1 07:43:12,392 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from 0 to 1 07:43:12,392 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 1 data one 07:43:12,393 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: one 07:43:12,393 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=1 07:43:12,393 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:12,393 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 07:43:12.426] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader566]: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:12,444 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 [WARN] [03/25/2024 07:43:12.444] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@5827b0c6 07:43:12,446 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower568 set to akka://test/user/follower568 07:43:12,446 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:12,446 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:12,446 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 07:43:12,447 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:12,447 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:12,447 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 2 is present for follower follower567 07:43:12,447 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower567: AppendEntries [leaderId=leader566, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:43:12,447 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Number of entries to be appended = 1 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Append entry to log two 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Log size is now 3 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 1 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower567, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 1 (of expected -1) 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 1 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from 0 to 1 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 1 data one 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: one 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower567 updated: matchIndex: 2, nextIndex: 3 07:43:12,448 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower567: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:12,449 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:12,449 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 07:43:12,449 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Setting last applied to 2 07:43:12,449 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Moving last applied index from 1 to 2 07:43:12,449 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Applying state for log index 2 data two 07:43:12,449 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: applyState called: two 07:43:12,449 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:12,449 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting ApplyJournalEntries with index=2 07:43:12,449 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=1 07:43:12,450 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:12,450 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Term 1 in "AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 07:43:12,450 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 07:43:12,450 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower568: Last sync leader does not match current leader leader566, need to catch up to -1 07:43:12,450 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: -1, nextIndex: 0 07:43:12,451 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:12,451 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendAppendEntries: 0 is present for follower follower568 07:43:12,451 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Sending AppendEntries to follower follower568: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, 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]]] 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries: AppendEntries [leaderId=leader566, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, 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]]] 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Number of entries to be appended = 3 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log zero 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log one 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [03/25/2024 07:43:12.451] [test-akka.actor.default-dispatcher-6] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@68ac7518 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Append entry to log two 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Log size is now 3 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Commit index set to 2 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower568, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower568: Lagging 0 entries behind leader leader566 and reached 2 (of expected -1) 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): -1, lastIndex(): 2 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 0 07:43:12,451 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 0 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 0 data zero 07:43:12,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: 2, nextIndex: 3 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: zero 07:43:12,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: fakeSnapshot purging log to 1 for term 1 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 1 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 0 to 1 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 1 data one 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: one 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Setting last applied to 2 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from 1 to 2 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying state for log index 2 data two 07:43:12,452 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 07:43:12,452 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applyState called: two 07:43:12,452 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:12,452 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:12,452 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:12,453 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Persisting ApplyJournalEntries with index=2 [WARN] [03/25/2024 07:43:12.453] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7ca79dd9 07:43:12,513 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 [WARN] [03/25/2024 07:43:12.513] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@4e34bdbf 07:43:12,514 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower568 set to akka://test/user/follower568 07:43:12,514 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:12,665 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Commit index set to 2 07:43:12,665 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Term 1 in "AppendEntries [leaderId=leader566, prevLogIndex=2, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 07:43:12,666 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower567: Lagging 0 entries behind leader leader566 and reached 2 (of expected -1) 07:43:12,666 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 07:43:12,666 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 07:43:12,666 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567 (Follower): Setting last applied to 2 07:43:12,666 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Moving last applied index from 1 to 2 07:43:12,666 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Applying state for log index 2 data two 07:43:12,666 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): The followers log is empty and the senders prevLogIndex is 2 07:43:12,666 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: applyState called: two 07:43:12,666 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: fakeSnapshot purging log to 1 for term 1 07:43:12,666 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:12,666 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower568: Last sync leader does not match current leader leader566, need to catch up to 2 07:43:12,666 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower567: Persisting ApplyJournalEntries with index=2 07:43:12,666 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 07:43:12,666 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower568 updated: matchIndex: -1, nextIndex: 0 07:43:12,666 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): follower follower568 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 07:43:12,666 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Checking sendAppendEntries for follower follower568: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 07:43:12,666 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Initiating install snapshot to follower follower568: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 07:43:12,666 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=2, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower568 07:43:12,666 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: lastSequenceNumber prior to capture: 7 07:43:12,667 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: CaptureSnapshotReply received by actor 07:43:12,667 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader566, ServerConfigPayload=null] 07:43:12,667 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 07:43:12,667 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): sendInstallSnapshot 07:43:12,667 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader566 (Leader): Snapshot 345 bytes, total chunks to send: 1 07:43:12,667 AM [test-akka.actor.default-dispatcher-12] [DEBUG] LeaderInstallSnapshotState - leader566 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 07:43:12,667 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): next snapshot chunk size for follower follower568: 345 07:43:12,667 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): InstallSnapshot sent to follower Vector(user, follower568), Chunk: 1/1 07:43:12,667 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 07:43:12,667 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: Snapshot success - sequence number: 7 07:43:12,667 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: SnapshotComplete received 07:43:12,667 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: handled a snapshot response 07:43:12,668 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566: handled a journal response 07:43:12,668 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 [WARN] [03/25/2024 07:43:12.668] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower568] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@38a72946 07:43:12,668 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:12,669 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader566, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 07:43:12,669 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower568, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 07:43:12,669 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 07:43:12,669 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): Snapshot installed from leader: leader566 07:43:12,669 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): follower follower568 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 07:43:12,669 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Applying snapshot on follower: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=null, ServerConfigPayload=null] 07:43:12,670 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 07:43:12,670 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 07:43:12,670 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Snapshot success - sequence number: 1 07:43:12,670 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 2 07:43:12,670 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 07:43:12,670 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: applySnapshot called 07:43:12,670 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower568, chunkIndex=1, success=true] 07:43:12,670 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower568, chunkIndex=1, success=true] 07:43:12,670 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader566 (Leader): Snapshot successfully installed on follower follower568 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 07:43:12,670 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotComplete received 07:43:12,670 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a snapshot response 07:43:12,670 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: handled a journal response [WARN] [03/25/2024 07:43:12.727] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower568]: org.opendaylight.controller.cluster.common.actor.Monitor@22cf76a2 07:43:12,728 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower568 with journal batch size 1000 07:43:12,729 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: SnapshotOffer called. 07:43:12,729 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Moving last applied index from -1 to 2 07:43:12,729 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Set currentTerm=1, votedFor=null 07:43:12,729 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower568 in 139.4 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 07:43:12,731 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower568: Recovery completed in 1.354 ms - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 07:43:12,731 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower567-collector569#977175388] 07:43:12,742 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower567] 07:43:12,742 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader566-collector570#-2013012309] 07:43:12,742 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader566] 07:43:12,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector571#1409252666] 07:43:12,743 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] 07:43:12,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector572#197723480] 07:43:12,743 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] 07:43:12,743 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower568-collector573#-1645118873] 07:43:12,743 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower568] [WARN] [03/25/2024 07:43:12.747] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower575]: org.opendaylight.controller.cluster.common.actor.Monitor@4eb08316 07:43:12,747 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower575 with journal batch size 1000 07:43:12,748 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [03/25/2024 07:43:12.748] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader574]: org.opendaylight.controller.cluster.common.actor.Monitor@507c2442 07:43:12,749 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader574 with journal batch size 1000 07:43:12,752 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:43:13,255 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:43:13,256 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.89:25520, Removed) 07:43:13,256 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Received ElectionTimeout - switching to Candidate 07:43:13,256 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Election: Candidate has following voting peers: [follower575, follower576] 07:43:13,256 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=1, votedFor=leader574 07:43:13,256 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Starting new election term 1 07:43:13,256 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Sending RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] to peer follower575 07:43:13,256 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Sending RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] to peer follower576 07:43:13,256 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:43:13,256 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 07:43:13,256 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Cluster state: [] 07:43:13,256 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:43:13,256 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:43:13,256 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Set currentTerm=1, votedFor=null 07:43:13,257 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): In requestVote: RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:43:13,257 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Set currentTerm=1, votedFor=leader574 07:43:13,257 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [03/25/2024 07:43:13.257] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: RequestVote [term=1, candidateId=leader574, lastLogIndex=-1, lastLogTerm=-1] 07:43:13,258 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 07:43:13,258 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 07:43:13,258 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Election: Leader has following peers: [follower575, follower576] 07:43:13,258 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:13,258 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:13,258 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 07:43:13,258 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower575: Last sync leader does not match current leader leader574, need to catch up to -1 [WARN] [03/25/2024 07:43:13.258] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:13,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: -1, nextIndex: 0 [WARN] [03/25/2024 07:43:13.259] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower575] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@71a78119 07:43:13,259 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:43:13,303 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:13,303 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:13,303 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:43:13,303 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:13,303 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 0 is present for follower follower575 07:43:13,303 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:43:13,303 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:13,303 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:43:13,303 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 1 07:43:13,303 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:43:13,303 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log zero 07:43:13,303 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [03/25/2024 07:43:13.304] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:13,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 1 07:43:13,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:13,304 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached -1 (of expected -1) 07:43:13,304 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 0, nextIndex: 1 07:43:13,304 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:43:13,304 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:13,304 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 07:43:13,304 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 0 07:43:13,304 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from -1 to 0 07:43:13,304 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 0 data zero 07:43:13,305 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: zero 07:43:13,305 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:43:13,305 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 07:43:13.305] [test-akka.actor.default-dispatcher-12] [akka://test/user/follower575] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1d1aa501 07:43:13,353 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:13,353 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:13,354 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 07:43:13,354 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:13,354 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 1 is present for follower follower575 07:43:13,354 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:43:13,354 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries: AppendEntries [leaderId=leader574, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 1 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 [WARN] [03/25/2024 07:43:13.354] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log one 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 2 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 0 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 0 (of expected -1) 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 0 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from -1 to 0 07:43:13,354 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 0 data zero 07:43:13,355 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 1, nextIndex: 2 07:43:13,355 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: zero 07:43:13,355 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:43:13,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:13,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 07:43:13,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 1 07:43:13,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 0 to 1 07:43:13,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 1 data one 07:43:13,355 AM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: one 07:43:13,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=1 07:43:13,355 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:43:13,356 AM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=0 [WARN] [03/25/2024 07:43:13.375] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:13,404 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:13,404 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:13,404 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 07:43:13,405 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 [WARN] [03/25/2024 07:43:13.405] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/25/2024 07:43:13.405] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:13,406 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:13,406 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:13,406 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 07:43:13,406 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: lastSequenceNumber prior to capture: 7 07:43:13,496 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 [WARN] [03/25/2024 07:43:13.496] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:13,615 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 07:43:13,615 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/25/2024 07:43:13.615] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:13,735 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 07:43:13,736 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [03/25/2024 07:43:13.736] [test-akka.actor.default-dispatcher-12] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:13,757 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:13,757 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:13,757 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 07:43:13,757 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:43:13,757 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower576: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:43:13,758 AM [test-akka.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower575: Lagging -1 entries behind leader leader574 and reached 0 (of expected -1) [WARN] [03/25/2024 07:43:13.758] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 07:43:13,758 AM [test-akka.actor.default-dispatcher-12] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 403, lastApplied : 1, commitIndex : 1 07:43:13,758 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): sendAppendEntries: 2 is present for follower follower575 07:43:13,758 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Sending AppendEntries to follower follower575: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries: AppendEntries [leaderId=leader574, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Number of entries to be appended = 3 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log two 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log three 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Append entry to log four 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Log size is now 5 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 1 07:43:13,758 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower575, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 1 (of expected -1) 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 1 07:43:13,758 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 0 to 1 07:43:13,758 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower575 updated: matchIndex: 4, nextIndex: 5 07:43:13,759 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 1 data one 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 2 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 1 to 2 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 2 data two 07:43:13,759 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: one 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: two 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 3 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 2 to 3 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 3 data three 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: three 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Setting last applied to 4 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 3 to 4 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Applying state for log index 4 data four 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: applyState called: four 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Checking sendAppendEntries for follower follower575: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:43:13,759 AM [test-akka.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting ApplyJournalEntries with index=4 07:43:13,759 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:43:13,759 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:43:13,759 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=1 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Commit index set to 4 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower575: Lagging 0 entries behind leader leader574 and reached 4 (of expected -1) 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 2 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 1 to 2 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 2 data two 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: two 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 3 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 2 to 3 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 3 data three 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: three 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575 (Follower): Setting last applied to 4 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Moving last applied index from 3 to 4 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Applying state for log index 4 data four 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: applyState called: four 07:43:13,760 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower575: Persisting ApplyJournalEntries with index=4 07:43:13,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: CaptureSnapshotReply received by actor 07:43:13,808 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader574, ServerConfigPayload=null] 07:43:13,808 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 07:43:13,808 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 07:43:13,809 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 07:43:13,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Snapshot success - sequence number: 7 07:43:13,809 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SnapshotComplete received 07:43:13,809 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: handled a journal response 07:43:13,809 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: handled a snapshot response [WARN] [03/25/2024 07:43:13.856] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader574]: AppendEntries [leaderId=leader574, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [03/25/2024 07:43:13.871] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader574]: org.opendaylight.controller.cluster.common.actor.Monitor@487f30e9 07:43:13,872 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader574 with journal batch size 1000 07:43:13,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: SnapshotOffer called. 07:43:13,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from -1 to 1 07:43:13,873 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=1, votedFor=leader574 07:43:13,874 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader574 in 162.8 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 07:43:13,876 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Received ReplicatedLogEntry for recovery: index: 4, size: 4 07:43:13,876 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Received apply journal entries for recovery, applying to state: 2 to 4 07:43:13,876 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Moving last applied index from 1 to 4 07:43:13,877 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Recovery completed in 3.016 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 07:43:13,877 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower575-collector577#581765354] 07:43:13,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower): Received TimeoutNow - switching to Candidate 07:43:13,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Election: Candidate has following voting peers: [] 07:43:13,877 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574: Set currentTerm=2, votedFor=leader574 07:43:13,877 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Starting new election term 2 07:43:13,877 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:43:13,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate): Received ElectionTimeout 07:43:13,878 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Leader): Election: Leader has following peers: [] 07:43:13,878 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader574 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:43:13,888 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower575] 07:43:13,888 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader574-collector578#525196616] 07:43:13,888 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader574] 07:43:13,888 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader574-collector579#-1727674643] 07:43:13,888 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader574] [INFO] [03/25/2024 07:43:13.889] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 07:43:13,890 AM [test-akka.actor.default-dispatcher-18] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [03/25/2024 07:43:13.891] [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.89:25520) [INFO] [03/25/2024 07:43:13.891] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Exiting completed 07:43:13,893 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Exiting completed 07:43:13,893 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Shutting down... [INFO] [03/25/2024 07:43:13.891] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Shutting down... 07:43:13,893 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.89:25520] - Successfully shut down [INFO] [03/25/2024 07:43:13.892] [test-akka.actor.internal-dispatcher-2] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.89:25520] - Successfully shut down [INFO] [03/25/2024 07:43:13.893] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.89:25520/system/remoting-terminator] Shutting down remote daemon. 07:43:13,894 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 07:43:13,894 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [03/25/2024 07:43:13.894] [test-akka.remote.default-remote-dispatcher-7] [akka://test@10.30.171.89:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 07:43:13,896 AM [test-akka.actor.default-dispatcher-6] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [INFO] [03/25/2024 07:43:13.896] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.171.89:25520/system/remoting-terminator] Remoting shut down. [DEBUG] [03/25/2024 07:43:13.896] [test-akka.actor.internal-dispatcher-3] [EventStream] shutting down: StandardOutLogger