[DEBUG] [01/21/2025 00:43:36.441] [main] [EventStream(akka://test)] logger log1-TestEventListener started 12:43:36,441 AM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [01/21/2025 00:43:36.441] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [01/21/2025 00:43:36.442] [main] [EventStream(akka://test)] Default Loggers started [INFO] [01/21/2025 00:43:36.453] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.224:25520] with UID [-2355115937625408185] [INFO] [01/21/2025 00:43:36.454] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Starting up, Akka version [2.6.21] ... 12:43:36,454 AM [test-akka.actor.default-dispatcher-7] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.171.224:25520] with UID [-2355115937625408185] 12:43:36,454 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Starting up, Akka version [2.6.21] ... [INFO] [01/21/2025 00:43:36.455] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Registered cluster JMX MBean [akka:type=Cluster] 12:43:36,457 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [01/21/2025 00:43:36.457] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Started up successfully 12:43:36,457 AM [test-akka.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Started up successfully [INFO] [01/21/2025 00:43:36.458] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [01/21/2025 00:43:36.458] [test-akka.actor.internal-dispatcher-3] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 12:43:36,458 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 12:43:36,458 AM [test-akka.actor.default-dispatcher-7] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining [WARN] [01/21/2025 00:43:36.468] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower519]: org.opendaylight.controller.cluster.common.actor.Monitor@47e7dbc5 [INFO] [akkaDeadLetter][01/21/2025 00:43:36.468] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower519] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,468 AM [test-akka.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower519] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,469 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower519 with journal batch size 1000 [WARN] [01/21/2025 00:43:36.470] [test-akka.actor.default-dispatcher-6] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader518]: org.opendaylight.controller.cluster.common.actor.Monitor@d39dbc7 [INFO] [akkaDeadLetter][01/21/2025 00:43:36.471] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader518] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,471 AM [test-akka.actor.default-dispatcher-7] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader518] to Actor[akka://test/user/termination-monitor] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,472 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader518 with journal batch size 1000 12:43:36,473 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:36,473 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:36,893 AM [test-akka.actor.default-dispatcher-14] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:36,894 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.224:25520, Removed) 12:43:36,894 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower): Received ElectionTimeout - switching to Candidate 12:43:36,894 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Election: Candidate has following voting peers: [follower519, follower520] 12:43:36,894 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Set currentTerm=1, votedFor=leader518 12:43:36,894 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Starting new election term 1 12:43:36,894 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Sending RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] to peer follower519 12:43:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:36,894 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Sending RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] to peer follower520 12:43:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Cluster state: [] 12:43:36,895 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:43:36,894 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:36,895 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:43:36,895 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Set currentTerm=1, votedFor=null 12:43:36,895 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): In requestVote: RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:36,895 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Set currentTerm=1, votedFor=leader518 12:43:36,895 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [01/21/2025 00:43:36.895] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: RequestVote [term=1, candidateId=leader518, lastLogIndex=-1, lastLogTerm=-1] [INFO] [akkaDeadLetter][01/21/2025 00:43:36.895] [test-akka.actor.default-dispatcher-6] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,896 AM [test-akka.actor.default-dispatcher-5] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.RequestVote] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [3] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,897 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:43:36,897 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:43:36,897 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Election: Leader has following peers: [follower519, follower520] 12:43:36,897 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:36,897 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:36,897 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 12:43:36,897 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower519: Last sync leader does not match current leader leader518, need to catch up to -1 [WARN] [01/21/2025 00:43:36.897] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:36,898 AM [test-akka.actor.default-dispatcher-5] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [INFO] [akkaDeadLetter][01/21/2025 00:43:36.897] [test-akka.actor.default-dispatcher-5] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [4] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [01/21/2025 00:43:36.898] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower519] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@22ed5c59 [INFO] [akkaDeadLetter][01/21/2025 00:43:36.898] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower519] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower519] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,898 AM [test-akka.actor.default-dispatcher-5] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower519] was unhandled. [5] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,898 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: -1, nextIndex: 0 12:43:36,898 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:36,927 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:36,927 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:36,927 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:43:36,927 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:36,927 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 0 is present for follower follower519 12:43:36,927 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:36,927 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:36,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:36,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Number of entries to be appended = 1 12:43:36,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:36,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Append entry to log zero 12:43:36,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:36,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Log size is now 1 [WARN] [01/21/2025 00:43:36.928] [test-akka.actor.default-dispatcher-7] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:36,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower519, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:36,928 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached -1 (of expected -1) [INFO] [akkaDeadLetter][01/21/2025 00:43:36.928] [test-akka.actor.default-dispatcher-7] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,928 AM [test-akka.actor.default-dispatcher-7] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,928 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:36,928 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: 0, nextIndex: 1 12:43:36,928 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:36,929 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:36,929 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:43:36,929 AM [test-akka.actor.default-dispatcher-7] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower519] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. [WARN] [01/21/2025 00:43:36.929] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower519] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4e32bbee 12:43:36,929 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Setting last applied to 0 12:43:36,929 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from -1 to 0 12:43:36,929 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Applying state for log index 0 data zero [INFO] [akkaDeadLetter][01/21/2025 00:43:36.929] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower519] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower519] was unhandled. [7] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,929 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: applyState called: zero 12:43:36,929 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persisting ApplyJournalEntries with index=0 12:43:36,977 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:36,977 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:36,977 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:43:36,977 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:36,977 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 1 is present for follower follower519 12:43:36,978 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:36,978 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries: AppendEntries [leaderId=leader518, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Number of entries to be appended = 1 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Append entry to log one 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:36,978 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Log size is now 2 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Commit index set to 0 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower519, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 0 (of expected -1) 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Setting last applied to 0 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Moving last applied index from -1 to 0 12:43:36,978 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Applying state for log index 0 data zero 12:43:36,979 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: 1, nextIndex: 2 12:43:36,979 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:43:36,979 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Setting last applied to 1 12:43:36,979 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 0 to 1 12:43:36,979 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: applyState called: zero 12:43:36,979 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Applying state for log index 1 data one 12:43:36,979 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: applyState called: one 12:43:36,979 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:36,979 AM [test-akka.actor.default-dispatcher-5] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,979 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persisting ApplyJournalEntries with index=1 12:43:36,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [01/21/2025 00:43:36.978] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][01/21/2025 00:43:36.979] [test-akka.actor.default-dispatcher-5] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:36,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Persisting ApplyJournalEntries with index=0 12:43:36,979 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Commit index set to 1 12:43:36,980 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 1 (of expected -1) 12:43:36,980 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 12:43:36,980 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Setting last applied to 1 12:43:36,980 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Moving last applied index from 0 to 1 12:43:36,980 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Applying state for log index 1 data one 12:43:36,980 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: applyState called: one 12:43:36,980 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Persisting ApplyJournalEntries with index=1 [WARN] [01/21/2025 00:43:37.014] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [INFO] [akkaDeadLetter][01/21/2025 00:43:37.014] [test-akka.actor.default-dispatcher-14] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:37,15 AM [test-akka.actor.default-dispatcher-14] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:37,29 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:37,29 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:37,29 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:43:37,29 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:37,29 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 2 is present for follower follower519 12:43:37,29 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:37,29 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:37,29 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries: AppendEntries [leaderId=leader518, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:37,29 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Number of entries to be appended = 1 12:43:37,29 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:43:37,29 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Append entry to log two 12:43:37,29 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] [WARN] [01/21/2025 00:43:37.029] [test-akka.actor.default-dispatcher-7] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Log size is now 3 12:43:37,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower519, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:37,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 1 (of expected -1) [INFO] [akkaDeadLetter][01/21/2025 00:43:37.030] [test-akka.actor.default-dispatcher-7] [akka://test/] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:37,30 AM [test-akka.actor.default-dispatcher-15] [INFO] LocalActorRefProvider$$anon$2 - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from TestActor[akka://test/user/leader518] to Actor[akka://test/] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 12:43:37,30 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: 2, nextIndex: 3 12:43:37,30 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:37,30 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:37,30 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:37,30 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:37,30 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:43:37,30 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:37,31 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 3 is present for follower follower519 12:43:37,31 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 12:43:37,31 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:37,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries: AppendEntries [leaderId=leader518, prevLogIndex=2, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] 12:43:37,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Number of entries to be appended = 1 12:43:37,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 12:43:37,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Append entry to log three 12:43:37,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:37,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Log size is now 4 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Setting last applied to 2 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 1 to 2 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Applying state for log index 2 data two 12:43:37,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower519, logLastIndex=3, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:37,31 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 1 (of expected -1) 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: applyState called: two 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower519 updated: matchIndex: 3, nextIndex: 4 [WARN] [01/21/2025 00:43:37.031] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persisting ApplyJournalEntries with index=2 12:43:37,31 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=1, mandatoryTrim=false] 12:43:37,32 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: lastSequenceNumber prior to capture: 7 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Setting last applied to 3 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 2 to 3 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Applying state for log index 3 data three 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: applyState called: three 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: CaptureSnapshotReply received by actor 12:43:37,32 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Commit index set to 2 12:43:37,32 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 2 (of expected -1) 12:43:37,32 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 3 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=1, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader518, ServerConfigPayload=null] 12:43:37,32 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Setting last applied to 2 12:43:37,32 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Moving last applied index from 1 to 2 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 2 12:43:37,32 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Applying state for log index 2 data two 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 2 and term: 1 12:43:37,32 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persisting ApplyJournalEntries with index=3 12:43:37,32 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: applyState called: two 12:43:37,33 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:43:37,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Snapshot success - sequence number: 7 12:43:37,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: SnapshotComplete received 12:43:37,33 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Commit index set to 3 12:43:37,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: handled a journal response 12:43:37,33 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: handled a snapshot response 12:43:37,33 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower519: Lagging 0 entries behind leader leader518 and reached 3 (of expected -1) 12:43:37,33 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 12:43:37,33 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519 (Follower): Setting last applied to 3 12:43:37,33 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Moving last applied index from 2 to 3 12:43:37,33 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Applying state for log index 3 data three 12:43:37,33 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: applyState called: three 12:43:37,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Persisting ApplyJournalEntries with index=2 12:43:37,34 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower519: Persisting ApplyJournalEntries with index=3 12:43:37,91 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:37,91 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:37,91 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:43:37,91 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:43:37,92 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 12:43:37,92 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 12:43:37,92 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 [WARN] [01/21/2025 00:43:37.092] [test-akka.actor.default-dispatcher-7] [akka://test/user/follower519] received dead letter from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [01/21/2025 00:43:37.092] [test-akka.actor.default-dispatcher-7] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=five] 12:43:37,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=five] 12:43:37,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=five}, logIndex: 5, isSendImmediate: true 12:43:37,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:43:37,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 12:43:37,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 [WARN] [01/21/2025 00:43:37.108] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:37,108 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=five] 12:43:37,134 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 [WARN] [01/21/2025 00:43:37.135] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,160 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 12:43:37,160 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 12:43:37,163 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=newFour}, logIndex: 4, isSendImmediate: true 12:43:37,163 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 4, leaderSnapShotIndex: 2 12:43:37,163 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 12:43:37,163 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: 2 [WARN] [01/21/2025 00:43:37.163] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,164 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=newFour] 12:43:37,253 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 12:43:37,254 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=newFour]]] [WARN] [01/21/2025 00:43:37.254] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower519] received dead letter from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=newFour]]] [WARN] [01/21/2025 00:43:37.254] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Persist data SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 12:43:37,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 12:43:37,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Replicate message: identifier: MockIdentifier{value=newFive}, logIndex: 5, isSendImmediate: true 12:43:37,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower519: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: 2 12:43:37,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 12:43:37,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Checking sendAppendEntries for follower follower520: active: false, followerNextIndex: -1, leaderLastIndex: 5, leaderSnapShotIndex: 2 [WARN] [01/21/2025 00:43:37.264] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,265 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: persist complete SimpleReplicatedLogEntry [index=5, term=1, payload=newFive] 12:43:37,373 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): sendAppendEntries: 4 is present for follower follower519 12:43:37,374 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Sending AppendEntries to follower follower519: AppendEntries [leaderId=leader518, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=newFour], SimpleReplicatedLogEntry [index=5, term=1, payload=newFive]]] [WARN] [01/21/2025 00:43:37.374] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower519] received dead letter from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=3, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=1, payload=newFour], SimpleReplicatedLogEntry [index=5, term=1, payload=newFive]]] [WARN] [01/21/2025 00:43:37.374] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader518]: AppendEntries [leaderId=leader518, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [01/21/2025 00:43:37.379] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader518]: org.opendaylight.controller.cluster.common.actor.Monitor@1d53d107 12:43:37,380 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader518 with journal batch size 1000 12:43:37,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: SnapshotOffer called. 12:43:37,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from -1 to 2 12:43:37,381 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Set currentTerm=1, votedFor=leader518 12:43:37,381 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader518 in 129.8 μs: snapshotIndex=2, snapshotTerm=1, journal-size=1 12:43:37,383 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received apply journal entries for recovery, applying to state: 3 to 2 12:43:37,383 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 2 to 2 12:43:37,383 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received apply journal entries for recovery, applying to state: 3 to 3 12:43:37,383 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Moving last applied index from 2 to 3 12:43:37,383 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received ReplicatedLogEntry for recovery: index: 4, size: 4 12:43:37,384 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received ReplicatedLogEntry for recovery: index: 5, size: 4 12:43:37,384 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received ReplicatedLogEntry for recovery: index: 4, size: 7 12:43:37,384 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Received ReplicatedLogEntry for recovery: index: 5, size: 7 12:43:37,384 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Recovery completed in 3.136 ms - Switching actor to Follower - last log index = 5, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 3 12:43:37,384 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower519-collector521#784690144] 12:43:37,384 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower): Received TimeoutNow - switching to Candidate 12:43:37,384 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Election: Candidate has following voting peers: [] 12:43:37,384 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518: Set currentTerm=2, votedFor=leader518 12:43:37,385 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Starting new election term 2 12:43:37,385 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:37,385 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate): Received ElectionTimeout 12:43:37,386 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Leader): Election: Leader has following peers: [] 12:43:37,386 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader518 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:37,395 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower519] 12:43:37,396 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader518-collector522#1941838526] 12:43:37,396 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader518] 12:43:37,396 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader518-collector523#-357453673] 12:43:37,396 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader518] [WARN] [01/21/2025 00:43:37.399] [test-akka.actor.default-dispatcher-16] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower525]: org.opendaylight.controller.cluster.common.actor.Monitor@4eecae85 12:43:37,400 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower525 with journal batch size 1000 [WARN] [01/21/2025 00:43:37.401] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader524]: org.opendaylight.controller.cluster.common.actor.Monitor@68215223 12:43:37,402 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:37,402 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader524 with journal batch size 1000 12:43:37,403 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:37,914 AM [test-akka.actor.default-dispatcher-6] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:37,914 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.224:25520, Removed) 12:43:37,914 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower): Received ElectionTimeout - switching to Candidate 12:43:37,914 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Election: Candidate has following voting peers: [follower526, follower525] 12:43:37,914 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Set currentTerm=1, votedFor=leader524 12:43:37,914 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Starting new election term 1 12:43:37,914 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Sending RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] to peer follower526 12:43:37,914 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Sending RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] to peer follower525 12:43:37,914 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:43:37,914 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:37,914 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Cluster state: [] 12:43:37,914 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:37,914 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:43:37,915 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Set currentTerm=1, votedFor=null [WARN] [01/21/2025 00:43:37.915] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] 12:43:37,915 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): In requestVote: RequestVote [term=1, candidateId=leader524, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:37,915 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Set currentTerm=1, votedFor=leader524 12:43:37,915 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:43:37,916 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:43:37,916 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:43:37,916 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Election: Leader has following peers: [follower526, follower525] 12:43:37,916 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:37,916 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:37,916 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [01/21/2025 00:43:37.916] [test-akka.actor.default-dispatcher-7] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,916 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower525: Last sync leader does not match current leader leader524, need to catch up to -1 [WARN] [01/21/2025 00:43:37.917] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower525] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@12a78a12 12:43:37,917 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower525 updated: matchIndex: -1, nextIndex: 0 12:43:37,917 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:37,958 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:37,958 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:37,958 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:43:37,958 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:37,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:37,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 0 is present for follower follower525 12:43:37,959 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:37,959 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:37,959 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Number of entries to be appended = 1 12:43:37,959 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:37,959 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log zero 12:43:37,959 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:37,959 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Log size is now 1 12:43:37,959 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower525, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:37,959 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower525: Lagging 0 entries behind leader leader524 and reached -1 (of expected -1) 12:43:37,959 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower525 updated: matchIndex: 0, nextIndex: 1 12:43:37,959 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 [WARN] [01/21/2025 00:43:37.959] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:37,960 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:37,960 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:43:37,960 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 0 12:43:37,960 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from -1 to 0 12:43:37,960 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 0 data zero 12:43:37,960 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:37,960 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: zero 12:43:37,960 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persisting ApplyJournalEntries with index=0 [WARN] [01/21/2025 00:43:37.960] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower525] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2b70027b 12:43:38,9 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:38,10 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:38,10 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:43:38,10 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:38,10 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:38,10 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 1 is present for follower follower525 12:43:38,10 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] [WARN] [01/21/2025 00:43:38.010] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:38,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries: AppendEntries [leaderId=leader524, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:38,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Number of entries to be appended = 1 12:43:38,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:43:38,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log one 12:43:38,10 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:38,11 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Log size is now 2 12:43:38,11 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Commit index set to 0 12:43:38,11 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower525, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:38,11 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower525: Lagging 0 entries behind leader leader524 and reached 0 (of expected -1) 12:43:38,11 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:43:38,11 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 0 12:43:38,11 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from -1 to 0 12:43:38,11 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 0 data zero 12:43:38,11 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower525 updated: matchIndex: 1, nextIndex: 2 12:43:38,11 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:38,11 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: zero 12:43:38,12 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:38,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:38,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:43:38,12 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Persisting ApplyJournalEntries with index=0 12:43:38,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 1 12:43:38,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 0 to 1 12:43:38,12 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 1 data one 12:43:38,12 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: one 12:43:38,13 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persisting ApplyJournalEntries with index=1 [WARN] [01/21/2025 00:43:38.033] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [01/21/2025 00:43:38.060] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:38,60 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] [WARN] [01/21/2025 00:43:38.060] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:38,61 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:43:38,61 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower526: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:43:38,61 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:43:38,61 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 [WARN] [01/21/2025 00:43:38.061] [test-akka.actor.default-dispatcher-7] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:38,61 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:38,61 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:38,61 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 12:43:38,61 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: lastSequenceNumber prior to capture: 7 12:43:38,61 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: CaptureSnapshotReply received by actor 12:43:38,61 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader524, ServerConfigPayload=null] 12:43:38,61 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 12:43:38,61 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 12:43:38,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:38,62 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:43:38,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Snapshot success - sequence number: 7 12:43:38,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: SnapshotComplete received 12:43:38,62 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: handled a snapshot response 12:43:38,62 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: handled a journal response 12:43:38,154 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 [WARN] [01/21/2025 00:43:38.154] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:38,274 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 12:43:38,274 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [01/21/2025 00:43:38.274] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:38,394 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 12:43:38,394 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [01/21/2025 00:43:38.394] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] [WARN] [01/21/2025 00:43:38.514] [test-akka.actor.default-dispatcher-6] [akka://test/] unhandled message from TestActor[akka://test/user/leader524]: AppendEntries [leaderId=leader524, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:38,514 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower525: Lagging -1 entries behind leader leader524 and reached 0 (of expected -1) 12:43:38,514 AM [test-akka.actor.default-dispatcher-18] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower525, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 503, lastApplied : 1, commitIndex : 1 12:43:38,514 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): sendAppendEntries: 2 is present for follower follower525 12:43:38,514 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Sending AppendEntries to follower follower525: AppendEntries [leaderId=leader524, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 12:43:38,514 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries: AppendEntries [leaderId=leader524, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Number of entries to be appended = 3 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log two 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log three 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Append entry to log four 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Log size is now 5 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Commit index set to 1 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower525, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower525: Lagging 0 entries behind leader leader524 and reached 1 (of expected -1) 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 1 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from 0 to 1 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 1 data one 12:43:38,515 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower525 updated: matchIndex: 4, nextIndex: 5 12:43:38,515 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 12:43:38,515 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 2 12:43:38,515 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 1 to 2 12:43:38,515 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 2 data two 12:43:38,515 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: one 12:43:38,515 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: two 12:43:38,515 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 3 12:43:38,515 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 2 to 3 12:43:38,515 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 3 data three 12:43:38,516 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: three 12:43:38,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Setting last applied to 4 12:43:38,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 3 to 4 12:43:38,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Applying state for log index 4 data four 12:43:38,516 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: applyState called: four 12:43:38,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Checking sendAppendEntries for follower follower525: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: 1 12:43:38,516 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Persisting ApplyJournalEntries with index=4 12:43:38,516 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:38,516 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:38,516 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Persisting ApplyJournalEntries with index=1 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Commit index set to 4 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] SyncStatusTracker - follower525: Lagging 0 entries behind leader leader524 and reached 4 (of expected -1) 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 2 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from 1 to 2 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 2 data two 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: two 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 3 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from 2 to 3 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 3 data three 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: three 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525 (Follower): Setting last applied to 4 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Moving last applied index from 3 to 4 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Applying state for log index 4 data four 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: applyState called: four 12:43:38,517 AM [test-akka.actor.default-dispatcher-6] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower525: Persisting ApplyJournalEntries with index=4 [WARN] [01/21/2025 00:43:38.579] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader524]: org.opendaylight.controller.cluster.common.actor.Monitor@be4f220 12:43:38,580 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader524 with journal batch size 1000 12:43:38,581 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: SnapshotOffer called. 12:43:38,581 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from -1 to 1 12:43:38,581 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Set currentTerm=1, votedFor=leader524 12:43:38,581 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader524 in 121.5 μs: snapshotIndex=1, snapshotTerm=1, journal-size=3 12:43:38,583 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Received ReplicatedLogEntry for recovery: index: 4, size: 4 12:43:38,583 AM [test-akka.actor.default-dispatcher-18] [WARN] AbstractReplicatedLogImpl - leader524: Cannot append new entry - new index 4 is not greater than the last index 4 java.lang.Exception: stack trace at org.opendaylight.controller.cluster.raft.AbstractReplicatedLogImpl.append(AbstractReplicatedLogImpl.java:133) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.onRecoveredJournalLogEntry(RaftActorRecoverySupport.java:180) at org.opendaylight.controller.cluster.raft.RaftActorRecoverySupport.handleRecoveryMessage(RaftActorRecoverySupport.java:67) at org.opendaylight.controller.cluster.raft.RaftActor.handleRecover(RaftActor.java:157) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) at scala.PartialFunction.applyOrElse(PartialFunction.scala:214) at scala.PartialFunction.applyOrElse$(PartialFunction.scala:213) at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) at scala.PartialFunction$OrElse.apply(PartialFunction.scala:266) at akka.persistence.Eventsourced$$anon$2$$anonfun$1.applyOrElse(Eventsourced.scala:639) at akka.actor.Actor.aroundReceive(Actor.scala:537) at akka.actor.Actor.aroundReceive$(Actor.scala:535) at akka.persistence.AbstractPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:295) at akka.persistence.Eventsourced$$anon$3.stateReceive(Eventsourced.scala:756) at akka.persistence.Eventsourced.aroundReceive(Eventsourced.scala:245) at akka.persistence.Eventsourced.aroundReceive$(Eventsourced.scala:244) at akka.persistence.AbstractPersistentActor.aroundReceive(PersistentActor.scala:295) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:579) at akka.actor.ActorCell.invoke(ActorCell.scala:547) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270) at akka.dispatch.Mailbox.run(Mailbox.scala:231) at akka.dispatch.Mailbox.exec(Mailbox.scala:243) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) 12:43:38,583 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Received apply journal entries for recovery, applying to state: 2 to 4 12:43:38,583 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Moving last applied index from 1 to 4 12:43:38,584 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Recovery completed in 2.471 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 12:43:38,584 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower): Received TimeoutNow - switching to Candidate 12:43:38,584 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Election: Candidate has following voting peers: [] 12:43:38,584 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524: Set currentTerm=2, votedFor=leader524 12:43:38,584 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Starting new election term 2 12:43:38,584 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:38,585 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate): Received ElectionTimeout 12:43:38,585 AM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Leader): Election: Leader has following peers: [] 12:43:38,585 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader524 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:38,680 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower525-collector527#-2079466190] 12:43:38,691 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower525] 12:43:38,692 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader524-collector528#1907637348] 12:43:38,692 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader524] 12:43:38,692 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader524-collector529#-870197728] 12:43:38,692 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader524] [WARN] [01/21/2025 00:43:38.694] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower531]: org.opendaylight.controller.cluster.common.actor.Monitor@41a494df 12:43:38,695 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower531 with journal batch size 1000 [WARN] [01/21/2025 00:43:38.697] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader530]: org.opendaylight.controller.cluster.common.actor.Monitor@4059aa17 12:43:38,697 AM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:38,697 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader530 with journal batch size 1000 12:43:38,698 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:39,153 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:39,153 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.224:25520, Removed) 12:43:39,153 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Follower): Received ElectionTimeout - switching to Candidate 12:43:39,153 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): Election: Candidate has following voting peers: [follower531, follower532] 12:43:39,153 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Set currentTerm=1, votedFor=leader530 12:43:39,153 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): Starting new election term 1 12:43:39,154 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): Sending RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] to peer follower531 12:43:39,154 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): Sending RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] to peer follower532 12:43:39,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:39,154 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 12:43:39,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Cluster state: [] 12:43:39,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:39,154 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:43:39,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Set currentTerm=1, votedFor=null 12:43:39,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): In requestVote: RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:39,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Set currentTerm=1, votedFor=leader530 12:43:39,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] [WARN] [01/21/2025 00:43:39.154] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader530]: RequestVote [term=1, candidateId=leader530, lastLogIndex=-1, lastLogTerm=-1] 12:43:39,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:43:39,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:43:39,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Election: Leader has following peers: [follower531, follower532] 12:43:39,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:39,155 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:39,155 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [01/21/2025 00:43:39.155] [test-akka.actor.default-dispatcher-16] [akka://test/] unhandled message from TestActor[akka://test/user/leader530]: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:39,156 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower531: Last sync leader does not match current leader leader530, need to catch up to -1 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower531 updated: matchIndex: -1, nextIndex: 0 [WARN] [01/21/2025 00:43:39.156] [test-akka.actor.default-dispatcher-5] [akka://test/] unhandled message from TestActor[akka://test/user/leader530]: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:39,156 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached -1 (of expected -1) 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendAppendEntries: 0 is present for follower follower531 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Sending AppendEntries to follower follower531: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendAppendEntries: 0 is present for follower follower531 12:43:39,156 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] [WARN] [01/21/2025 00:43:39.156] [test-akka.actor.default-dispatcher-5] [akka://test/user/follower531] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@35f70820 12:43:39,156 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Number of entries to be appended = 1 12:43:39,156 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:39,156 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Append entry to log zero 12:43:39,156 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,156 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,156 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Log size is now 1 12:43:39,156 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower531, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:39,157 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached -1 (of expected -1) 12:43:39,157 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower531 updated: matchIndex: 0, nextIndex: 1 12:43:39,157 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:43:39,157 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Setting last applied to 0 12:43:39,157 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Moving last applied index from -1 to 0 12:43:39,157 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Applying state for log index 0 data zero 12:43:39,157 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: applyState called: zero 12:43:39,157 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:39,157 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persisting ApplyJournalEntries with index=0 12:43:39,157 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,157 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Commit index set to 0 12:43:39,157 AM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached 0 (of expected -1) 12:43:39,157 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 [WARN] [01/21/2025 00:43:39.157] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower531] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@c32b04f 12:43:39,157 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Setting last applied to 0 12:43:39,157 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Moving last applied index from -1 to 0 12:43:39,157 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Applying state for log index 0 data zero 12:43:39,157 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: applyState called: zero 12:43:39,158 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Persisting ApplyJournalEntries with index=0 12:43:39,207 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,207 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,207 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:43:39,207 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:39,207 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendAppendEntries: 1 is present for follower follower531 12:43:39,207 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Sending AppendEntries to follower follower531: AppendEntries [leaderId=leader530, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:39,207 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:39,207 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries: AppendEntries [leaderId=leader530, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:39,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Number of entries to be appended = 1 12:43:39,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 [WARN] [01/21/2025 00:43:39.208] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader530]: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:39,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Append entry to log one 12:43:39,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Log size is now 2 12:43:39,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower531, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:39,208 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached 0 (of expected -1) 12:43:39,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower531 updated: matchIndex: 1, nextIndex: 2 12:43:39,208 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:39,208 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,208 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,208 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:43:39,209 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Setting last applied to 1 12:43:39,209 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Moving last applied index from 0 to 1 12:43:39,209 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Applying state for log index 1 data one 12:43:39,209 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: applyState called: one 12:43:39,209 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persisting ApplyJournalEntries with index=1 [WARN] [01/21/2025 00:43:39.260] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower532]: org.opendaylight.controller.cluster.common.actor.Monitor@7af86a1a 12:43:39,261 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower532 with journal batch size 1000 12:43:39,261 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower532 set to akka://test/user/follower532 12:43:39,261 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:39,261 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:39,261 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:43:39,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:39,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendAppendEntries: 2 is present for follower follower531 12:43:39,262 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:39,262 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Sending AppendEntries to follower follower531: AppendEntries [leaderId=leader530, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries: AppendEntries [leaderId=leader530, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Number of entries to be appended = 1 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Append entry to log two 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Log size is now 3 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Commit index set to 1 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower531, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached 1 (of expected -1) 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 2 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Setting last applied to 1 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Moving last applied index from 0 to 1 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Applying state for log index 1 data one 12:43:39,262 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: applyState called: one 12:43:39,263 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:39,263 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Term 1 in "AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 12:43:39,263 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=null 12:43:39,263 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower532: Last sync leader does not match current leader leader530, need to catch up to -1 12:43:39,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:39,263 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower531 updated: matchIndex: 2, nextIndex: 3 12:43:39,263 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Persisting ApplyJournalEntries with index=1 12:43:39,263 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower531: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 [WARN] [01/21/2025 00:43:39.263] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@e3d9334 12:43:39,263 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: -1, nextIndex: 0 12:43:39,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:39,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendAppendEntries: 0 is present for follower follower532 12:43:39,264 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Sending AppendEntries to follower follower532: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero], SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries: AppendEntries [leaderId=leader530, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero], SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Number of entries to be appended = 3 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log zero 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log one 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Append entry to log two 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Log size is now 3 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Commit index set to 1 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower532, logLastIndex=2, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower532: Lagging 0 entries behind leader leader530 and reached 1 (of expected -1) 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): -1, lastIndex(): 2 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 0 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 0 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 0 data zero 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: zero 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Setting last applied to 1 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from 0 to 1 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying state for log index 1 data one 12:43:39,264 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applyState called: one 12:43:39,265 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: 2, nextIndex: 3 12:43:39,265 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: fakeSnapshot purging log to 0 for term 1 12:43:39,265 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 12:43:39,265 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:39,265 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 12:43:39,265 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Setting last applied to 2 12:43:39,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,265 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Moving last applied index from 1 to 2 12:43:39,265 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Applying state for log index 2 data two 12:43:39,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,265 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: applyState called: two 12:43:39,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:39,265 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: fakeSnapshot purging log to 1 for term 1 12:43:39,265 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persisting ApplyJournalEntries with index=2 12:43:39,265 AM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Persisting ApplyJournalEntries with index=1 [WARN] [01/21/2025 00:43:39.265] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@33b0c1c8 [WARN] [01/21/2025 00:43:39.324] [test-akka.actor.default-dispatcher-7] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower532]: org.opendaylight.controller.cluster.common.actor.Monitor@2a50b996 12:43:39,325 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower532 with journal batch size 1000 12:43:39,325 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Peer address for peer follower532 set to akka://test/user/follower532 12:43:39,326 AM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:39,393 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Commit index set to 2 12:43:39,393 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Term 1 in "AppendEntries [leaderId=leader530, prevLogIndex=2, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[]]" message is greater than follower's term 0 - updating term 12:43:39,393 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=null 12:43:39,393 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower531: Lagging 0 entries behind leader leader530 and reached 2 (of expected -1) 12:43:39,393 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 12:43:39,393 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531 (Follower): Setting last applied to 2 12:43:39,393 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Moving last applied index from 1 to 2 12:43:39,393 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Applying state for log index 2 data two 12:43:39,393 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): The followers log is empty and the senders prevLogIndex is 2 12:43:39,393 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower532, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:39,393 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: applyState called: two 12:43:39,393 AM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower532: Last sync leader does not match current leader leader530, need to catch up to 2 12:43:39,393 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: fakeSnapshot purging log to 1 for term 1 12:43:39,394 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower531: Persisting ApplyJournalEntries with index=2 12:43:39,394 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower532, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 12:43:39,394 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower532 updated: matchIndex: -1, nextIndex: 0 12:43:39,394 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): follower follower532 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 12:43:39,394 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Checking sendAppendEntries for follower follower532: active: true, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: 1 12:43:39,394 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Initiating install snapshot to follower follower532: follower nextIndex: 0, leader snapshotIndex: 1, leader lastIndex: 2, leader log size: 1 12:43:39,394 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=2, lastAppliedTerm=1, lastIndex=2, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] to install on follower532 [WARN] [01/21/2025 00:43:39.394] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower532] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@17ed04f 12:43:39,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: lastSequenceNumber prior to capture: 7 12:43:39,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: CaptureSnapshotReply received by actor 12:43:39,395 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Cannot append entries because the replicatedToAllIndex 1 does not appear to be in the in-memory journal - lastIndex: -1, snapshotIndex: -1, snapshotTerm: -1 12:43:39,395 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=1, success=false, followerId=follower532, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:39,395 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Persisting of snapshot done: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=leader530, ServerConfigPayload=null] 12:43:39,395 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 12:43:39,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): sendInstallSnapshot 12:43:39,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader530 (Leader): Snapshot 345 bytes, total chunks to send: 1 12:43:39,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] LeaderInstallSnapshotState - leader530 (Leader): Next chunk: total length=345, offset=0, size=345, hashCode=-1043722696 12:43:39,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): next snapshot chunk size for follower follower532: 345 12:43:39,395 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleInstallSnapshot: InstallSnapshot [term=1, leaderId=leader530, lastIncludedIndex=2, lastIncludedTerm=1, datasize=345, Chunk=1/1, lastChunkHashCode=OptionalInt[-1], serverConfig=null] 12:43:39,396 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - addChunk: chunkIndex=1, lastChunkIndex=0, collectedChunks.size=0, lastChunkHashCode=-1 12:43:39,396 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): Snapshot installed from leader: leader530 12:43:39,396 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Applying snapshot on follower: Snapshot [lastIndex=2, lastTerm=1, lastAppliedIndex=2, lastAppliedTerm=1, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two]], electionTerm=1, electionVotedFor=null, ServerConfigPayload=null] 12:43:39,396 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - lastSequenceNumber prior to persisting applied snapshot: 1 12:43:39,396 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): InstallSnapshot sent to follower Vector(user, follower532), Chunk: 1/1 12:43:39,397 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=1, success=false, followerId=follower532, logLastIndex=-1, logLastTerm=-1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: 1, snapshotTerm: 1, replicatedToAllIndex: 1 12:43:39,397 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): follower follower532 appears to be behind the leader from the last snapshot - updated: matchIndex: -1, nextIndex: 0 12:43:39,397 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: SaveSnapshotSuccess received for snapshot, sequenceNr: 1 12:43:39,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Snapshot success - sequence number: 1 12:43:39,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 2 12:43:39,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=null 12:43:39,397 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: applySnapshot called 12:43:39,397 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:43:39,397 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: Snapshot success - sequence number: 7 12:43:39,397 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: SnapshotComplete received 12:43:39,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532 (Follower): handleInstallSnapshot returning: InstallSnapshotReply [term=1, followerId=follower532, chunkIndex=1, success=true] 12:43:39,397 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: handled a snapshot response 12:43:39,397 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): handleInstallSnapshotReply: InstallSnapshotReply [term=1, followerId=follower532, chunkIndex=1, success=true] 12:43:39,397 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader530 (Leader): Snapshot successfully installed on follower follower532 (last chunk 1) - matchIndex set to 2, nextIndex set to 3 12:43:39,397 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader530: handled a journal response 12:43:39,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: SnapshotComplete received 12:43:39,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: handled a snapshot response 12:43:39,397 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: handled a journal response [WARN] [01/21/2025 00:43:39.439] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower532]: org.opendaylight.controller.cluster.common.actor.Monitor@171654d7 12:43:39,440 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower532 with journal batch size 1000 12:43:39,441 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: SnapshotOffer called. 12:43:39,441 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Moving last applied index from -1 to 2 12:43:39,441 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Set currentTerm=1, votedFor=null 12:43:39,441 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for follower532 in 136.8 μs: snapshotIndex=2, snapshotTerm=1, journal-size=0 12:43:39,442 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower532: Recovery completed in 1.255 ms - Switching actor to Follower - last log index = 2, last log term = 1, snapshot index = 2, snapshot term = 1, journal size = 0 12:43:39,442 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower531-collector533#1428031114] 12:43:39,453 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower531] 12:43:39,453 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader530-collector534#115376981] 12:43:39,453 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader530] 12:43:39,454 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower532-collector535#54622233] 12:43:39,454 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower532] 12:43:39,454 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower532-collector536#-1399240818] 12:43:39,454 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower532] 12:43:39,454 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower532-collector537#442036688] 12:43:39,454 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower532] [WARN] [01/21/2025 00:43:39.456] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower539]: org.opendaylight.controller.cluster.common.actor.Monitor@7919e6cb 12:43:39,457 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower539 with journal batch size 1000 12:43:39,458 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [01/21/2025 00:43:39.459] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader538]: org.opendaylight.controller.cluster.common.actor.Monitor@5c8ca5d3 12:43:39,459 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader538 with journal batch size 1000 12:43:39,460 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 12:43:39,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 12:43:39,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower): Checking if this node is isolated in the cluster unreachable set [],all members [] self member: Member(akka://test@10.30.171.224:25520, Removed) 12:43:39,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower): Received ElectionTimeout - switching to Candidate 12:43:39,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Election: Candidate has following voting peers: [follower539, follower540] 12:43:39,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Set currentTerm=1, votedFor=leader538 12:43:39,913 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Starting new election term 1 12:43:39,913 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Sending RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] to peer follower539 12:43:39,914 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Sending RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] to peer follower540 12:43:39,914 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 [WARN] [01/21/2025 00:43:39.914] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] 12:43:39,914 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 12:43:39,914 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Cluster state: [] 12:43:39,914 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 12:43:39,914 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 12:43:39,914 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Set currentTerm=1, votedFor=null 12:43:39,914 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): In requestVote: RequestVote [term=1, candidateId=leader538, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 12:43:39,915 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Set currentTerm=1, votedFor=leader538 12:43:39,915 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 12:43:39,915 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 12:43:39,915 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 12:43:39,915 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Election: Leader has following peers: [follower539, follower540] 12:43:39,916 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:39,916 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 12:43:39,916 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 [WARN] [01/21/2025 00:43:39.916] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:39,916 AM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower539: Last sync leader does not match current leader leader538, need to catch up to -1 12:43:39,916 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower539 updated: matchIndex: -1, nextIndex: 0 12:43:39,916 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [01/21/2025 00:43:39.916] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower539] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@60cc7d18 12:43:39,919 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,919 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,919 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 12:43:39,919 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:39,920 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 0 is present for follower follower539 12:43:39,920 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:39,920 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 12:43:39,920 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Number of entries to be appended = 1 12:43:39,920 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 12:43:39,920 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log zero 12:43:39,920 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,920 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Log size is now 1 12:43:39,920 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower539, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:39,920 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower539: Lagging 0 entries behind leader leader538 and reached -1 (of expected -1) 12:43:39,920 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:39,920 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower539 updated: matchIndex: 0, nextIndex: 1 12:43:39,920 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [01/21/2025 00:43:39.921] [test-akka.actor.default-dispatcher-14] [akka://test/user/follower539] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2db50157 [WARN] [01/21/2025 00:43:39.921] [test-akka.actor.default-dispatcher-14] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:39,921 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 12:43:39,921 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 12:43:39,921 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 12:43:39,921 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 0 12:43:39,921 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from -1 to 0 12:43:39,921 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 0 data zero 12:43:39,921 AM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: zero 12:43:39,921 AM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persisting ApplyJournalEntries with index=0 12:43:39,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 12:43:39,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:39,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 1 is present for follower follower539 12:43:39,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:39,970 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:39,970 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries: AppendEntries [leaderId=leader538, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 12:43:39,970 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Number of entries to be appended = 1 12:43:39,970 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 12:43:39,970 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log one 12:43:39,970 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,970 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Log size is now 2 12:43:39,970 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Commit index set to 0 12:43:39,970 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower539, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower539: Lagging 0 entries behind leader leader538 and reached 0 (of expected -1) 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 0 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from -1 to 0 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 0 data zero 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: zero 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower539 updated: matchIndex: 1, nextIndex: 2 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 1 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 0 to 1 [WARN] [01/21/2025 00:43:39.971] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 1 data one 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: one 12:43:39,971 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persisting ApplyJournalEntries with index=1 12:43:39,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 12:43:39,971 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Persisting ApplyJournalEntries with index=0 12:43:40,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:40,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:40,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 12:43:40,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:40,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 12:43:40,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 12:43:40,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 2, leaderSnapShotIndex: -1 12:43:40,21 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:40,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] [WARN] [01/21/2025 00:43:40.021] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:40,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 12:43:40,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: -1 12:43:40,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 12:43:40,22 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 3, leaderSnapShotIndex: -1 [WARN] [01/21/2025 00:43:40.022] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:40,22 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:40,22 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:40,22 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=2, mandatoryTrim=false] 12:43:40,23 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: lastSequenceNumber prior to capture: 7 [WARN] [01/21/2025 00:43:40.033] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:40,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 12:43:40,154 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [01/21/2025 00:43:40.154] [test-akka.actor.default-dispatcher-15] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:40,274 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 12:43:40,274 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three]]] [WARN] [01/21/2025 00:43:40.274] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:40,275 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:40,275 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:40,275 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 12:43:40,275 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:43:40,275 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 12:43:40,275 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower540: active: false, followerNextIndex: -1, leaderLastIndex: 4, leaderSnapShotIndex: -1 [WARN] [01/21/2025 00:43:40.275] [test-akka.actor.default-dispatcher-18] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:40,276 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:40,394 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower539: Lagging -1 entries behind leader leader538 and reached 0 (of expected -1) 12:43:40,394 AM [test-akka.actor.default-dispatcher-15] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader) : handleAppendEntriesReply delayed beyond election timeout, appendEntriesReply : AppendEntriesReply [term=1, success=true, followerId=follower539, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], timeSinceLastActivity : 422, lastApplied : 1, commitIndex : 1 12:43:40,394 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): sendAppendEntries: 2 is present for follower follower539 12:43:40,394 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Sending AppendEntries to follower follower539: AppendEntries [leaderId=leader538, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] [WARN] [01/21/2025 00:43:40.394] [test-akka.actor.default-dispatcher-17] [akka://test/] unhandled message from TestActor[akka://test/user/leader538]: AppendEntries [leaderId=leader538, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=4, leaderRaftVersion=5, leaderAddress=null, entries=[]] 12:43:40,394 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries: AppendEntries [leaderId=leader538, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 12:43:40,394 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Number of entries to be appended = 3 12:43:40,394 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 12:43:40,394 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log two 12:43:40,394 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:40,394 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log three 12:43:40,394 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:40,394 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Append entry to log four 12:43:40,394 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:40,395 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Log size is now 5 12:43:40,395 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Commit index set to 1 12:43:40,395 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower539, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 12:43:40,395 AM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower539: Lagging 0 entries behind leader leader538 and reached 1 (of expected -1) 12:43:40,395 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 4 12:43:40,395 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 1 12:43:40,395 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from 0 to 1 12:43:40,395 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 1 data one 12:43:40,395 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: one 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower539 updated: matchIndex: 4, nextIndex: 5 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Applying to log - commitIndex: 4, lastAppliedIndex: 1 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 2 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 1 to 2 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 2 data two 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: two 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 3 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 2 to 3 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 3 data three 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: three 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Setting last applied to 4 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 3 to 4 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Applying state for log index 4 data four 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: applyState called: four 12:43:40,395 AM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Checking sendAppendEntries for follower follower539: active: true, followerNextIndex: 5, leaderLastIndex: 4, leaderSnapShotIndex: -1 12:43:40,396 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 12:43:40,396 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 12:43:40,396 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 12:43:40,396 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Persisting ApplyJournalEntries with index=1 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Commit index set to 4 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] SyncStatusTracker - follower539: Lagging 0 entries behind leader leader538 and reached 4 (of expected -1) 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 4, context.getLastApplied(): 1, lastIndex(): 4 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 2 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from 1 to 2 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 2 data two 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: two 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 3 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from 2 to 3 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 3 data three 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: three 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539 (Follower): Setting last applied to 4 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Moving last applied index from 3 to 4 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Applying state for log index 4 data four 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: applyState called: four 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower539: Persisting ApplyJournalEntries with index=4 12:43:40,397 AM [test-akka.actor.default-dispatcher-7] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persisting ApplyJournalEntries with index=4 12:43:40,426 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: CaptureSnapshotReply received by actor 12:43:40,426 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=2, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader538, ServerConfigPayload=null] 12:43:40,426 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: log size 5 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 12:43:40,426 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 12:43:40,427 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 12:43:40,427 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Snapshot success - sequence number: 7 12:43:40,427 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: SnapshotComplete received 12:43:40,427 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: handled a snapshot response 12:43:40,427 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: handled a journal response [WARN] [01/21/2025 00:43:40.489] [test-akka.actor.default-dispatcher-17] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader538]: org.opendaylight.controller.cluster.common.actor.Monitor@6d8df91 12:43:40,489 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader538 with journal batch size 1000 12:43:40,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: SnapshotOffer called. 12:43:40,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from -1 to 1 12:43:40,490 AM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Set currentTerm=1, votedFor=leader538 12:43:40,490 AM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Recovery snapshot applied for leader538 in 133.0 μs: snapshotIndex=1, snapshotTerm=1, journal-size=2 12:43:40,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Received ReplicatedLogEntry for recovery: index: 4, size: 4 12:43:40,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Received apply journal entries for recovery, applying to state: 2 to 4 12:43:40,492 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Moving last applied index from 1 to 4 12:43:40,492 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Recovery completed in 1.756 ms - Switching actor to Follower - last log index = 4, last log term = 1, snapshot index = 1, snapshot term = 1, journal size = 3 12:43:40,493 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower): Received TimeoutNow - switching to Candidate 12:43:40,493 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Election: Candidate has following voting peers: [] 12:43:40,493 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538: Set currentTerm=2, votedFor=leader538 12:43:40,493 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower539-collector541#728896436] 12:43:40,493 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Starting new election term 2 12:43:40,493 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 12:43:40,493 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower539] 12:43:40,494 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate): Received ElectionTimeout 12:43:40,494 AM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Leader): Election: Leader has following peers: [] 12:43:40,494 AM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader538 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 12:43:40,494 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader538-collector542#1635823802] 12:43:40,494 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader538] 12:43:40,494 AM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader538-collector543#142965253] 12:43:40,494 AM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader538] [INFO] [01/21/2025 00:43:40.495] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 12:43:40,495 AM [test-akka.actor.default-dispatcher-17] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [01/21/2025 00:43:40.496] [test-akka.actor.default-dispatcher-17] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.171.224:25520) 12:43:40,500 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Exiting completed 12:43:40,500 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Shutting down... 12:43:40,500 AM [test-akka.actor.default-dispatcher-17] [INFO] Cluster - Cluster Node [akka://test@10.30.171.224:25520] - Successfully shut down 12:43:40,500 AM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 12:43:40,500 AM [test-akka.actor.default-dispatcher-17] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [01/21/2025 00:43:40.496] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Exiting completed [INFO] [01/21/2025 00:43:40.497] [test-akka.actor.internal-dispatcher-4] [Cluster(akka://test)] Cluster Node [akka://test@10.30.171.224:25520] - Shutting down... 12:43:40,502 AM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.