[DEBUG] [08/01/2024 12:32:02.080] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 12:32:02,81 PM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [08/01/2024 12:32:02.081] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [08/01/2024 12:32:02.081] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [08/01/2024 12:32:02.094] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.103:17355] with UID [-126774975961715294] 12:32:02,95 PM [test-pekko.actor.default-dispatcher-6] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.103:17355] with UID [-126774975961715294] [INFO] [08/01/2024 12:32:02.096] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.103:17355] - Starting up, Pekko version [1.0.3] ... 12:32:02,96 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.103:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [08/01/2024 12:32:02.098] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.103:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 12:32:02,98 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.103:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [08/01/2024 12:32:02.098] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.103:17355] - Started up successfully 12:32:02,98 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.103:17355] - Started up successfully 12:32:02,99 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.103:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 12:32:02,99 PM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.103:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining [INFO] [08/01/2024 12:32:02.099] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.103:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [08/01/2024 12:32:02.099] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.103:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 12:32:02,107 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 12:32:02,107 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [08/01/2024 12:32:02.113] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower739]: org.opendaylight.controller.cluster.common.actor.Monitor@1d2da2ba [INFO] [pekkoDeadLetter][08/01/2024 12:32:02.113] [test-pekko.actor.default-dispatcher-5] [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'. 12:32:02,114 PM [test-pekko.actor.default-dispatcher-5] [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'. 12:32:02,116 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower739 with journal batch size 1000 12:32:02,117 PM [test-pekko.actor.default-dispatcher-6] [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'. [WARN] [08/01/2024 12:32:02.117] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower740]: org.opendaylight.controller.cluster.common.actor.Monitor@1f57b7d2 [INFO] [pekkoDeadLetter][08/01/2024 12:32:02.117] [test-pekko.actor.default-dispatcher-6] [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'. 12:32:02,118 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower740 with journal batch size 1000 12:32:02,119 PM [test-pekko.actor.default-dispatcher-5] [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 12:32:02,119 PM [test-pekko.actor.default-dispatcher-11] [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] [08/01/2024 12:32:02.123] [test-pekko.actor.default-dispatcher-11] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader738]: org.opendaylight.controller.cluster.common.actor.Monitor@5d54b6f9 [INFO] [pekkoDeadLetter][08/01/2024 12:32:02.123] [test-pekko.actor.default-dispatcher-5] [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'. 12:32:02,123 PM [test-pekko.actor.default-dispatcher-11] [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'. 12:32:02,124 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader738 with journal batch size 1000 12:32:02,127 PM [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 12:32:02,127 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:32:02,127 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Received TimeoutNow - switching to Candidate 12:32:02,127 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Election: Candidate has following voting peers: [follower739, follower740] 12:32:02,128 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=1, votedFor=leader738 12:32:02,128 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Starting new election term 1 12:32:02,128 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower739 12:32:02,128 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): Sending RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] to peer follower740 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:32:02,128 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [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 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=null 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): In requestVote: RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=1, votedFor=leader738 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:32:02,128 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:32:02,128 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Cluster state: [] 12:32:02,128 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:32:02,128 PM [test-pekko.actor.default-dispatcher-15] [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 12:32:02,128 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=null 12:32:02,128 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): In requestVote: RequestVote [term=1, candidateId=leader738, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:32:02,128 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:32:02,129 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Election: Leader has following peers: [follower739, follower740] 12:32:02,129 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:02,129 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:02,129 PM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:32:02,128 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=1, votedFor=leader738 12:32:02,129 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:32:02,129 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Last sync leader does not match current leader leader738, need to catch up to -1 12:32:02,129 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower739: Last sync leader does not match current leader leader738, need to catch up to -1 12:32:02,129 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: -1, nextIndex: 0 12:32:02,129 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:02,130 PM [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. [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'. [WARN] [08/01/2024 12:32:02.130] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/follower739] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6e934b89 [WARN] [08/01/2024 12:32:02.130] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/follower740] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@221d8256 [INFO] [pekkoDeadLetter][08/01/2024 12:32:02.129] [test-pekko.actor.default-dispatcher-6] [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'. [INFO] [pekkoDeadLetter][08/01/2024 12:32:02.130] [test-pekko.actor.default-dispatcher-6] [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'. 12:32:02,130 PM [test-pekko.actor.default-dispatcher-5] [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'. 12:32:02,130 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: -1, nextIndex: 0 12:32:02,130 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:02,183 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 12:32:02,183 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:02,183 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:02,183 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:32:02,184 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:02,184 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 0 is present for follower follower739 12:32:02,184 PM [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=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:32:02,184 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:02,184 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 0 is present for follower follower740 12:32:02,184 PM [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=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:32:02,184 PM [test-pekko.actor.default-dispatcher-16] [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]]] 12:32:02,184 PM [test-pekko.actor.default-dispatcher-11] [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]]] 12:32:02,184 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 12:32:02,184 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:32:02,184 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log zero 12:32:02,184 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:02,184 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 12:32:02,184 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 1 12:32:02,184 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:32:02,184 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log zero 12:32:02,184 PM [test-pekko.actor.default-dispatcher-16] [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] 12:32:02,184 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:02,184 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached -1 (of expected -1) 12:32:02,184 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 1 12:32:02,184 PM [test-pekko.actor.default-dispatcher-11] [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] 12:32:02,184 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached -1 (of expected -1) 12:32:02,184 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/01/2024 12:32:02.185] [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@6bbd02fd 12:32:02,185 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [INFO] [pekkoDeadLetter][08/01/2024 12:32:02.185] [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'. 12:32:02,185 PM [test-pekko.actor.default-dispatcher-5] [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'. [WARN] [08/01/2024 12:32:02.185] [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@26ef529 [INFO] [pekkoDeadLetter][08/01/2024 12:32:02.185] [test-pekko.actor.default-dispatcher-5] [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'. 12:32:02,185 PM [test-pekko.actor.default-dispatcher-17] [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'. 12:32:02,186 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 0, nextIndex: 1 12:32:02,186 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:02,186 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 0, nextIndex: 1 12:32:02,186 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:02,186 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:02,186 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:32:02,186 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 0 12:32:02,186 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from -1 to 0 12:32:02,186 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 0 data zero 12:32:02,187 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: zero 12:32:02,187 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=0 12:32:02,360 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 0 12:32:02,360 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Commit index set to 0 12:32:02,360 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 12:32:02,360 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 12:32:02,360 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:32:02,360 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:32:02,360 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 0 12:32:02,360 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from -1 to 0 12:32:02,360 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Setting last applied to 0 12:32:02,360 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from -1 to 0 12:32:02,360 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 0 data zero 12:32:02,360 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 0 data zero 12:32:02,361 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: zero 12:32:02,361 PM [test-pekko.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: zero 12:32:02,361 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=0 12:32:02,361 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=0 12:32:02,385 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:32:02,386 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:02,386 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 1 is present for follower follower739 12:32:02,386 PM [test-pekko.actor.default-dispatcher-5] [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]]] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:02,386 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 1 is present for follower follower740 12:32:02,386 PM [test-pekko.actor.default-dispatcher-5] [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]]] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-17] [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]]] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-18] [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]]] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Number of entries to be appended = 1 12:32:02,386 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:32:02,386 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 12:32:02,386 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Append entry to log one 12:32:02,386 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:32:02,386 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log one 12:32:02,386 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Log size is now 2 12:32:02,386 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 2 12:32:02,386 PM [test-pekko.actor.default-dispatcher-17] [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] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-18] [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] 12:32:02,386 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 12:32:02,386 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower739 updated: matchIndex: 1, nextIndex: 2 12:32:02,386 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:02,386 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 1, nextIndex: 2 12:32:02,386 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:02,387 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:02,387 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:32:02,387 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Setting last applied to 1 12:32:02,387 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 0 to 1 12:32:02,387 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 1 data one 12:32:02,387 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:02,387 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower739: Lagging 0 entries behind leader leader738 and reached 0 (of expected -1) 12:32:02,388 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:02,388 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: one 12:32:02,388 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: fakeSnapshot purging log to 0 for term 1 12:32:02,388 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=1 12:32:02,437 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 12:32:02,438 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 12:32:02,438 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:32:02,438 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:32:02,438 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:32:02,438 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower739: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:02,438 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 12:32:02,438 PM [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]]] 12:32:02,438 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:02,438 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 12:32:02,438 PM [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]]] 12:32:02,439 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:32:02,600 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 12:32:02,600 PM [test-pekko.actor.default-dispatcher-5] [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]]] 12:32:02,601 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 12:32:02,601 PM [test-pekko.actor.default-dispatcher-5] [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]]] 12:32:02,720 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower739 12:32:02,720 PM [test-pekko.actor.default-dispatcher-6] [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]]] 12:32:02,720 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader): sendAppendEntries: 2 is present for follower follower740 12:32:02,720 PM [test-pekko.actor.default-dispatcher-6] [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]]] 12:32:03,320 PM [test-pekko.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: At least 1 followers need to be active, Switching leader738 from Leader to IsolatedLeader 12:32:03,320 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Election: Leader has following peers: [follower740, follower739] 12:32:03,320 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:03,320 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader): Checking sendAppendEntries for follower follower739: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:03,320 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 12:32:03,348 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower739 12:32:03,348 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:32:03,348 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower): Received TimeoutNow - switching to Candidate 12:32:03,348 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Election: Candidate has following voting peers: [follower740, leader738] 12:32:03,348 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Set currentTerm=2, votedFor=follower739 12:32:03,348 PM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Starting new election term 2 12:32:03,348 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Sending RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] to peer follower740 12:32:03,348 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): Sending RequestVote [term=2, candidateId=follower739, lastLogIndex=1, lastLogTerm=1] to peer leader738 12:32:03,348 PM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:32:03,348 PM [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. 12:32:03,348 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cluster state: [] 12:32:03,348 PM [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. 12:32:03,349 PM [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 12:32:03,349 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=null 12:32:03,349 PM [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 12:32:03,349 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Set currentTerm=2, votedFor=follower739 12:32:03,349 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Election: Leader has following peers: [follower740, leader738] 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:03,349 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Last sync leader does not match current leader follower739, need to catch up to -1 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 1, nextIndex: 2 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [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 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): sendAppendEntries: 2 is present for follower follower740 12:32:03,349 PM [test-pekko.actor.default-dispatcher-16] [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@1e686da2]]] [WARN] [08/01/2024 12:32:03.350] [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@2246096c [INFO] [pekkoDeadLetter][08/01/2024 12:32:03.350] [test-pekko.actor.default-dispatcher-15] [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'. 12:32:03,350 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging -1 entries behind leader follower739 and reached 0 (of expected -1) 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [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'. 12:32:03,350 PM [test-pekko.actor.default-dispatcher-16] [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 12:32:03,350 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): sendAppendEntries: 2 is present for follower follower740 12:32:03,350 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:03,350 PM [test-pekko.actor.default-dispatcher-16] [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 12:32:03,350 PM [test-pekko.actor.default-dispatcher-17] [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@1e686da2]]] 12:32:03,350 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 12:32:03,350 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:32:03,350 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:03,350 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:03,350 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 3 12:32:03,350 PM [test-pekko.actor.default-dispatcher-17] [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] 12:32:03,350 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 0 (of expected -1) 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 2, nextIndex: 3 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [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 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Setting last applied to 1 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 0 to 1 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 1 data one 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: one 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Setting last applied to 2 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 1 to 2 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:03,350 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 12:32:03,351 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Election: Leader has following peers: [follower740, leader738] 12:32:03,351 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:03,351 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:03,351 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 12:32:03,351 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=2 12:32:03,351 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] [WARN] [08/01/2024 12:32:03.351] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower740] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@35d24ff5 12:32:03,351 PM [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. [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'. [INFO] [pekkoDeadLetter][08/01/2024 12:32:03.351] [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. [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'. 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 2 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 1 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 0 to 1 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 1 data one 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: one 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 2 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 1 to 2 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:03,351 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 12:32:03,352 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=2 12:32:03,400 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 12:32:03,400 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:03,400 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:03,400 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 12:32:03,400 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:32:03,401 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): sendAppendEntries: 3 is present for follower follower740 12:32:03,401 PM [test-pekko.actor.default-dispatcher-17] [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]]] 12:32:03,401 PM [test-pekko.actor.default-dispatcher-11] [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]]] 12:32:03,401 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Number of entries to be appended = 1 12:32:03,401 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:32:03,401 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Append entry to log two-new 12:32:03,401 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:03,401 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Log size is now 4 12:32:03,401 PM [test-pekko.actor.default-dispatcher-11] [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] 12:32:03,401 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 2 (of expected -1) 12:32:03,401 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:32:03,401 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower740 updated: matchIndex: 3, nextIndex: 4 12:32:03,401 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower follower740: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:32:03,401 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:03,402 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:03,402 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:32:03,402 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Setting last applied to 3 12:32:03,402 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Moving last applied index from 2 to 3 12:32:03,402 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Applying state for log index 3 data two-new 12:32:03,402 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: applyState called: two-new 12:32:03,402 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: Persisting ApplyJournalEntries with index=3 12:32:03,590 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Commit index set to 3 12:32:03,590 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:03,590 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 12:32:03,590 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Setting last applied to 3 12:32:03,590 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Moving last applied index from 2 to 3 12:32:03,590 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Applying state for log index 3 data two-new 12:32:03,590 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: applyState called: two-new 12:32:03,590 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: Persisting ApplyJournalEntries with index=3 12:32:03,602 PM [main] [INFO] IsolationScenarioTest - Removing isolation 12:32:03,680 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Cannot append entries because sender's term 1 is less than 2 12:32:03,680 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower740 (Follower): Cannot append entries because sender's term 1 is less than 2 12:32:03,680 PM [test-pekko.actor.default-dispatcher-18] [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 12:32:03,680 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Set currentTerm=2, votedFor=null 12:32:03,681 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 12:32:03,710 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Last sync leader does not match current leader follower739, need to catch up to -1 12:32:03,710 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) [WARN] [08/01/2024 12:32:03.711] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/leader738] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1e453669 [INFO] [pekkoDeadLetter][08/01/2024 12:32:03.711] [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'. 12:32:03,711 PM [test-pekko.actor.default-dispatcher-18] [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'. 12:32:03,711 PM [test-pekko.actor.default-dispatcher-17] [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 12:32:03,711 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:32:03,711 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): sendAppendEntries: 1 is present for follower leader738 12:32:03,711 PM [test-pekko.actor.default-dispatcher-17] [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@1e686da2], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 12:32:03,711 PM [test-pekko.actor.default-dispatcher-18] [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@1e686da2], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 12:32:03,711 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Number of entries to be appended = 3 12:32:03,711 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 12:32:03,711 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] is present: existingEntryTerm: 1 12:32:03,711 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 12:32:03,711 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 12:32:03,711 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Append entry to log two-new 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Log size is now 3 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Commit index set to 3 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [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] 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 12:32:03,712 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader738 updated: matchIndex: 3, nextIndex: 4 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Setting last applied to 2 12:32:03,712 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739: fakeSnapshot purging log to 2 for term 2 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 1 to 2 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:03,712 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower739 (Leader): Checking sendAppendEntries for follower leader738: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738 (Follower): Setting last applied to 3 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Moving last applied index from 2 to 3 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Applying state for log index 3 data two-new 12:32:03,712 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: applyState called: two-new 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [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] 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: lastSequenceNumber prior to capture: 10 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Persisting ApplyJournalEntries with index=3 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: CaptureSnapshotReply received by actor 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [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] 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 [WARN] [08/01/2024 12:32:03.713] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/leader738] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@479ce97f 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: Snapshot success - sequence number: 10 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: SnapshotComplete received 12:32:03,713 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a snapshot response 12:32:03,714 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: handled a journal response 12:32:03,831 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:03,831 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:03,831 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower740: fakeSnapshot purging log to 2 for term 2 12:32:03,831 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader738: fakeSnapshot purging log to 2 for term 2 12:32:03,950 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:03,950 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,70 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,70 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,190 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,190 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,310 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,310 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,430 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,430 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,550 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,551 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,670 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,670 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,790 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,790 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,911 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:04,911 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,30 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,30 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,150 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,150 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,270 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,270 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,390 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,390 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,501 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,501 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,620 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,620 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,740 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,740 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,860 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,860 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,980 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:05,980 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,90 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,91 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,210 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,210 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,330 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,330 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,450 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,450 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,570 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,570 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,690 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,690 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,800 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,800 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,920 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:06,920 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,40 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,40 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,150 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,150 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,271 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,271 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,391 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,391 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,510 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,510 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,630 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,630 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,750 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,750 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,870 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,870 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,998 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:07,998 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,142 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,142 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,250 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,250 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,370 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,370 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,490 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,490 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,610 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,610 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,730 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,730 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,850 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader738: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,850 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower740: Lagging 0 entries behind leader follower739 and reached 3 (of expected -1) 12:32:08,857 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 12:32:08,857 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower739-notifier741#-782930886] 12:32:08,869 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower739-collector742#-1882880948] 12:32:08,869 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower739] 12:32:08,869 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower740-collector743#814005253] 12:32:08,870 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower740] 12:32:08,870 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader738-notifier744#-2053250490] 12:32:08,870 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader738-collector745#-920354615] 12:32:08,870 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader738] 12:32:08,871 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 12:32:08,871 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [08/01/2024 12:32:08.873] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower747]: org.opendaylight.controller.cluster.common.actor.Monitor@13774a1e 12:32:08,874 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower747 with journal batch size 1000 12:32:08,875 PM [test-pekko.actor.default-dispatcher-15] [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] [08/01/2024 12:32:08.876] [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@286973d0 12:32:08,876 PM [test-pekko.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower748 with journal batch size 1000 12:32:08,877 PM [test-pekko.actor.default-dispatcher-16] [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] [08/01/2024 12:32:08.879] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader746]: org.opendaylight.controller.cluster.common.actor.Monitor@4b8ce8f1 12:32:08,879 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader746 with journal batch size 1000 12:32:08,880 PM [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 12:32:08,881 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:32:08,881 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Received TimeoutNow - switching to Candidate 12:32:08,881 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Election: Candidate has following voting peers: [follower748, follower747] 12:32:08,881 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Set currentTerm=1, votedFor=leader746 12:32:08,881 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Starting new election term 1 12:32:08,881 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Sending RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] to peer follower748 12:32:08,881 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): Sending RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] to peer follower747 12:32:08,881 PM [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. 12:32:08,881 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:32:08,881 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Cluster state: [] 12:32:08,881 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:32:08,881 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cluster state: [] 12:32:08,881 PM [test-pekko.actor.default-dispatcher-6] [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 12:32:08,881 PM [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. 12:32:08,881 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=1, votedFor=null 12:32:08,881 PM [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 12:32:08,881 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=null 12:32:08,881 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): In requestVote: RequestVote [term=1, candidateId=leader746, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:32:08,881 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=1, votedFor=leader746 12:32:08,881 PM [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 12:32:08,881 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=1, votedFor=leader746 12:32:08,881 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:32:08,881 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:32:08,882 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:32:08,882 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:32:08,882 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:32:08,882 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Election: Leader has following peers: [follower748, follower747] 12:32:08,882 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:08,882 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:08,882 PM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:32:08,883 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower748: Last sync leader does not match current leader leader746, need to catch up to -1 12:32:08,883 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower747: Last sync leader does not match current leader leader746, need to catch up to -1 [WARN] [08/01/2024 12:32:08.883] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@10dd3944 [WARN] [08/01/2024 12:32:08.883] [test-pekko.actor.default-dispatcher-16] [pekko://test/user/follower747] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@337476e6 12:32:08,883 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: -1, nextIndex: 0 12:32:08,883 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:08,883 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: -1, nextIndex: 0 12:32:08,883 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:08,883 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 12:32:08,883 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:08,883 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:08,883 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower748 12:32:08,884 PM [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=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower747 12:32:08,884 PM [test-pekko.actor.default-dispatcher-18] [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]]] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:32:08,884 PM [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=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log zero 12:32:08,884 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Number of entries to be appended = 1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Append entry to log zero 12:32:08,884 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:32:08,884 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Log size is now 1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-12] [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] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower748 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 0 is present for follower follower747 12:32:08,884 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-18] [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] 12:32:08,884 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: 0, nextIndex: 1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:08,884 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 1 is present for follower follower747 12:32:08,885 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [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]]] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 0, nextIndex: 1 12:32:08,885 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Number of entries to be appended = 1 12:32:08,885 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:32:08,885 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Append entry to log one 12:32:08,885 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [08/01/2024 12:32:08.885] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower747] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5976031a 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 1 is present for follower follower748 12:32:08,885 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Log size is now 2 12:32:08,885 PM [test-pekko.actor.default-dispatcher-12] [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] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [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]]] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower747 updated: matchIndex: 1, nextIndex: 2 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Setting last applied to 0 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from -1 to 0 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 0 data zero 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [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]]] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log one 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: zero 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 2 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [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] 12:32:08,885 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached -1 (of expected -1) 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=0 12:32:08,886 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 1, nextIndex: 2 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [08/01/2024 12:32:08.886] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6b454229 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 0 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached 0 (of expected -1) 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 0 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from -1 to 0 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 0 data zero 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Setting last applied to 1 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from 0 to 1 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 1 data one 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: zero 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: one 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: fakeSnapshot purging log to 0 for term 1 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=0 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 1 12:32:08,886 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=1 12:32:08,886 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached 1 (of expected -1) 12:32:08,887 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:32:08,887 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 1 12:32:08,887 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 0 to 1 12:32:08,887 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 1 data one 12:32:08,887 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: one 12:32:08,887 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: fakeSnapshot purging log to 0 for term 1 12:32:08,887 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=1 12:32:09,0 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Commit index set to 1 12:32:09,0 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower747: Lagging 0 entries behind leader leader746 and reached 1 (of expected -1) 12:32:09,0 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 1 12:32:09,0 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Setting last applied to 0 12:32:09,0 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from -1 to 0 12:32:09,0 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 0 data zero 12:32:09,0 PM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: zero 12:32:09,1 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Setting last applied to 1 12:32:09,1 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from 0 to 1 12:32:09,1 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 1 data one 12:32:09,1 PM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: one 12:32:09,1 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: fakeSnapshot purging log to 0 for term 1 12:32:09,1 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=1 12:32:09,1 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader leader746 and reached 1 (of expected -1) 12:32:09,34 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 12:32:09,34 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 12:32:09,34 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:32:09,34 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:32:09,35 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:32:09,35 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:09,35 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 12:32:09,35 PM [test-pekko.actor.default-dispatcher-15] [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]]] 12:32:09,35 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): Checking sendAppendEntries for follower follower747: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:09,35 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 12:32:09,35 PM [test-pekko.actor.default-dispatcher-15] [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]]] 12:32:09,35 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:32:09,119 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 12:32:09,119 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 12:32:09,239 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 12:32:09,239 PM [test-pekko.actor.default-dispatcher-18] [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]]] 12:32:09,239 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 12:32:09,239 PM [test-pekko.actor.default-dispatcher-18] [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]]] 12:32:09,360 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower748 12:32:09,360 PM [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]]] 12:32:09,360 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader): sendAppendEntries: 2 is present for follower follower747 12:32:09,360 PM [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]]] 12:32:09,480 PM [test-pekko.actor.default-dispatcher-15] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: At least 1 followers need to be active, Switching leader746 from Leader to IsolatedLeader 12:32:09,480 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Election: Leader has following peers: [follower748, follower747] 12:32:09,481 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:09,481 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Checking sendAppendEntries for follower follower747: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:09,481 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 12:32:09,487 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower747 12:32:09,488 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:32:09,488 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower): Received TimeoutNow - switching to Candidate 12:32:09,488 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Election: Candidate has following voting peers: [follower748, leader746] 12:32:09,488 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Set currentTerm=2, votedFor=follower747 12:32:09,488 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Starting new election term 2 12:32:09,488 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Sending RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] to peer follower748 12:32:09,488 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): Sending RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] to peer leader746 12:32:09,488 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:32:09,488 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:32:09,488 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cluster state: [] 12:32:09,488 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 12:32:09,488 PM [test-pekko.actor.default-dispatcher-15] [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 12:32:09,488 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=2, votedFor=null 12:32:09,488 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): In requestVote: RequestVote [term=2, candidateId=follower747, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 12:32:09,488 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Set currentTerm=2, votedFor=follower747 12:32:09,488 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:32:09,490 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:32:09,490 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:32:09,490 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Election: Leader has following peers: [follower748, leader746] 12:32:09,490 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:32:09,490 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:32:09,490 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:32:09,490 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 1, nextIndex: 2 12:32:09,490 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower748: Last sync leader does not match current leader follower747, need to catch up to -1 12:32:09,490 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:32:09,490 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 1 (of expected -1) [WARN] [08/01/2024 12:32:09.490] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5e3f88a3 [WARN] [08/01/2024 12:32:09.490] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/follower748] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@56a3d286 12:32:09,538 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 12:32:09,538 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:32:09,538 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:32:09,538 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, isSendImmediate: true 12:32:09,538 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:09,538 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): sendAppendEntries: 2 is present for follower follower748 12:32:09,538 PM [test-pekko.actor.default-dispatcher-15] [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]]] 12:32:09,538 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:09,539 PM [test-pekko.actor.default-dispatcher-18] [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]]] 12:32:09,539 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Number of entries to be appended = 1 12:32:09,539 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:32:09,539 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Append entry to log two-new 12:32:09,539 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:32:09,539 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Log size is now 2 12:32:09,539 PM [test-pekko.actor.default-dispatcher-18] [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] 12:32:09,539 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 1 (of expected -1) 12:32:09,539 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower748 updated: matchIndex: 2, nextIndex: 3 12:32:09,539 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower follower748: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:09,539 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:32:09,539 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:32:09,539 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:32:09,539 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Setting last applied to 2 12:32:09,539 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Moving last applied index from 1 to 2 12:32:09,539 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Applying state for log index 2 data two-new 12:32:09,540 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: applyState called: two-new 12:32:09,540 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: Persisting ApplyJournalEntries with index=2 12:32:09,730 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Commit index set to 2 12:32:09,730 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 12:32:09,730 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:32:09,731 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Setting last applied to 2 12:32:09,731 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Moving last applied index from 1 to 2 12:32:09,731 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Applying state for log index 2 data two-new 12:32:09,731 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: applyState called: two-new 12:32:09,731 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower748: Persisting ApplyJournalEntries with index=2 12:32:09,740 PM [main] [INFO] IsolationScenarioTest - Removing isolation 12:32:09,840 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower748 (Follower): Cannot append entries because sender's term 1 is less than 2 12:32:09,840 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Cannot append entries because sender's term 1 is less than 2 12:32:09,840 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower748, 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 12:32:09,840 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Set currentTerm=2, votedFor=null 12:32:09,840 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 12:32:09,850 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower748: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 12:32:09,850 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - leader746: Last sync leader does not match current leader follower747, need to catch up to -1 12:32:09,850 PM [test-pekko.actor.default-dispatcher-18] [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 12:32:09,850 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:09,850 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): sendAppendEntries: 1 is present for follower leader746 12:32:09,850 PM [test-pekko.actor.default-dispatcher-18] [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] [08/01/2024 12:32:09.850] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/leader746] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7511dbf4 12:32:09,850 PM [test-pekko.actor.default-dispatcher-11] [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]]] 12:32:09,850 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Number of entries to be appended = 2 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] is present: existingEntryTerm: 1 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Append entry to log two-new 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Log size is now 2 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Commit index set to 2 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [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] 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader746: Lagging 0 entries behind leader follower747 and reached 2 (of expected -1) 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746 (Follower): Setting last applied to 2 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Moving last applied index from 1 to 2 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Applying state for log index 2 data two-new 12:32:09,851 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader746 updated: matchIndex: 2, nextIndex: 3 12:32:09,851 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747: fakeSnapshot purging log to 1 for term 2 12:32:09,851 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: applyState called: two-new 12:32:09,851 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower747 (Leader): Checking sendAppendEntries for follower leader746: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:32:09,852 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 12:32:09,852 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader746: Persisting ApplyJournalEntries with index=2 [WARN] [08/01/2024 12:32:09.852] [test-pekko.actor.default-dispatcher-15] [pekko://test/user/leader746] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3dee0032 12:32:09,891 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 12:32:09,891 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower747-notifier749#-2042127138] 12:32:09,902 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower747-collector750#2060113958] 12:32:09,902 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower747] 12:32:09,903 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower748-collector751#241598981] 12:32:09,903 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower748] 12:32:09,903 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader746-notifier752#780454558] 12:32:09,904 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader746-collector753#1247024102] 12:32:09,904 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader746] 12:32:09,905 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 12:32:09,905 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [08/01/2024 12:32:09.906] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower755]: org.opendaylight.controller.cluster.common.actor.Monitor@202af8b6 12:32:09,907 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower755 with journal batch size 1000 12:32:09,908 PM [test-pekko.actor.default-dispatcher-6] [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] [08/01/2024 12:32:09.908] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/follower756]: org.opendaylight.controller.cluster.common.actor.Monitor@4598dd3b 12:32:09,908 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower756 with journal batch size 1000 12:32:09,909 PM [test-pekko.actor.default-dispatcher-6] [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] [08/01/2024 12:32:10.010] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/termination-monitor] received dead letter from TestActor[pekko://test/user/leader754]: org.opendaylight.controller.cluster.common.actor.Monitor@211e85f9 12:32:10,11 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader754 with journal batch size 1000 12:32:10,12 PM [test-pekko.actor.default-dispatcher-17] [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 12:32:10,12 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:32:10,12 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Received TimeoutNow - switching to Candidate 12:32:10,12 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Election: Candidate has following voting peers: [follower755, follower756] 12:32:10,12 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Set currentTerm=1, votedFor=leader754 12:32:10,12 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Starting new election term 1 12:32:10,12 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Sending RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] to peer follower755 12:32:10,13 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): Sending RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] to peer follower756 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:32:10,13 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Cluster state: [] 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [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 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=1, votedFor=null 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): In requestVote: RequestVote [term=1, candidateId=leader754, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=1, votedFor=leader754 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:32:10,13 PM [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. 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cluster state: [] 12:32:10,13 PM [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. 12:32:10,13 PM [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 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=null 12:32:10,13 PM [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 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=1, votedFor=leader754 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Election: Leader has following peers: [follower755, follower756] 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:32:10,13 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower755: Last sync leader does not match current leader leader754, need to catch up to -1 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: -1, nextIndex: 0 12:32:10,13 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Last sync leader does not match current leader leader754, need to catch up to -1 12:32:10,13 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:32:10,14 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: -1, nextIndex: 0 12:32:10,14 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [08/01/2024 12:32:10.014] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower755] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@43c895dc [WARN] [08/01/2024 12:32:10.014] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@683b3b44 12:32:10,14 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 0 is present for follower follower755 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 0 is present for follower follower756 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,14 PM [test-pekko.actor.default-dispatcher-15] [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]]] 12:32:10,14 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Number of entries to be appended = 1 12:32:10,14 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:32:10,14 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Append entry to log zero 12:32:10,14 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,14 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Log size is now 1 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log zero 12:32:10,14 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:10,14 PM [test-pekko.actor.default-dispatcher-15] [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] 12:32:10,15 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached -1 (of expected -1) 12:32:10,15 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 1 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: 0, nextIndex: 1 12:32:10,15 PM [test-pekko.actor.default-dispatcher-12] [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] 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:10,15 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached -1 (of expected -1) 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 0, nextIndex: 1 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Setting last applied to 0 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from -1 to 0 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 0 data zero 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: zero 12:32:10,15 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=0 12:32:10,15 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/01/2024 12:32:10.015] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/follower755] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@53c4e904 12:32:10,15 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [08/01/2024 12:32:10.015] [test-pekko.actor.default-dispatcher-6] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@a2eea01 12:32:10,130 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Commit index set to 0 12:32:10,130 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 0 12:32:10,130 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 12:32:10,130 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 12:32:10,130 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:32:10,130 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 12:32:10,130 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Setting last applied to 0 12:32:10,130 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 0 12:32:10,130 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from -1 to 0 12:32:10,130 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from -1 to 0 12:32:10,130 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 0 data zero 12:32:10,130 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 0 data zero 12:32:10,130 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: zero 12:32:10,130 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: zero 12:32:10,130 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=0 12:32:10,130 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=0 12:32:10,172 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:10,172 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 1 is present for follower follower755 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [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]]] 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 1 is present for follower follower756 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [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]]] 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [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]]] 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log one 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 2 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [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] 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 1, nextIndex: 2 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Setting last applied to 1 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 0 to 1 12:32:10,173 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 1 data one 12:32:10,174 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: one 12:32:10,174 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: fakeSnapshot purging log to 0 for term 1 12:32:10,174 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:10,174 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=1 12:32:10,174 PM [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]]] 12:32:10,174 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Number of entries to be appended = 1 12:32:10,174 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:32:10,174 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Append entry to log one 12:32:10,174 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:10,174 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Log size is now 2 12:32:10,174 PM [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] 12:32:10,174 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower755 updated: matchIndex: 1, nextIndex: 2 12:32:10,174 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 12:32:10,174 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower755: Lagging 0 entries behind leader leader754 and reached 0 (of expected -1) 12:32:10,175 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:32:10,223 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 12:32:10,224 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 12:32:10,224 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:32:10,224 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:32:10,224 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:32:10,224 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:10,224 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:32:10,224 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,224 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:32:10,224 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:32:10,224 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,225 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower755: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:32:10,225 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:32:10,226 PM [test-pekko.actor.default-dispatcher-12] [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] 12:32:10,226 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: lastSequenceNumber prior to capture: 7 12:32:10,226 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: CaptureSnapshotReply received by actor 12:32:10,226 PM [test-pekko.actor.default-dispatcher-12] [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] 12:32:10,226 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 12:32:10,226 PM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 12:32:10,226 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:32:10,226 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Snapshot success - sequence number: 7 12:32:10,226 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SnapshotComplete received 12:32:10,226 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:32:10,226 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a snapshot response 12:32:10,226 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a journal response 12:32:10,370 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:32:10,370 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,370 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:32:10,370 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,490 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower755 12:32:10,490 PM [test-pekko.actor.default-dispatcher-18] [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]]] 12:32:10,490 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader): sendAppendEntries: 2 is present for follower follower756 12:32:10,490 PM [test-pekko.actor.default-dispatcher-18] [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]]] 12:32:10,610 PM [test-pekko.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: At least 1 followers need to be active, Switching leader754 from Leader to IsolatedLeader 12:32:10,611 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Election: Leader has following peers: [follower755, follower756] 12:32:10,611 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Checking sendAppendEntries for follower follower755: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:32:10,611 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:32:10,611 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 12:32:10,628 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower755 12:32:10,628 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:32:10,628 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower): Received TimeoutNow - switching to Candidate 12:32:10,628 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Election: Candidate has following voting peers: [leader754, follower756] 12:32:10,628 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Set currentTerm=2, votedFor=follower755 12:32:10,628 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Starting new election term 2 12:32:10,629 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Sending RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] to peer leader754 12:32:10,629 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): Sending RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] to peer follower756 12:32:10,629 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:32:10,629 PM [test-pekko.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:32:10,629 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Cluster state: [] 12:32:10,629 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 12:32:10,629 PM [test-pekko.actor.default-dispatcher-6] [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 12:32:10,629 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=2, votedFor=null 12:32:10,629 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): In requestVote: RequestVote [term=2, candidateId=follower755, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 12:32:10,629 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Set currentTerm=2, votedFor=follower755 12:32:10,629 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 12:32:10,630 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 12:32:10,630 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 12:32:10,630 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 12:32:10,630 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Election: Leader has following peers: [leader754, follower756] 12:32:10,630 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:10,630 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:32:10,630 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 12:32:10,630 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Last sync leader does not match current leader follower755, need to catch up to -1 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] [WARN] [08/01/2024 12:32:10.631] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@491fdd4b 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:10,631 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging -1 entries behind leader follower755 and reached 0 (of expected -1) 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 1, nextIndex: 2 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [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 [WARN] [08/01/2024 12:32:10.631] [test-pekko.actor.default-dispatcher-12] [pekko://test/user/follower756] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@66bfae22 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): sendAppendEntries: 2 is present for follower follower756 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [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@1e686da2]]] 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [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 12:32:10,631 PM [test-pekko.actor.default-dispatcher-6] [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@1e686da2]]] 12:32:10,631 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): sendAppendEntries: 2 is present for follower follower756 12:32:10,631 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:32:10,631 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:10,631 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:10,631 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 3 12:32:10,631 PM [test-pekko.actor.default-dispatcher-11] [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 12:32:10,631 PM [test-pekko.actor.default-dispatcher-6] [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] 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 0 (of expected -1) 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 2, nextIndex: 3 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [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 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Setting last applied to 1 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 0 to 1 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 1 data one 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: one 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Setting last applied to 2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 1 to 2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 1 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 0 to 1 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Election: Leader has following peers: [leader754, follower756] 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 1 data one 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: one 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 1 to 2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 12:32:10,632 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=2 12:32:10,632 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=2 12:32:10,679 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower follower756 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log two-new 12:32:10,679 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 4 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [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] 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 2 (of expected -1) 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 3, nextIndex: 4 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 3 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 2 to 3 12:32:10,680 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 3 data two-new 12:32:10,680 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: two-new 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=3 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, isSendImmediate: true 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 4 is present for follower follower756 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [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]]] 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:32:10,681 PM [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]]] 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, isSendImmediate: true 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log three-new 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 4 is present for follower follower756 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 5 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 3 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower756, logLastIndex=4, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 3 (of expected -1) 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 4 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 4, nextIndex: 5 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 3 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 2 to 3 12:32:10,681 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 3 data two-new 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 5, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 5 is present for follower follower756 12:32:10,681 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Sending AppendEntries to follower follower756: AppendEntries [leaderId=follower755, prevLogIndex=4, prevLogTerm=2, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 12:32:10,682 PM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: two-new 12:32:10,682 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:32:10,682 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 3 12:32:10,682 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 4 12:32:10,682 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 3 to 4 12:32:10,682 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 4 data three-new 12:32:10,682 PM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: three-new 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=4 12:32:10,683 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:32:10,683 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): handleAppendEntries: AppendEntries [leaderId=follower755, prevLogIndex=4, prevLogTerm=2, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 12:32:10,683 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Number of entries to be appended = 1 12:32:10,683 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): After cleanup, lastIndex: 4, entries to be added from: 0 12:32:10,683 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Append entry to log four-new 12:32:10,683 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:32:10,683 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Log size is now 6 12:32:10,683 PM [test-pekko.actor.default-dispatcher-15] [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] 12:32:10,683 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 3 (of expected -1) 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower756 updated: matchIndex: 5, nextIndex: 6 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 4 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Setting last applied to 5 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Moving last applied index from 4 to 5 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Applying state for log index 5 data four-new 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: applyState called: four-new 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower follower756: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:32:10,683 PM [test-pekko.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: Persisting ApplyJournalEntries with index=5 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=3 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Commit index set to 5 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 5 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 4 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 3 to 4 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 4 data three-new 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: three-new 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756 (Follower): Setting last applied to 5 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Moving last applied index from 4 to 5 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Applying state for log index 5 data four-new 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: applyState called: four-new 12:32:10,684 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: Persisting ApplyJournalEntries with index=5 12:32:10,731 PM [main] [INFO] IsolationScenarioTest - Removing isolation 12:32:10,750 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader): Term 2 in "AppendEntries [leaderId=follower755, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than leader's term 1 - switching to Follower 12:32:10,750 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Set currentTerm=2, votedFor=null 12:32:10,751 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 12:32:10,870 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Last sync leader does not match current leader follower755, need to catch up to -1 12:32:10,870 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:10,870 PM [test-pekko.actor.default-dispatcher-17] [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 12:32:10,870 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:32:10,870 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 3 is present for follower leader754 12:32:10,870 PM [test-pekko.actor.default-dispatcher-17] [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] [08/01/2024 12:32:10.870] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/leader754] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7c7d796a 12:32:10,870 PM [test-pekko.actor.default-dispatcher-17] [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]]] 12:32:10,871 PM [test-pekko.actor.default-dispatcher-17] [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 12:32:10,871 PM [test-pekko.actor.default-dispatcher-17] [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] 12:32:10,871 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Lagging 4 entries behind leader follower755 and reached 1 (of expected -1) 12:32:10,871 PM [test-pekko.actor.default-dispatcher-17] [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 12:32:10,871 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): follower leader754 last log term 1 conflicts with the leader's 2 - dec next index to 2 12:32:10,871 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: -1 12:32:10,871 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): sendAppendEntries: 2 is present for follower leader754 12:32:10,871 PM [test-pekko.actor.default-dispatcher-17] [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@1e686da2], 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] [08/01/2024 12:32:10.871] [test-pekko.actor.default-dispatcher-17] [pekko://test/user/leader754] unhandled message from Actor[pekko://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4d2d9cba 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [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@1e686da2], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Number of entries to be appended = 4 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] is present: existingEntryTerm: 1 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log two-new 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log three-new 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Append entry to log four-new 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Log size is now 4 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Commit index set to 5 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [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] 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 2 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 1 to 2 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 3 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 2 to 3 12:32:10,872 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader754 updated: matchIndex: 5, nextIndex: 6 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 3 data two-new 12:32:10,872 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755: fakeSnapshot purging log to 4 for term 2 12:32:10,872 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower755 (Leader): Checking sendAppendEntries for follower leader754: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: two-new 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 4 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 3 to 4 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 4 data three-new 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: three-new 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754 (Follower): Setting last applied to 5 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Moving last applied index from 4 to 5 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Applying state for log index 5 data four-new 12:32:10,872 PM [test-pekko.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: applyState called: four-new 12:32:10,873 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@1e686da2] 12:32:10,873 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 12:32:10,873 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 12:32:10,873 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 12:32:10,873 PM [test-pekko.actor.default-dispatcher-15] [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] 12:32:10,873 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: lastSequenceNumber prior to capture: 14 12:32:10,873 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Persisting ApplyJournalEntries with index=5 12:32:10,873 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: CaptureSnapshotReply received by actor 12:32:10,873 PM [test-pekko.actor.default-dispatcher-15] [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] 12:32:10,874 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 12:32:10,874 PM [test-pekko.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 12:32:10,874 PM [test-pekko.actor.default-dispatcher-12] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 12:32:10,874 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: Snapshot success - sequence number: 14 12:32:10,874 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: SnapshotComplete received 12:32:10,874 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a snapshot response 12:32:10,874 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader754: handled a journal response 12:32:10,990 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:10,990 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:10,990 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower756: fakeSnapshot purging log to 4 for term 2 12:32:11,110 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,110 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,230 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,230 PM [test-pekko.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,350 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,350 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,470 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,470 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,590 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,590 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,710 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,710 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,820 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,820 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,941 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:11,941 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,60 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,60 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,180 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,180 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,304 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,304 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,420 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,420 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,542 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,542 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,660 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,660 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,780 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,780 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,901 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:12,901 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,20 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,20 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,140 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,140 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,261 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,261 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,380 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,380 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,500 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,500 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,620 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,620 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,740 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,740 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,860 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,860 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,980 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:13,980 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,90 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,90 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,210 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,210 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,320 PM [test-pekko.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,320 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,440 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,440 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,560 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,560 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,686 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,686 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,800 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,800 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,921 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:14,921 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,40 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,40 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,150 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,150 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,270 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,270 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,390 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,390 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,500 PM [test-pekko.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,500 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,610 PM [test-pekko.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,610 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,730 PM [test-pekko.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,730 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,850 PM [test-pekko.actor.default-dispatcher-12] [DEBUG] SyncStatusTracker - leader754: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,851 PM [test-pekko.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower756: Lagging 0 entries behind leader follower755 and reached 5 (of expected -1) 12:32:15,945 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 12:32:15,945 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower755-notifier757#-772100641] 12:32:15,956 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower755-collector758#326088724] 12:32:15,956 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower755] 12:32:15,956 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower756-collector759#1833814992] 12:32:15,956 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/follower756] 12:32:15,956 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader754-notifier760#865675863] 12:32:15,957 PM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader754-collector761#1130560014] 12:32:15,957 PM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader754] 12:32:15,958 PM [test-pekko.actor.default-dispatcher-11] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [08/01/2024 12:32:15.958] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [08/01/2024 12:32:15.959] [test-pekko.actor.default-dispatcher-17] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.103:17355) [INFO] [08/01/2024 12:32:15.959] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.103:17355] - Exiting completed [INFO] [08/01/2024 12:32:15.959] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.103:17355] - Shutting down... 12:32:15,959 PM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.103:17355] - Exiting completed 12:32:15,959 PM [test-pekko.actor.default-dispatcher-11] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.103:17355] - Shutting down... 12:32:15,959 PM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.103:17355] - Successfully shut down [INFO] [08/01/2024 12:32:15.959] [test-pekko.actor.internal-dispatcher-4] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.103:17355] - Successfully shut down [INFO] [08/01/2024 12:32:15.961] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.103:17355/system/remoting-terminator] Shutting down remote daemon. 12:32:15,961 PM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 12:32:15,961 PM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [08/01/2024 12:32:15.961] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.103:17355/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. [INFO] [08/01/2024 12:32:15.963] [test-pekko.remote.default-remote-dispatcher-7] [pekko://test@10.30.170.103:17355/system/remoting-terminator] Remoting shut down. 12:32:15,963 PM [test-pekko.actor.default-dispatcher-11] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [DEBUG] [08/01/2024 12:32:15.963] [test-pekko.actor.internal-dispatcher-10] [EventStream] shutting down: StandardOutLogger