[DEBUG] [10/29/2024 01:13:53.743] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 01:13:53,744 AM [test-pekko.actor.default-dispatcher-6] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [10/29/2024 01:13:53.744] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [10/29/2024 01:13:53.744] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [10/29/2024 01:13:53.759] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.219:17355] with UID [-8969672813536251234] 01:13:53,760 AM [test-pekko.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.219:17355] with UID [-8969672813536251234] [INFO] [10/29/2024 01:13:53.760] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.219:17355] - Starting up, Pekko version [1.0.3] ... 01:13:53,760 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.219:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [10/29/2024 01:13:53.762] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.219:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [10/29/2024 01:13:53.762] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.219:17355] - Started up successfully [INFO] [10/29/2024 01:13:53.763] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.219:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [10/29/2024 01:13:53.763] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.219:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 01:13:53,764 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.219:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 01:13:53,764 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.219:17355] - Started up successfully 01:13:53,764 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.219:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 01:13:53,764 AM [test-pekko.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.219:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 01:13:53,771 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 01:13:53,772 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/29/2024 01:13:53.774] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower739]: org.opendaylight.controller.cluster.common.actor.Monitor@7875c9ff [INFO] [pekkoDeadLetter][10/29/2024 01:13:53.774] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower739] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,775 AM [test-pekko.actor.default-dispatcher-6] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower739] to Actor[pekko://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,777 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower739 with journal batch size 1000 [WARN] [10/29/2024 01:13:53.778] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower740]: org.opendaylight.controller.cluster.common.actor.Monitor@53de61ce [INFO] [pekkoDeadLetter][10/29/2024 01:13:53.778] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower740] to Actor[pekko://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,778 AM [test-pekko.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/follower740] to Actor[pekko://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,778 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:53,779 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower740 with journal batch size 1000 01:13:53,781 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/29/2024 01:13:53.781] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader738]: org.opendaylight.controller.cluster.common.actor.Monitor@7f43b970 [INFO] [pekkoDeadLetter][10/29/2024 01:13:53.781] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/leader738] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,781 AM [test-pekko.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[pekko://test/user/leader738] to Actor[pekko://test/user/termination-monitor] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,782 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader738 with journal batch size 1000 01:13:53,782 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Received TimeoutNow - switching to Candidate 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Election: Candidate has following voting peers: [follower739, follower740] 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=1, votedFor=leader738 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Starting new election term 1 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower739 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower740 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:13:53,783 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:53,783 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Cluster state: [] 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:53,783 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:53,783 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 01:13:53,783 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=null 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=null 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): In requestVote: RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=leader738 01:13:53,783 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:13:53,783 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): In requestVote: RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:13:53,783 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=leader738 01:13:53,783 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:13:53,784 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:13:53,784 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:13:53,784 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Election: Leader has following peers: [follower739, follower740] 01:13:53,784 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:53,784 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:53,784 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:13:53,784 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Last sync leader does not match current leader leader738, need to catch up to -1 [WARN] [10/29/2024 01:13:53.784] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower740] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7845e80b 01:13:53,784 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: -1, nextIndex: 0 01:13:53,784 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [INFO] [pekkoDeadLetter][10/29/2024 01:13:53.784] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,784 AM [test-pekko.actor.default-dispatcher-11] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,784 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: -1, nextIndex: 0 01:13:53,784 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:13:53,784 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower739: Last sync leader does not match current leader leader738, need to catch up to -1 01:13:53,785 AM [test-pekko.actor.default-dispatcher-7] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower739] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [10/29/2024 01:13:53.785] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower739] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1c56c788 [INFO] [pekkoDeadLetter][10/29/2024 01:13:53.785] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/follower739] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower739] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,834 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 01:13:53,834 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:13:53,834 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:13:53,834 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:13:53,835 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:53,835 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 0 is present for follower follower739 01:13:53,835 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:13:53,835 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:53,835 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 0 is present for follower follower740 01:13:53,835 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log zero 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 1 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower740, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached -1 (of expected -1) 01:13:53,835 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 0, nextIndex: 1 01:13:53,835 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:53,835 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:13:53,835 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 01:13:53,835 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:13:53,835 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log zero 01:13:53,835 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:13:53,835 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 1 01:13:53,835 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower739, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 0, nextIndex: 1 01:13:53,835 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:13:53,836 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached -1 (of expected -1) 01:13:53,836 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:13:53,836 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:13:53,836 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 0 01:13:53,836 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from -1 to 0 01:13:53,836 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 0 data zero 01:13:53,836 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:13:53,836 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: zero 01:13:53,836 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=0 01:13:53,836 AM [test-pekko.actor.default-dispatcher-16] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,837 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [10/29/2024 01:13:53.837] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/follower740] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@26073a29 [INFO] [pekkoDeadLetter][10/29/2024 01:13:53.836] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [10/29/2024 01:13:53.837] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower739] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1a05fef1 [INFO] [pekkoDeadLetter][10/29/2024 01:13:53.837] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/follower739] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower739] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:53,837 AM [test-pekko.actor.default-dispatcher-11] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower739] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:54,24 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Commit index set to 0 01:13:54,24 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 01:13:54,24 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:54,24 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Setting last applied to 0 01:13:54,24 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from -1 to 0 01:13:54,24 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 0 data zero 01:13:54,24 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: zero 01:13:54,24 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=0 01:13:54,24 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 0 01:13:54,25 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 01:13:54,25 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:13:54,25 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 0 01:13:54,25 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from -1 to 0 01:13:54,25 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 0 data zero 01:13:54,25 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: zero 01:13:54,25 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=0 01:13:54,36 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:13:54,36 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:13:54,36 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:13:54,36 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 1 is present for follower follower739 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 1 is present for follower follower740 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:13:54,37 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:13:54,37 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 01:13:54,37 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:13:54,37 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log one 01:13:54,37 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:13:54,37 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 2 01:13:54,37 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower740, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:54,37 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 1, nextIndex: 2 01:13:54,37 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries: AppendEntries [leaderId=leader738, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:13:54,37 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 1 01:13:54,37 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 0 to 1 01:13:54,37 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log one 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 1 data one 01:13:54,37 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: one 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: fakeSnapshot purging log to 0 for term 1 01:13:54,37 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:13:54,37 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:13:54,38 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=1 01:13:54,38 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 2 01:13:54,38 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower739, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:54,38 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 01:13:54,38 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 1, nextIndex: 2 01:13:54,38 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:13:54,38 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:13:54,87 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 01:13:54,88 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 01:13:54,88 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:13:54,88 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:13:54,88 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:13:54,88 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:13:54,88 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 01:13:54,88 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:13:54,88 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:13:54,88 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 01:13:54,88 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:13:54,89 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:13:54,145 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 01:13:54,145 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 01:13:54,265 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 01:13:54,265 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:13:54,265 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 01:13:54,265 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:13:54,384 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 01:13:54,384 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower739: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:13:54,384 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 01:13:54,384 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=leader738, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:13:54,984 AM [test-pekko.actor.default-dispatcher-17] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: At least 1 followers need to be active, Switching leader738 from Leader to IsolatedLeader 01:13:54,984 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Election: Leader has following peers: [follower740, follower739] 01:13:54,984 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:13:54,984 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Checking sendAppendEntries for follower follower739: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:13:54,984 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 01:13:54,994 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower739 01:13:54,994 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:13:54,994 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Received TimeoutNow - switching to Candidate 01:13:54,994 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Election: Candidate has following voting peers: [follower740, leader738] 01:13:54,994 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=2, votedFor=follower739 01:13:54,994 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Starting new election term 2 01:13:54,995 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Sending RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] to peer follower740 01:13:54,995 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Sending RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] to peer leader738 01:13:54,995 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:13:54,995 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 01:13:54,995 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 01:13:54,995 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 01:13:54,995 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:13:54,995 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=null 01:13:54,995 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): In requestVote: RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 01:13:54,995 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=follower739 01:13:54,995 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Election: Leader has following peers: [follower740, leader738] 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 01:13:54,996 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Last sync leader does not match current leader follower739, need to catch up to -1 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:54,996 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:54,997 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 1, nextIndex: 2 01:13:54,997 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging -1 entries behind leader follower739 and reached 0 (of expected -1) 01:13:54,997 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 01:13:54,997 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:54,997 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): sendAppendEntries: 2 is present for follower follower740 01:13:54,997 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=follower739, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965]]] 01:13:54,997 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 01:13:54,997 AM [test-pekko.actor.default-dispatcher-12] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:54,997 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): sendAppendEntries: 2 is present for follower follower740 01:13:54,997 AM [test-pekko.actor.default-dispatcher-12] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:54,997 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=follower739, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965]]] [WARN] [10/29/2024 01:13:54.996] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower740] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@64d1e8bc 01:13:54,997 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 01:13:54,997 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 [INFO] [pekkoDeadLetter][10/29/2024 01:13:54.997] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:54,997 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:13:54,997 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] [WARN] [10/29/2024 01:13:54.997] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower740] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@349f56bb [INFO] [pekkoDeadLetter][10/29/2024 01:13:54.997] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower740] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/follower740] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:54,997 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 3 01:13:54,997 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower740, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:54,997 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 0 (of expected -1) 01:13:54,997 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 2, nextIndex: 3 01:13:54,997 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 01:13:54,997 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Setting last applied to 1 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 0 to 1 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 1 data one 01:13:54,998 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: one 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Setting last applied to 2 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 1 to 2 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Election: Leader has following peers: [follower740, leader738] 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 2 01:13:54,998 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 1 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 0 to 1 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 1 data one 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: one 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 2 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 1 to 2 01:13:54,998 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:13:54,998 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=2 01:13:54,999 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=2 01:13:55,45 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 01:13:55,45 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:13:55,45 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:13:55,45 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 01:13:55,45 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:13:55,45 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): sendAppendEntries: 3 is present for follower follower740 01:13:55,45 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Sending AppendEntries to follower follower740: AppendEntries [leaderId=follower739, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 01:13:55,45 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:13:55,46 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:13:55,46 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries: AppendEntries [leaderId=follower739, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 01:13:55,46 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 01:13:55,46 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:13:55,46 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log two-new 01:13:55,46 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:13:55,46 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 4 01:13:55,46 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower740, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:55,46 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 3, nextIndex: 4 01:13:55,46 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:13:55,46 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Setting last applied to 3 01:13:55,46 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 2 to 3 01:13:55,46 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 3 data two-new 01:13:55,47 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: two-new 01:13:55,47 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:13:55,47 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=3 01:13:55,47 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 01:13:55,47 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:13:55,47 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 3 01:13:55,47 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,47 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 01:13:55,47 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 3 01:13:55,47 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 2 to 3 01:13:55,47 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 3 data two-new 01:13:55,48 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: two-new 01:13:55,48 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=3 01:13:55,95 AM [main] [INFO] IsolationScenarioTest - Removing isolation 01:13:55,104 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Cannot append entries because sender's term 1 is less than 2 01:13:55,104 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cannot append entries because sender's term 1 is less than 2 01:13:55,104 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower739, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 01:13:55,105 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=2, votedFor=null 01:13:55,105 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Last sync leader does not match current leader follower739, need to catch up to -1 01:13:55,115 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply: follower leader738 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 01:13:55,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:13:55,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): sendAppendEntries: 1 is present for follower leader738 01:13:55,115 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Sending AppendEntries to follower leader738: AppendEntries [leaderId=follower739, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] [WARN] [10/29/2024 01:13:55.115] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/leader738] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@14909425 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): handleAppendEntries: AppendEntries [leaderId=follower739, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Number of entries to be appended = 3 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] is present: existingEntryTerm: 1 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Append entry to log two-new 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Log size is now 3 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Commit index set to 3 [INFO] [pekkoDeadLetter][10/29/2024 01:13:55.115] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/leader738] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/leader738] 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 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader738, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:13:55,115 AM [test-pekko.actor.default-dispatcher-6] [INFO] TestActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[pekko://test/user/leader738] 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 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 01:13:55,115 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader738 updated: matchIndex: 3, nextIndex: 4 01:13:55,115 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: fakeSnapshot purging log to 2 for term 2 01:13:55,115 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Setting last applied to 2 01:13:55,115 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 1 to 2 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Setting last applied to 3 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 2 to 3 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 3 data two-new 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: two-new 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=2, lastIndex=3, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: lastSequenceNumber prior to capture: 10 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=3 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: CaptureSnapshotReply received by actor 01:13:55,116 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=2, lastAppliedIndex=3, lastAppliedTerm=2, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two-new]], electionTerm=2, electionVotedFor=null, ServerConfigPayload=null] 01:13:55,117 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 01:13:55,117 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 [WARN] [10/29/2024 01:13:55.117] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/leader738] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@618176fd 01:13:55,117 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Snapshot success - sequence number: 10 01:13:55,117 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SnapshotComplete received 01:13:55,117 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a snapshot response 01:13:55,117 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a journal response 01:13:55,234 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,234 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,234 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: fakeSnapshot purging log to 2 for term 2 01:13:55,234 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: fakeSnapshot purging log to 2 for term 2 01:13:55,355 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,355 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,474 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,474 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,594 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,595 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,715 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,715 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,834 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,834 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,954 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:55,954 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,75 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,75 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,194 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,194 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,314 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,314 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,434 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,434 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,554 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,554 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,675 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,675 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,794 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,794 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,914 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:56,914 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,35 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,35 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,154 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,155 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,274 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,274 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,394 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,394 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,514 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,514 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,634 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,634 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,754 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,754 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,874 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,874 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,994 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:57,994 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,114 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,114 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,235 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,235 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,354 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,354 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,474 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,474 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,595 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,595 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,715 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,715 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,834 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,834 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,944 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:58,944 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,65 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,65 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,184 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,184 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,304 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,304 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,415 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,415 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,534 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,534 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,655 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,655 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,774 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,774 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,895 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:13:59,895 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:14:00,4 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:14:00,4 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:14:00,124 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:14:00,124 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 01:14:00,171 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 01:14:00,171 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower739-notifier741#1125483685] 01:14:00,183 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower739-collector742#353360932] 01:14:00,183 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower739] 01:14:00,183 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower740-collector743#-864115488] 01:14:00,183 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower740] 01:14:00,183 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader738-notifier744#1563410293] 01:14:00,183 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader738-collector745#-1702692135] 01:14:00,184 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader738] 01:14:00,185 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 01:14:00,185 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/29/2024 01:14:00.186] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower747]: org.opendaylight.controller.cluster.common.actor.Monitor@76a6ac11 01:14:00,187 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower747 with journal batch size 1000 01:14:00,188 AM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/29/2024 01:14:00.189] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower748]: org.opendaylight.controller.cluster.common.actor.Monitor@1d5829d7 01:14:00,190 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower748 with journal batch size 1000 01:14:00,190 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/29/2024 01:14:00.191] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader746]: org.opendaylight.controller.cluster.common.actor.Monitor@615fc2d3 01:14:00,192 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader746 with journal batch size 1000 01:14:00,192 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:00,192 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:14:00,192 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Received TimeoutNow - switching to Candidate 01:14:00,193 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Election: Candidate has following voting peers: [follower748, follower747] 01:14:00,193 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Set currentTerm=1, votedFor=leader746 01:14:00,193 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Starting new election term 1 01:14:00,193 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Sending RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] to peer follower748 01:14:00,193 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Sending RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] to peer follower747 01:14:00,193 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:00,193 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:14:00,193 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:00,193 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Cluster state: [] 01:14:00,193 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cluster state: [] 01:14:00,193 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:00,193 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:00,193 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:00,193 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:00,193 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=1, votedFor=null 01:14:00,193 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=null 01:14:00,193 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): In requestVote: RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:00,193 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=1, votedFor=leader746 01:14:00,193 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): In requestVote: RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:00,193 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=leader746 01:14:00,193 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:14:00,193 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:14:00,193 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:14:00,193 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:14:00,193 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Election: Leader has following peers: [follower748, follower747] 01:14:00,193 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:00,194 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:00,194 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:14:00,194 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower747: Last sync leader does not match current leader leader746, need to catch up to -1 01:14:00,194 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower748: Last sync leader does not match current leader leader746, need to catch up to -1 [WARN] [10/29/2024 01:14:00.194] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower747] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@60c33c1 01:14:00,194 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: -1, nextIndex: 0 01:14:00,194 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:00,194 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: -1, nextIndex: 0 01:14:00,194 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [10/29/2024 01:14:00.194] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@122bad67 01:14:00,244 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 01:14:00,244 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:00,244 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:00,244 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:14:00,244 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:00,244 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower748 01:14:00,244 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:14:00,244 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower747 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:14:00,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries: AppendEntries [leaderId=leader746, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:14:00,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): handleAppendEntries: AppendEntries [leaderId=leader746, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:14:00,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:00,245 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Number of entries to be appended = 1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log zero 01:14:00,245 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:00,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:00,245 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Append entry to log zero 01:14:00,245 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:00,245 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Log size is now 1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower748, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:00,245 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower747, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:00,245 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 01:14:00,245 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 0, nextIndex: 1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: 0, nextIndex: 1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 1 is present for follower follower748 01:14:00,245 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:00,246 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 1 is present for follower follower747 01:14:00,246 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): handleAppendEntries: AppendEntries [leaderId=leader746, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Number of entries to be appended = 1 01:14:00,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:00,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Append entry to log one 01:14:00,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries: AppendEntries [leaderId=leader746, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Log size is now 2 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 01:14:00,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower747, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log one 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 [WARN] [10/29/2024 01:14:00.246] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2925cbbf 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Setting last applied to 0 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from -1 to 0 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 0 data zero [WARN] [10/29/2024 01:14:00.246] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower747] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@59baa818 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 2 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower748, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: zero 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: 1, nextIndex: 2 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 1, nextIndex: 2 01:14:00,246 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:00,246 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=0 01:14:00,247 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:00,247 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:14:00,247 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Setting last applied to 1 01:14:00,247 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from 0 to 1 01:14:00,247 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 1 data one 01:14:00,247 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:00,247 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: one 01:14:00,247 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: fakeSnapshot purging log to 0 for term 1 01:14:00,247 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Commit index set to 0 01:14:00,247 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached 0 (of expected -1) 01:14:00,247 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:14:00,247 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Setting last applied to 0 01:14:00,247 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from -1 to 0 01:14:00,247 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 0 data zero 01:14:00,247 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:00,247 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=1 01:14:00,247 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 0 01:14:00,247 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached 0 (of expected -1) 01:14:00,247 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 01:14:00,247 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 0 01:14:00,247 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from -1 to 0 01:14:00,247 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 0 data zero 01:14:00,247 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: zero 01:14:00,247 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: zero 01:14:00,247 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=0 01:14:00,247 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=0 01:14:00,248 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Commit index set to 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached 1 (of expected -1) 01:14:00,248 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached 1 (of expected -1) 01:14:00,248 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Setting last applied to 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 0 to 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from 0 to 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 1 data one 01:14:00,248 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 1 data one 01:14:00,248 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: one 01:14:00,248 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: one 01:14:00,248 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: fakeSnapshot purging log to 0 for term 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: fakeSnapshot purging log to 0 for term 1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=1 01:14:00,248 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=1 01:14:00,294 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 01:14:00,294 AM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 01:14:00,294 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:14:00,294 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:14:00,294 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:14:00,295 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:00,295 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 01:14:00,295 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:14:00,295 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:00,295 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 01:14:00,295 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:14:00,295 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:14:00,424 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 01:14:00,424 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:14:00,424 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 01:14:00,424 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:14:00,545 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 01:14:00,545 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:14:00,545 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 01:14:00,545 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Sending AppendEntries to follower follower747: AppendEntries [leaderId=leader746, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:14:00,784 AM [test-pekko.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: At least 1 followers need to be active, Switching leader746 from Leader to IsolatedLeader 01:14:00,784 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Election: Leader has following peers: [follower748, follower747] 01:14:00,784 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:00,784 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Checking sendAppendEntries for follower follower747: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:00,784 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 01:14:00,798 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower747 01:14:00,798 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:14:00,798 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Received TimeoutNow - switching to Candidate 01:14:00,798 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Election: Candidate has following voting peers: [follower748, leader746] 01:14:00,798 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=2, votedFor=follower747 01:14:00,798 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Starting new election term 2 01:14:00,798 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Sending RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] to peer follower748 01:14:00,798 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Sending RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] to peer leader746 01:14:00,798 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:14:00,799 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:00,799 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cluster state: [] 01:14:00,799 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 01:14:00,799 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 01:14:00,799 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=2, votedFor=null 01:14:00,799 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): In requestVote: RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 01:14:00,799 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=2, votedFor=follower747 01:14:00,799 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:14:00,799 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:14:00,799 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:14:00,800 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Election: Leader has following peers: [follower748, leader746] 01:14:00,800 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:14:00,800 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 01:14:00,800 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 01:14:00,800 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower748: Last sync leader does not match current leader follower747, need to catch up to -1 01:14:00,800 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 1, nextIndex: 2 01:14:00,800 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 [WARN] [10/29/2024 01:14:00.800] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3afd728e 01:14:00,800 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 1 (of expected -1) [WARN] [10/29/2024 01:14:00.800] [test-pekko.actor.default-dispatcher-7] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@30fa0850 01:14:00,848 AM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 01:14:00,849 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:14:00,849 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:14:00,849 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, isSendImmediate: true 01:14:00,849 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:00,849 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): sendAppendEntries: 2 is present for follower follower748 01:14:00,849 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Sending AppendEntries to follower follower748: AppendEntries [leaderId=follower747, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 01:14:00,849 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries: AppendEntries [leaderId=follower747, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 01:14:00,849 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 01:14:00,849 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:14:00,849 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log two-new 01:14:00,849 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:14:00,849 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 2 01:14:00,849 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower748, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:00,849 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 1 (of expected -1) 01:14:00,850 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:00,850 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:14:00,850 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 2, nextIndex: 3 01:14:00,850 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:00,850 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:14:00,850 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 01:14:00,850 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Setting last applied to 2 01:14:00,850 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from 1 to 2 01:14:00,850 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 2 data two-new 01:14:00,850 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: two-new 01:14:00,850 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=2 01:14:01,34 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 2 01:14:01,34 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 01:14:01,34 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:14:01,34 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 2 01:14:01,34 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 1 to 2 01:14:01,34 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 2 data two-new 01:14:01,34 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: two-new 01:14:01,34 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=2 01:14:01,51 AM [main] [INFO] IsolationScenarioTest - Removing isolation 01:14:01,144 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cannot append entries because sender's term 1 is less than 2 01:14:01,144 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Cannot append entries because sender's term 1 is less than 2 01:14:01,145 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower747, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 01:14:01,145 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Set currentTerm=2, votedFor=null 01:14:01,145 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 01:14:01,154 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 01:14:01,154 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader746: Last sync leader does not match current leader follower747, need to catch up to -1 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply: follower leader746 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): sendAppendEntries: 1 is present for follower leader746 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Sending AppendEntries to follower leader746: AppendEntries [leaderId=follower747, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] [WARN] [10/29/2024 01:14:01.155] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/leader746] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2d5051a0 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): handleAppendEntries: AppendEntries [leaderId=follower747, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Number of entries to be appended = 2 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] is present: existingEntryTerm: 1 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Append entry to log two-new 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Log size is now 2 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Commit index set to 2 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader746, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - leader746: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Setting last applied to 2 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from 1 to 2 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 2 data two-new 01:14:01,155 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader746 updated: matchIndex: 2, nextIndex: 3 01:14:01,155 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: fakeSnapshot purging log to 1 for term 2 01:14:01,155 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: two-new 01:14:01,155 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 01:14:01,156 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 01:14:01,156 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=2 [WARN] [10/29/2024 01:14:01.156] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/leader746] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7a301170 01:14:01,202 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 01:14:01,202 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower747-notifier749#-1448197193] 01:14:01,213 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower747-collector750#2069303901] 01:14:01,214 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower747] 01:14:01,214 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower748-collector751#-655521468] 01:14:01,214 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower748] 01:14:01,214 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader746-notifier752#-1363509277] 01:14:01,214 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader746-collector753#559479518] 01:14:01,214 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader746] 01:14:01,215 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 01:14:01,215 AM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [10/29/2024 01:14:01.217] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower755]: org.opendaylight.controller.cluster.common.actor.Monitor@3ecf1ad5 01:14:01,217 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower755 with journal batch size 1000 01:14:01,218 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/29/2024 01:14:01.219] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower756]: org.opendaylight.controller.cluster.common.actor.Monitor@6b7a6666 01:14:01,219 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower756 with journal batch size 1000 01:14:01,220 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [10/29/2024 01:14:01.221] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader754]: org.opendaylight.controller.cluster.common.actor.Monitor@7224ea9c 01:14:01,222 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader754 with journal batch size 1000 01:14:01,222 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 01:14:01,223 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:14:01,223 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Received TimeoutNow - switching to Candidate 01:14:01,223 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Election: Candidate has following voting peers: [follower755, follower756] 01:14:01,223 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Set currentTerm=1, votedFor=leader754 01:14:01,223 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Starting new election term 1 01:14:01,223 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Sending RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] to peer follower755 01:14:01,223 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Sending RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] to peer follower756 01:14:01,223 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:01,223 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 01:14:01,223 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:01,223 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Cluster state: [] 01:14:01,223 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cluster state: [] 01:14:01,223 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:01,223 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 01:14:01,223 AM [test-pekko.actor.default-dispatcher-13] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:01,223 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 01:14:01,223 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=1, votedFor=null 01:14:01,223 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=null 01:14:01,223 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): In requestVote: RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:01,223 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): In requestVote: RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 01:14:01,223 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=leader754 01:14:01,223 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=1, votedFor=leader754 01:14:01,223 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:14:01,223 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 01:14:01,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 01:14:01,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 01:14:01,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Election: Leader has following peers: [follower755, follower756] 01:14:01,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:01,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:01,224 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 01:14:01,224 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower755: Last sync leader does not match current leader leader754, need to catch up to -1 01:14:01,224 AM [test-pekko.actor.default-dispatcher-13] [DEBUG] SyncStatusTracker - follower756: Last sync leader does not match current leader leader754, need to catch up to -1 [WARN] [10/29/2024 01:14:01.224] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower755] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@76bb4169 [WARN] [10/29/2024 01:14:01.224] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6da8654 01:14:01,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: -1, nextIndex: 0 01:14:01,224 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:01,224 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: -1, nextIndex: 0 01:14:01,224 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 01:14:01,275 AM [main] [INFO] IsolationScenarioTest - createRaftActors ending 01:14:01,275 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:01,275 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:01,275 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 01:14:01,275 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:01,275 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 0 is present for follower follower755 01:14:01,275 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:14:01,275 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:01,275 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 0 is present for follower follower756 01:14:01,276 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:14:01,276 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): handleAppendEntries: AppendEntries [leaderId=leader754, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:14:01,276 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Number of entries to be appended = 1 01:14:01,276 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:01,276 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Append entry to log zero 01:14:01,276 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:01,276 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=leader754, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 01:14:01,276 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Log size is now 1 01:14:01,276 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower755, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:01,276 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 01:14:01,276 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached -1 (of expected -1) 01:14:01,276 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: 0, nextIndex: 1 01:14:01,276 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:01,276 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:01,277 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 01:14:01,277 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Setting last applied to 0 01:14:01,277 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from -1 to 0 01:14:01,277 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 0 data zero 01:14:01,277 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [10/29/2024 01:14:01.277] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower755] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3a28d98a 01:14:01,277 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: zero 01:14:01,277 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=0 01:14:01,277 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 01:14:01,278 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log zero 01:14:01,278 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:01,278 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 1 01:14:01,278 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower756, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:01,278 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 0, nextIndex: 1 01:14:01,278 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 01:14:01,278 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached -1 (of expected -1) 01:14:01,279 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 01:14:01,279 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 0 01:14:01,279 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:14:01,279 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:14:01,279 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 0 01:14:01,279 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from -1 to 0 01:14:01,279 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 0 data zero 01:14:01,279 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: zero 01:14:01,279 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=0 [WARN] [10/29/2024 01:14:01.279] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7d4845a5 01:14:01,464 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Commit index set to 0 01:14:01,464 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:14:01,464 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 01:14:01,464 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:14:01,464 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Setting last applied to 0 01:14:01,464 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from -1 to 0 01:14:01,464 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 0 data zero 01:14:01,464 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: zero 01:14:01,464 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=0 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 1 is present for follower follower755 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 1 is present for follower follower756 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): handleAppendEntries: AppendEntries [leaderId=leader754, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Number of entries to be appended = 1 01:14:01,477 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Append entry to log one 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Log size is now 2 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower755, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=leader754, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: 1, nextIndex: 2 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log one 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 2 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower756, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 1, nextIndex: 2 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:01,478 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Setting last applied to 1 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 0 to 1 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 1 data one 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: one 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: fakeSnapshot purging log to 0 for term 1 01:14:01,478 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 01:14:01,478 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=1 01:14:01,479 AM [main] [INFO] IsolationScenarioTest - Isolating the leader 01:14:01,479 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:14:01,479 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 01:14:01,480 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 01:14:01,480 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:14:01,480 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 01:14:01,480 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:14:01,480 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 01:14:01,480 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 01:14:01,481 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 01:14:01,481 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: lastSequenceNumber prior to capture: 7 01:14:01,481 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: CaptureSnapshotReply received by actor 01:14:01,481 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader754, ServerConfigPayload=null] 01:14:01,481 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 01:14:01,481 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 01:14:01,481 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 01:14:01,481 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 01:14:01,481 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Snapshot success - sequence number: 7 01:14:01,481 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SnapshotComplete received 01:14:01,481 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a snapshot response 01:14:01,481 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a journal response 01:14:01,584 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:14:01,584 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 01:14:01,585 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:14:01,585 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 01:14:01,704 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:14:01,704 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 01:14:01,704 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:14:01,704 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 01:14:01,824 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 01:14:01,824 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower755: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 01:14:01,824 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 01:14:01,825 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=leader754, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 01:14:02,425 AM [test-pekko.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: At least 1 followers need to be active, Switching leader754 from Leader to IsolatedLeader 01:14:02,425 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Election: Leader has following peers: [follower755, follower756] 01:14:02,425 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Checking sendAppendEntries for follower follower755: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 01:14:02,425 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 01:14:02,425 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 01:14:02,435 AM [main] [INFO] IsolationScenarioTest - Forcing election on follower755 01:14:02,435 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 01:14:02,435 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Received TimeoutNow - switching to Candidate 01:14:02,435 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Election: Candidate has following voting peers: [leader754, follower756] 01:14:02,435 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=2, votedFor=follower755 01:14:02,435 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Starting new election term 2 01:14:02,435 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Sending RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] to peer leader754 01:14:02,435 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Sending RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] to peer follower756 01:14:02,435 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 01:14:02,435 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 01:14:02,435 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cluster state: [] 01:14:02,435 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 01:14:02,435 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 01:14:02,435 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=2, votedFor=null 01:14:02,436 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): In requestVote: RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 01:14:02,436 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=2, votedFor=follower755 01:14:02,436 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 01:14:02,436 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 01:14:02,436 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 01:14:02,436 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 01:14:02,436 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Election: Leader has following peers: [leader754, follower756] 01:14:02,436 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:02,436 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 01:14:02,437 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Last sync leader does not match current leader follower755, need to catch up to -1 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 [WARN] [10/29/2024 01:14:02.437] [test-pekko.actor.default-dispatcher-13] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2bb1e54 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:14:02,437 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging -1 entries behind leader follower755 and reached 0 (of expected -1) 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 1, nextIndex: 2 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): sendAppendEntries: 2 is present for follower follower756 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=follower755, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965]]] [WARN] [10/29/2024 01:14:02.437] [test-pekko.actor.default-dispatcher-18] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@14b778c6 01:14:02,437 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965]]] 01:14:02,437 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 01:14:02,437 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:14:02,437 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): sendAppendEntries: 2 is present for follower follower756 01:14:02,437 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:14:02,437 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 3 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower756, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 0 (of expected -1) 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 2, nextIndex: 3 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Setting last applied to 1 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 0 to 1 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 1 data one 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: one 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Setting last applied to 2 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 1 to 2 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 2 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Election: Leader has following peers: [leader754, follower756] 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 1 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 0 to 1 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 1 data one 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: one 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 2 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 1 to 2 01:14:02,438 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:14:02,438 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 01:14:02,439 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 01:14:02,439 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=2 01:14:02,439 AM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=2 01:14:02,485 AM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 01:14:02,485 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:14:02,485 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:14:02,485 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 01:14:02,485 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:14:02,485 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 01:14:02,485 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 01:14:02,485 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=follower755, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, isSendImmediate: true 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, isSendImmediate: true 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 01:14:02,486 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:14:02,486 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 01:14:02,487 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 01:14:02,487 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 01:14:02,487 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log two-new 01:14:02,487 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:14:02,487 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 4 01:14:02,487 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower756, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 3, nextIndex: 4 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 3 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 2 to 3 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 3 data two-new 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: two-new 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 4 is present for follower follower756 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=follower755, prevLogIndex=3, prevLogTerm=2, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:14:02,487 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=3 01:14:02,488 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, prevLogIndex=3, prevLogTerm=2, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 2 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log three-new 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log four-new 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 6 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 3 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower756, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 3 (of expected -1) 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 5 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 3 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 2 to 3 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 3 data two-new 01:14:02,488 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 5, nextIndex: 6 01:14:02,488 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 3 01:14:02,488 AM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: two-new 01:14:02,488 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 4 01:14:02,488 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 3 to 4 01:14:02,488 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 4 data three-new 01:14:02,489 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: three-new 01:14:02,489 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 5 01:14:02,489 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 4 to 5 01:14:02,489 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 5 data four-new 01:14:02,489 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: four-new 01:14:02,489 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:14:02,489 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=5 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=3 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 5 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 5 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 4 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 3 to 4 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 4 data three-new 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: three-new 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 5 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 4 to 5 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 5 data four-new 01:14:02,489 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: four-new 01:14:02,490 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=5 01:14:02,535 AM [main] [INFO] IsolationScenarioTest - Removing isolation 01:14:02,544 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cannot append entries because sender's term 1 is less than 2 01:14:02,544 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Cannot append entries because sender's term 1 is less than 2 01:14:02,544 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower756, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 01:14:02,544 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Set currentTerm=2, votedFor=null 01:14:02,544 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 01:14:02,554 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Last sync leader does not match current leader follower755, need to catch up to -1 01:14:02,554 AM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply: follower leader754 last log term 1 for index 4 conflicts with the leader's 2 - set the follower's next index to 3 01:14:02,554 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:14:02,554 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower leader754 01:14:02,554 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Sending AppendEntries to follower leader754: AppendEntries [leaderId=follower755, prevLogIndex=2, prevLogTerm=2, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] [WARN] [10/29/2024 01:14:02.554] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/leader754] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5d2e4061 01:14:02,554 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, prevLogIndex=2, prevLogTerm=2, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:14:02,555 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): The prevLogIndex 2 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 4, snapshotIndex: 1, snapshotTerm: 1 01:14:02,555 AM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=2, success=false, followerId=leader754, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:02,555 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 4 entries behind leader follower755 and reached 1 (of expected -1) [WARN] [10/29/2024 01:14:02.555] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/leader754] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@31942a82 01:14:02,555 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=2, success=false, followerId=leader754, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 01:14:02,555 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): follower leader754 last log term 1 conflicts with the leader's 2 - dec next index to 2 01:14:02,555 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: -1 01:14:02,555 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 2 is present for follower leader754 01:14:02,555 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Sending AppendEntries to follower leader754: AppendEntries [leaderId=follower755, prevLogIndex=1, prevLogTerm=1, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:14:02,555 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, prevLogIndex=1, prevLogTerm=1, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 01:14:02,555 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Number of entries to be appended = 4 01:14:02,555 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] is present: existingEntryTerm: 1 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log two-new 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log three-new 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log four-new 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Log size is now 4 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Commit index set to 5 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader754, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 2 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 1 to 2 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 3 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 2 to 3 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 3 data two-new 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: two-new 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 4 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 3 to 4 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 4 data three-new 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: three-new 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 5 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 4 to 5 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 5 data four-new 01:14:02,556 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: four-new 01:14:02,557 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader754 updated: matchIndex: 5, nextIndex: 6 01:14:02,557 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: fakeSnapshot purging log to 4 for term 2 01:14:02,557 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@30f74965] 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=5, lastAppliedTerm=2, lastIndex=5, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: lastSequenceNumber prior to capture: 14 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=5 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: CaptureSnapshotReply received by actor 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting of snapshot done: Snapshot [lastIndex=5, lastTerm=2, lastAppliedIndex=5, lastAppliedTerm=2, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two-new, three-new, four-new]], electionTerm=2, electionVotedFor=null, ServerConfigPayload=null] 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 01:14:02,558 AM [test-pekko.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 01:14:02,559 AM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 01:14:02,559 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Snapshot success - sequence number: 14 01:14:02,559 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SnapshotComplete received 01:14:02,559 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a snapshot response 01:14:02,559 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a journal response 01:14:02,675 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:02,675 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:02,675 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: fakeSnapshot purging log to 4 for term 2 01:14:02,794 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:02,794 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:02,914 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:02,914 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,34 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,34 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,154 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,154 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,274 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,274 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,394 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,394 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,514 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,514 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,634 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,634 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,755 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,755 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,875 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,875 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,994 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:03,994 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,115 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,115 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,234 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,234 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,354 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,354 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,464 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,464 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,584 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,584 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,705 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,705 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,824 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,824 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,944 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:04,944 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,64 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,64 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,184 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,184 AM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,304 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,304 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,424 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,424 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,545 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,545 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,664 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,665 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,785 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,785 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,904 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:05,905 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,24 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,24 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,144 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,144 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,264 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,264 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,384 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,384 AM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,504 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,505 AM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,625 AM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,625 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,745 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,745 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,864 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,864 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,985 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:06,985 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,104 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,105 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,224 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,224 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,345 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,345 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,464 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,464 AM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,584 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,584 AM [test-pekko.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 01:14:07,617 AM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 01:14:07,617 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower755-notifier757#1829734705] 01:14:07,618 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower755-collector758#-319876852] 01:14:07,618 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower755] 01:14:07,618 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower756-collector759#-662823386] 01:14:07,619 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower756] 01:14:07,619 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader754-notifier760#524372377] 01:14:07,619 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader754-collector761#643483780] 01:14:07,619 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader754] 01:14:07,620 AM [test-pekko.actor.default-dispatcher-11] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [10/29/2024 01:14:07.620] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [10/29/2024 01:14:07.621] [test-pekko.actor.default-dispatcher-16] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.219:17355) 01:14:07,622 AM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.219:17355] - Exiting completed [INFO] [10/29/2024 01:14:07.621] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.219:17355] - Exiting completed 01:14:07,622 AM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.219:17355] - Shutting down... 01:14:07,622 AM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.219:17355] - Successfully shut down [INFO] [10/29/2024 01:14:07.622] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.219:17355] - Shutting down... [INFO] [10/29/2024 01:14:07.622] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.219:17355] - Successfully shut down [INFO] [10/29/2024 01:14:07.623] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.219:17355/system/remoting-terminator] Shutting down remote daemon. [INFO] [10/29/2024 01:14:07.623] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.219:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 01:14:07,623 AM [test-pekko.actor.default-dispatcher-16] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 01:14:07,623 AM [test-pekko.actor.default-dispatcher-16] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [10/29/2024 01:14:07.625] [test-pekko.remote.default-remote-dispatcher-8] [pekko://test@10.30.170.219:17355/system/remoting-terminator] Remoting shut down. 01:14:07,625 AM [test-pekko.actor.default-dispatcher-7] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [10/29/2024 01:14:07.625] [test-pekko.actor.internal-dispatcher-5] [EventStream] shutting down: StandardOutLogger