[DEBUG] [11/11/2024 11:25:05.246] [main] [EventStream(pekko://test)] logger log1-TestEventListener started 11:25:05,246 AM [test-pekko.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/11/2024 11:25:05.246] [main] [EventStream(pekko://test)] logger log2-Slf4jLogger started [DEBUG] [11/11/2024 11:25:05.246] [main] [EventStream(pekko://test)] Default Loggers started [INFO] [11/11/2024 11:25:05.266] [main] [ArteryTransport(pekko://test)] Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.168:17355] with UID [-6710390940607836792] 11:25:05,266 AM [test-pekko.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [pekko://test@10.30.170.168:17355] with UID [-6710390940607836792] [INFO] [11/11/2024 11:25:05.266] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Starting up, Pekko version [1.0.3] ... 11:25:05,266 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Starting up, Pekko version [1.0.3] ... [INFO] [11/11/2024 11:25:05.268] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Registered cluster JMX MBean [pekko:type=Cluster] [INFO] [11/11/2024 11:25:05.268] [main] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Started up successfully 11:25:05,268 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Registered cluster JMX MBean [pekko:type=Cluster] 11:25:05,268 AM [test-pekko.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Started up successfully [INFO] [11/11/2024 11:25:05.269] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing [INFO] [11/11/2024 11:25:05.269] [test-pekko.actor.internal-dispatcher-2] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 11:25:05,269 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - No downing-provider-class configured, manual cluster downing required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#downing 11:25:05,269 AM [test-pekko.actor.default-dispatcher-6] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - No seed-nodes configured, manual cluster join required, see https://pekko.apache.org/docs/pekko/current/typed/cluster.html#joining 11:25:05,279 AM [main] [DEBUG] MockRaftActorContext - isolated-leader: Moving last applied index from -1 to 1 11:25:05,279 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [follower-2, follower-1] 11:25:05,279 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,280 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,280 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader): Term 2 in "AppendEntriesReply{term=2, success=true, followerId=follower-1, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than leader's term 1 - switching to Follower [WARN] [11/11/2024 11:25:05.280] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/$b] received dead letter from Actor[pekko://test/user/leader421#-1002436160]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} 11:25:05,280 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:25:05,280 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 [WARN] [11/11/2024 11:25:05.280] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/$a] received dead letter from Actor[pekko://test/user/leader421#-1002436160]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} 11:25:05,280 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior420#-492812634] [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.280] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/$b] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader421#-1002436160] to Actor[pekko://test/user/$b] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$b] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.280] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/$a] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader421#-1002436160] to Actor[pekko://test/user/$a] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$a] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,280 AM [test-pekko.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader421#-1002436160] to Actor[pekko://test/user/$b] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$b] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,280 AM [test-pekko.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader421#-1002436160] to Actor[pekko://test/user/$a] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$a] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,281 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader421#-1002436160] 11:25:05,281 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender422#-2138087262] 11:25:05,282 AM [main] [DEBUG] MockRaftActorContext - isolated-leader: Moving last applied index from -1 to 1 11:25:05,282 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [follower-2, follower-1] 11:25:05,282 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,282 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,282 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader): handleAppendEntriesReply: follower follower-1 last log term 0 for index 0 conflicts with the leader's 1 - set the follower's next index to -1 [WARN] [11/11/2024 11:25:05.282] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$b] received dead letter from Actor[pekko://test/user/leader424#485819570]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} 11:25:05,282 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-1: active: true, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [11/11/2024 11:25:05.282] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$a] received dead letter from Actor[pekko://test/user/leader424#485819570]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} 11:25:05,282 AM [main] [INFO] MockRaftActorContext - IsolatedLeader isolated-leader switching from IsolatedLeader to Leader [WARN] [11/11/2024 11:25:05.282] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$a] received dead letter from Actor[pekko://test/user/leader424#485819570]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 11:25:05,282 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Election: Leader has following peers: [follower-2, follower-1] 11:25:05,282 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Checking sendAppendEntries for follower follower-2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,282 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Checking sendAppendEntries for follower follower-1: active: true, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,282 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:25:05,282 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader) :- Switching from behavior IsolatedLeader to Leader, election term: 1 [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.282] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$b] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$b] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$b] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,282 AM [main] [INFO] MockRaftActorContext - isolated-leader (Leader): handleAppendEntriesReply: follower follower-2 last log term 0 for index 0 conflicts with the leader's 1 - set the follower's next index to -1 [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.282] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$a] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$a] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$a] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,282 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Checking sendAppendEntries for follower follower-2: active: true, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [11/11/2024 11:25:05.282] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$b] received dead letter from Actor[pekko://test/user/leader424#485819570]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.282] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$a] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$a] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$a] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,282 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior423#-1050675238] [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.282] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$b] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$b] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$b] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,282 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$b] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$b] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,283 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$a] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$a] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,283 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$a] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$a] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,283 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$b] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$b] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [11/11/2024 11:25:05.283] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$a] received dead letter from Actor[pekko://test/user/leader424#485819570]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} [WARN] [11/11/2024 11:25:05.283] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$b] received dead letter from Actor[pekko://test/user/leader424#485819570]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.283] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$a] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$a] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$a] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,285 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$a] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$a] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,285 AM [test-pekko.actor.default-dispatcher-8] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$b] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$b] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.285] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$b] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader424#485819570] to Actor[pekko://test/user/$b] was not delivered. [8] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$b] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,287 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader424#485819570] 11:25:05,287 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender425#-792078961] 11:25:05,289 AM [main] [DEBUG] MockRaftActorContext - isolated-leader: Moving last applied index from -1 to 1 11:25:05,289 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [follower-4, follower-3, follower-2, follower-1] 11:25:05,289 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-4: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,289 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-3: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,289 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-2: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,289 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-1: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,290 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader): handleAppendEntriesReply: follower follower-1 last log term 0 for index 0 conflicts with the leader's 1 - set the follower's next index to -1 11:25:05,290 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-1: active: true, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,290 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader): handleAppendEntriesReply: follower follower-2 last log term 0 for index 0 conflicts with the leader's 1 - set the follower's next index to -1 11:25:05,290 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Checking sendAppendEntries for follower follower-2: active: true, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,290 AM [main] [INFO] MockRaftActorContext - IsolatedLeader isolated-leader switching from IsolatedLeader to Leader 11:25:05,290 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Election: Leader has following peers: [follower-4, follower-3, follower-2, follower-1] 11:25:05,290 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Checking sendAppendEntries for follower follower-4: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,290 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Checking sendAppendEntries for follower follower-3: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,290 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Checking sendAppendEntries for follower follower-2: active: true, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,290 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Checking sendAppendEntries for follower follower-1: active: true, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,290 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:25:05,290 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader) :- Switching from behavior IsolatedLeader to Leader, election term: 1 11:25:05,290 AM [test-pekko.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader427#1698316594] to Actor[pekko://test/user/$d] was not delivered. [9] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$d] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,290 AM [main] [INFO] MockRaftActorContext - isolated-leader (Leader): handleAppendEntriesReply: follower follower-3 last log term 0 for index 0 conflicts with the leader's 1 - set the follower's next index to -1 11:25:05,290 AM [test-pekko.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - pekkoDeadLetter Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader427#1698316594] to Actor[pekko://test/user/$c] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[pekko://test/user/$c] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. 11:25:05,290 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (Leader): Checking sendAppendEntries for follower follower-3: active: true, followerNextIndex: -1, leaderLastIndex: 1, leaderSnapShotIndex: -1 11:25:05,290 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior426#1079165034] 11:25:05,291 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader427#1698316594] [WARN] [11/11/2024 11:25:05.291] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/$d] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} 11:25:05,291 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender428#-1483019857] [WARN] [11/11/2024 11:25:05.291] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/$c] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} [WARN] [11/11/2024 11:25:05.291] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/$b] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} [WARN] [11/11/2024 11:25:05.291] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/$a] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} [WARN] [11/11/2024 11:25:05.291] [test-pekko.actor.default-dispatcher-14] [pekko://test/user/$a] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} [WARN] [11/11/2024 11:25:05.291] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$b] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.290] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/$d] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader427#1698316594] to Actor[pekko://test/user/$d] was not delivered. [9] dead letters encountered. If this is not an expected behavior then Actor[pekko://test/user/$d] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [11/11/2024 11:25:05.291] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$d] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} [WARN] [11/11/2024 11:25:05.291] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$c] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=4, leaderRaftVersion=5, entries==[]} [WARN] [11/11/2024 11:25:05.292] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$b] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} [WARN] [11/11/2024 11:25:05.292] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$a] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} [INFO] [pekkoDeadLetter][11/11/2024 11:25:05.290] [test-pekko.actor.default-dispatcher-5] [pekko://test/user/$c] Message [org.opendaylight.controller.cluster.raft.messages.AppendEntries] from Actor[pekko://test/user/leader427#1698316594] to Actor[pekko://test/user/$c] was not delivered. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. If this is not an expected behavior then Actor[pekko://test/user/$c] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'pekko.log-dead-letters' and 'pekko.log-dead-letters-during-shutdown'. [WARN] [11/11/2024 11:25:05.292] [test-pekko.actor.default-dispatcher-8] [pekko://test/user/$c] received dead letter from Actor[pekko://test/user/leader427#1698316594]: AppendEntries{term=1, leaderId=isolated-leader, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]} 11:25:05,292 AM [main] [INFO] IsolatedLeaderTest - Starting testLeaderSchedulesHeartbeatsEvenWhenNoFollowersRespondToInitialAppendEntries 11:25:05,293 AM [main] [DEBUG] MockRaftActorContext - leader432: Moving last applied index from -1 to 1 11:25:05,293 AM [main] [DEBUG] MockRaftActorContext - leader432 (IsolatedLeader): Election: Leader has following peers: [follower434, follower433] 11:25:05,293 AM [main] [DEBUG] MockRaftActorContext - leader432 (IsolatedLeader): Checking sendAppendEntries for follower follower434: active: false, followerNextIndex: 1, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:25:05,293 AM [main] [DEBUG] MockRaftActorContext - leader432 (IsolatedLeader): Checking sendAppendEntries for follower follower433: active: false, followerNextIndex: 1, leaderLastIndex: 4, leaderSnapShotIndex: -1 11:25:06,294 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior429#349334930] 11:25:06,295 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader430#-1705950985] 11:25:06,295 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender431#-1691140476] 11:25:06,295 AM [main] [INFO] TestActorFactory - Killing actor TestActor[pekko://test/user/leader432] 11:25:06,295 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower433#755794597] 11:25:06,295 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/follower434#-1521980753] 11:25:06,297 AM [main] [DEBUG] MockRaftActorContext - isolated-leader: Moving last applied index from -1 to 1 11:25:06,297 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,297 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1, votedFor: test, lastIndex: 1, lastTerm: 1 11:25:06,297 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): requestVote returning: RequestVoteReply{term=1, voteGranted=true} 11:25:06,297 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior435#699319211] 11:25:06,298 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader436#-2041916468] 11:25:06,298 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender437#796331699] 11:25:06,299 AM [main] [DEBUG] MockRaftActorContext - isolated-leader: Moving last applied index from -1 to 1 11:25:06,299 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,299 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): handleAppendEntries: AppendEntries{term=2, leaderId=leader-1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[SimpleReplicatedLogEntry [index=0, term=2, payload=zero]]} 11:25:06,300 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior438#-2043683159] 11:25:06,300 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader439#287484636] 11:25:06,300 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender440#-528391180] 11:25:06,301 AM [main] [DEBUG] MockRaftActorContext - isolated-leader: Moving last applied index from -1 to 1 11:25:06,301 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,302 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): In requestVote: RequestVote{term=1, candidateId=test, lastLogIndex=1999, lastLogTerm=1} - currentTerm: 1, votedFor: test, lastIndex: 2000, lastTerm: 1 11:25:06,302 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): requestVote returning: RequestVoteReply{term=1, voteGranted=false} 11:25:06,302 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior441#1144007653] 11:25:06,302 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader442#-936389130] 11:25:06,302 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender443#-2137297451] 11:25:06,303 AM [main] [DEBUG] MockRaftActorContext - isolated-leader: Moving last applied index from -1 to 1 11:25:06,303 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,303 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader): Term 100 in "AppendEntries{term=100, leaderId=leader-1, prevLogIndex=0, prevLogTerm=0, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=0, recipientRaftVersion=5, leaderRaftVersion=5, entries==[]}" message is greater than leader's term 1 - switching to Follower 11:25:06,304 AM [main] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 11:25:06,304 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 100 11:25:06,304 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,304 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader): Term 100 in "AppendEntriesReply{term=100, success=false, followerId=follower-1, logLastIndex=100, logLastTerm=100, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=0, raftVersion=5, recipientRaftVersion=5}" message is greater than leader's term 1 - switching to Follower 11:25:06,304 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 100 11:25:06,304 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,304 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 11:25:06,304 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Cluster state: [] 11:25:06,304 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Candidate in requestVote:RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100} with higher term appears reachable, updating term. 11:25:06,304 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader): Term 100 in "RequestVote{term=100, candidateId=candidate-1, lastLogIndex=10, lastLogTerm=100}" message is greater than leader's term 1 - switching to Follower 11:25:06,304 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 100 11:25:06,304 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,304 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader): Term 100 in "RequestVoteReply{term=100, voteGranted=false}" message is greater than leader's term 1 - switching to Follower 11:25:06,304 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 100 11:25:06,304 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior444#-973531676] 11:25:06,304 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader445#1139162553] 11:25:06,304 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender446#-1293718869] 11:25:06,305 AM [main] [DEBUG] MockRaftActorContext - test: Moving last applied index from -1 to 1 11:25:06,305 AM [main] [DEBUG] MockRaftActorContext - test (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,306 AM [main] [DEBUG] MockRaftActorContext - test: Moving last applied index from 1 to 0 11:25:06,306 AM [main] [DEBUG] MockRaftActorContext - test: Moving last applied index from 0 to 0 11:25:06,306 AM [main] [DEBUG] MockRaftActorContext - test: Moving last applied index from 0 to 1 11:25:06,306 AM [main] [DEBUG] MockRaftActorContext - test: fakeSnapshot purging log to 0 for term 1 11:25:06,306 AM [main] [DEBUG] MockRaftActorContext - test: Moving last applied index from 1 to 2 11:25:06,306 AM [main] [DEBUG] MockRaftActorContext - test: fakeSnapshot purging log to 1 for term 1 11:25:06,306 AM [main] [DEBUG] MockRaftActorContext - test: Moving last applied index from 2 to 2 11:25:06,306 AM [main] [DEBUG] MockRaftActorContext - test: fakeSnapshot purging log to 1 for term 1 11:25:06,306 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior447#-1785119101] 11:25:06,306 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader448#593951269] 11:25:06,306 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender449#-1618638986] 11:25:06,307 AM [main] [DEBUG] MockRaftActorContext - isolated-leader: Moving last applied index from -1 to 1 11:25:06,307 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,307 AM [main] [INFO] MockRaftActorContext - isolated-leader (IsolatedLeader): Cannot append entries because sender's term 100 is less than 1000 11:25:06,307 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior450#-1713053433] 11:25:06,308 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader451#-1976311984] 11:25:06,308 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender452#967228798] 11:25:06,309 AM [main] [DEBUG] MockRaftActorContext - isolated-leader: Moving last applied index from -1 to 1 11:25:06,309 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): Election: Leader has following peers: [] 11:25:06,309 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): In requestVote: RequestVote{term=999, candidateId=test, lastLogIndex=10000, lastLogTerm=999} - currentTerm: 1000, votedFor: null, lastIndex: 1, lastTerm: 1 11:25:06,309 AM [main] [DEBUG] MockRaftActorContext - isolated-leader (IsolatedLeader): requestVote returning: RequestVoteReply{term=1000, voteGranted=false} 11:25:06,309 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/behavior453#-2107771803] 11:25:06,309 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/leader454#-1404774249] 11:25:06,309 AM [main] [INFO] TestActorFactory - Killing actor Actor[pekko://test/user/sender455#-434932879] 11:25:06,310 AM [test-pekko.actor.default-dispatcher-8] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [INFO] [11/11/2024 11:25:06.310] [main] [CoordinatedShutdown(pekko://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 11:25:06,312 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Exiting completed 11:25:06,312 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Shutting down... 11:25:06,312 AM [test-pekko.actor.default-dispatcher-8] [INFO] Cluster - Cluster Node [pekko://test@10.30.170.168:17355] - Successfully shut down 11:25:06,312 AM [test-pekko.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. 11:25:06,312 AM [test-pekko.actor.default-dispatcher-8] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. 11:25:06,313 AM [test-pekko.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down. [WARN] [11/11/2024 11:25:06.313] [test-pekko.actor.default-dispatcher-14] [pekko://test/system/cluster/core/daemon] unhandled message from Actor[pekko://test/deadLetters]: Leave(pekko://test@10.30.170.168:17355) [INFO] [11/11/2024 11:25:06.310] [test-pekko.actor.internal-dispatcher-3] [Cluster(pekko://test)] Cluster Node [pekko://test@10.30.170.168:17355] - Exiting completed