07:00:19,345 PM [test-akka.actor.default-dispatcher-5] [INFO] Slf4jLogger - Slf4jLogger started [DEBUG] [11/23/2024 19:00:19.336] [main] [EventStream(akka://test)] logger log1-TestEventListener started [DEBUG] [11/23/2024 19:00:19.346] [main] [EventStream(akka://test)] logger log2-Slf4jLogger started [DEBUG] [11/23/2024 19:00:19.347] [main] [EventStream(akka://test)] Default Loggers started [INFO] [11/23/2024 19:00:19.920] [main] [ArteryTransport(akka://test)] Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.97:25520] with UID [-4332893129417689337] 07:00:19,924 PM [test-akka.actor.default-dispatcher-5] [INFO] ArteryTransport - Remoting started with transport [Artery tcp]; listening on address [akka://test@10.30.170.97:25520] with UID [-4332893129417689337] [INFO] [11/23/2024 19:00:19.946] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.97:25520] - Starting up, Akka version [2.6.21] ... 07:00:19,946 PM [test-akka.actor.default-dispatcher-4] [INFO] Cluster - Cluster Node [akka://test@10.30.170.97:25520] - Starting up, Akka version [2.6.21] ... [INFO] [11/23/2024 19:00:20.031] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.97:25520] - Registered cluster JMX MBean [akka:type=Cluster] [INFO] [11/23/2024 19:00:20.031] [main] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.97:25520] - Started up successfully 07:00:20,35 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.97:25520] - Registered cluster JMX MBean [akka:type=Cluster] 07:00:20,35 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.97:25520] - Started up successfully [INFO] [11/23/2024 19:00:20.091] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.97:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing [INFO] [11/23/2024 19:00:20.091] [test-akka.actor.internal-dispatcher-10] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.97:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 07:00:20,96 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.97:25520] - No downing-provider-class configured, manual cluster downing required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#downing 07:00:20,96 PM [test-akka.actor.default-dispatcher-5] [INFO] Cluster - Cluster Node [akka://test@10.30.170.97:25520] - No seed-nodes configured, manual cluster join required, see https://doc.akka.io/docs/akka/current/typed/cluster.html#joining 07:00:20,397 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry starting 07:00:20,397 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [11/23/2024 19:00:20.542] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower2]: org.opendaylight.controller.cluster.common.actor.Monitor@24e6f093 [INFO] [akkaDeadLetter][11/23/2024 19:00:20.546] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower2] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:20,549 PM [test-akka.actor.default-dispatcher-5] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower2] to Actor[akka://test/user/termination-monitor] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,250 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower2 with journal batch size 1000 [WARN] [11/23/2024 19:00:21.271] [test-akka.actor.default-dispatcher-11] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) 07:00:21,271 PM [test-akka.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. [WARN] [11/23/2024 19:00:21.271] [test-akka.actor.default-dispatcher-11] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [WARN] [11/23/2024 19:00:21.272] [test-akka.actor.default-dispatcher-11] [akka://test/deadLetters] received dead letter: ActorIdentity(,Some(TestActor[akka://test/user/follower2])) [INFO] [akkaDeadLetter][11/23/2024 19:00:21.271] [test-akka.actor.default-dispatcher-5] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. [INFO] [akkaDeadLetter][11/23/2024 19:00:21.275] [test-akka.actor.default-dispatcher-5] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. [INFO] [akkaDeadLetter][11/23/2024 19:00:21.275] [test-akka.actor.default-dispatcher-5] [akka://test/deadLetters] Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,276 PM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [3] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,276 PM [test-akka.actor.default-dispatcher-5] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [akka.actor.ActorIdentity] to Actor[akka://test/deadLetters] was not delivered. [4] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] 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'. [WARN] [11/23/2024 19:00:21.282] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower3]: org.opendaylight.controller.cluster.common.actor.Monitor@7f90f87e [INFO] [akkaDeadLetter][11/23/2024 19:00:21.282] [test-akka.actor.default-dispatcher-4] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower3] to Actor[akka://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,282 PM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/follower3] to Actor[akka://test/user/termination-monitor] was not delivered. [5] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,283 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower3 with journal batch size 1000 07:00:21,303 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader1 with journal batch size 1000 [WARN] [11/23/2024 19:00:21.304] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader1]: org.opendaylight.controller.cluster.common.actor.Monitor@1d9ae5df [INFO] [akkaDeadLetter][11/23/2024 19:00:21.305] [test-akka.actor.default-dispatcher-11] [akka://test/user/termination-monitor] Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader1] to Actor[akka://test/user/termination-monitor] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,306 PM [test-akka.actor.default-dispatcher-11] [INFO] EmptyLocalActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.common.actor.Monitor] from TestActor[akka://test/user/leader1] to Actor[akka://test/user/termination-monitor] was not delivered. [6] dead letters encountered. If this is not an expected behavior then Actor[akka://test/user/termination-monitor] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,360 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:00:21,361 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:00:21,361 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:00:21,389 PM [test-akka.actor.default-dispatcher-4] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:00:21,390 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Received TimeoutNow - switching to Candidate 07:00:21,407 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Election: Candidate has following voting peers: [follower2, follower3] 07:00:21,407 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=1, votedFor=leader1 07:00:21,409 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Starting new election term 1 07:00:21,414 PM [main] [ERROR] RaftActorTestKit - FindLeader failed java.util.concurrent.TimeoutException: Future timed out after [100 milliseconds] at scala.concurrent.impl.Promise$DefaultPromise.tryAwait0(Promise.scala:248) at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:261) at scala.concurrent.Await$.$anonfun$result$1(package.scala:201) at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:62) at scala.concurrent.Await$.result(package.scala:124) at scala.concurrent.Await.result(package.scala) at org.opendaylight.controller.cluster.raft.RaftActorTestKit.waitUntilLeader(RaftActorTestKit.java:58) at org.opendaylight.controller.cluster.raft.AbstractRaftActorIntegrationTest.waitUntilLeader(AbstractRaftActorIntegrationTest.java:280) at org.opendaylight.controller.cluster.raft.IsolationScenarioTest.createRaftActors(IsolationScenarioTest.java:455) at org.opendaylight.controller.cluster.raft.IsolationScenarioTest.testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry(IsolationScenarioTest.java:139) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 07:00:21,410 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower2 07:00:21,418 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): Sending RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] to peer follower3 07:00:21,418 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 07:00:21,421 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:00:21,421 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:00:21,424 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Cluster state: [] 07:00:21,425 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:00:21,425 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:00:21,425 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=null 07:00:21,426 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:00:21,426 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=1, votedFor=leader1 07:00:21,426 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 07:00:21,426 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:00:21,426 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:00:21,426 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=null 07:00:21,426 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=1, candidateId=leader1, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:00:21,427 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=1, votedFor=leader1 07:00:21,427 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 07:00:21,426 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 07:00:21,444 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 07:00:21,444 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 [WARN] [11/23/2024 19:00:21.446] [test-akka.actor.default-dispatcher-14] [akka://test/deadLetters] received dead letter from TestActor[akka://test/user/leader1]: org.opendaylight.controller.cluster.raft.client.messages.FindLeaderReply@4c5521d0 [INFO] [akkaDeadLetter][11/23/2024 19:00:21.446] [test-akka.actor.default-dispatcher-14] [akka://test/deadLetters] Message [org.opendaylight.controller.cluster.raft.client.messages.FindLeaderReply] from TestActor[akka://test/user/leader1] to Actor[akka://test/deadLetters] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,447 PM [test-akka.actor.default-dispatcher-14] [INFO] RemoteActorRefProvider$RemoteDeadLetterActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.client.messages.FindLeaderReply] from TestActor[akka://test/user/leader1] to Actor[akka://test/deadLetters] was not delivered. [7] dead letters encountered. If this is not an expected behavior then Actor[akka://test/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,450 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Election: Leader has following peers: [follower2, follower3] 07:00:21,451 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:00:21,451 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:00:21,451 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 07:00:21,454 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower2: Last sync leader does not match current leader leader1, need to catch up to -1 07:00:21,457 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader leader1, need to catch up to -1 07:00:21,458 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: -1, nextIndex: 0 07:00:21,458 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:00:21,458 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: -1, nextIndex: 0 07:00:21,458 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/23/2024 19:00:21.459] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower2] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@56a7438 [WARN] [11/23/2024 19:00:21.459] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@a484d9f [INFO] [akkaDeadLetter][11/23/2024 19:00:21.459] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower2] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] 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'. [INFO] [akkaDeadLetter][11/23/2024 19:00:21.459] [test-akka.actor.default-dispatcher-4] [akka://test/user/follower3] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,460 PM [test-akka.actor.default-dispatcher-4] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower2] was unhandled. [8] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,460 PM [test-akka.actor.default-dispatcher-4] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] was unhandled. [9] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,478 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 07:00:21,479 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:21,485 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:21,487 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:00:21,492 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:21,492 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower2 07:00:21,492 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:21,499 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:21,499 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 0 is present for follower follower3 07:00:21,499 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:21,500 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 07:00:21,500 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:00:21,500 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log zero 07:00:21,501 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:21,501 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 1 07:00:21,499 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:21,507 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:21,507 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 07:00:21,507 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:00:21,507 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log zero 07:00:21,507 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:21,507 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 1 07:00:21,507 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower3, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:21,512 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 07:00:21,512 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 0, nextIndex: 1 07:00:21,513 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:21,513 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:21,514 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 07:00:21,514 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 0 07:00:21,514 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from -1 to 0 07:00:21,514 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 0 data zero 07:00:21,502 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower2, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:21,514 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached -1 (of expected -1) 07:00:21,515 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: zero 07:00:21,515 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 0, nextIndex: 1 07:00:21,515 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:21,515 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=0 07:00:21,522 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:21,522 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:21,522 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Commit index set to 0 07:00:21,522 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) [WARN] [11/23/2024 19:00:21.522] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3c0f0d26 07:00:21,522 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 07:00:21,522 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Setting last applied to 0 [WARN] [11/23/2024 19:00:21.522] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower2] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4b10450b 07:00:21,522 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from -1 to 0 07:00:21,523 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 0 data zero 07:00:21,523 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: zero 07:00:21,523 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=0 [INFO] [akkaDeadLetter][11/23/2024 19:00:21.525] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower3] Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,526 PM [test-akka.actor.default-dispatcher-16] [INFO] TestActorRef - akkaDeadLetter Message [org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus] to TestActor[akka://test/user/follower3] was unhandled. [10] dead letters encountered, no more dead letters will be logged in next [5.000 min]. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'. 07:00:21,692 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 07:00:21,692 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 0 07:00:21,692 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 07:00:21,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 07:00:21,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 0 07:00:21,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from -1 to 0 07:00:21,693 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 0 data zero 07:00:21,694 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: zero 07:00:21,694 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=0 07:00:21,734 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:21,734 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:21,735 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 07:00:21,735 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:21,735 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower2 07:00:21,736 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:21,736 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:21,736 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 1 is present for follower follower3 07:00:21,736 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:21,737 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:21,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Number of entries to be appended = 1 07:00:21,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 07:00:21,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Append entry to log one 07:00:21,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:21,737 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=leader1, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:21,738 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 07:00:21,738 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 07:00:21,738 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log one 07:00:21,738 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:21,738 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 2 07:00:21,738 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower3, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:21,738 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 07:00:21,739 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 07:00:21,739 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:21,739 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:21,739 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 07:00:21,740 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Setting last applied to 1 07:00:21,740 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 0 to 1 07:00:21,740 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 1 data one 07:00:21,740 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:21,740 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: one 07:00:21,737 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Log size is now 2 07:00:21,741 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 0 for term 1 07:00:21,741 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower2, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:21,741 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower2: Lagging 0 entries behind leader leader1 and reached 0 (of expected -1) 07:00:21,741 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=1 07:00:21,741 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower2 updated: matchIndex: 1, nextIndex: 2 07:00:21,742 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 07:00:21,743 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:21,789 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 07:00:21,791 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 07:00:21,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:00:21,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:00:21,792 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 07:00:21,793 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower2: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:21,793 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 07:00:21,793 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:21,793 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:21,794 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 07:00:21,794 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:21,795 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:00:21,930 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 07:00:21,931 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:21,931 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 07:00:21,932 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:22,51 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower2 07:00:22,51 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower2: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:22,51 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): sendAppendEntries: 2 is present for follower follower3 07:00:22,52 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=leader1, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:22,651 PM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: At least 1 followers need to be active, Switching leader1 from Leader to IsolatedLeader 07:00:22,652 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Election: Leader has following peers: [follower2, follower3] 07:00:22,653 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower2: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:22,653 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:22,654 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 07:00:22,661 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower2 07:00:22,663 PM [test-akka.actor.default-dispatcher-17] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:00:22,663 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower): Received TimeoutNow - switching to Candidate 07:00:22,663 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Election: Candidate has following voting peers: [follower3, leader1] 07:00:22,663 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Set currentTerm=2, votedFor=follower2 07:00:22,663 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Starting new election term 2 07:00:22,663 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer follower3 07:00:22,663 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): Sending RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] to peer leader1 07:00:22,663 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:00:22,664 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:00:22,664 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cluster state: [] 07:00:22,664 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 07:00:22,664 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 07:00:22,664 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=null 07:00:22,664 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): In requestVote: RequestVote [term=2, candidateId=follower2, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 07:00:22,665 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Set currentTerm=2, votedFor=follower2 07:00:22,665 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:00:22,667 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:00:22,667 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:00:22,667 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 07:00:22,670 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Election: Leader has following peers: [follower3, leader1] 07:00:22,670 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:22,670 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:22,672 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower3: Last sync leader does not match current leader follower2, need to catch up to -1 [WARN] [11/23/2024 19:00:22.672] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@4a3d47c8 07:00:22,672 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 07:00:22,673 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 1, nextIndex: 2 07:00:22,673 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 07:00:22,674 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:22,674 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:22,674 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:22,674 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 07:00:22,674 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:22,675 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 07:00:22,675 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=follower2, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab]]] 07:00:22,675 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:22,675 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 0 (of expected -1) 07:00:22,676 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 07:00:22,676 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): sendAppendEntries: 2 is present for follower follower3 07:00:22,676 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab]]] 07:00:22,676 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 07:00:22,676 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:00:22,676 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:22,676 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:22,676 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 3 07:00:22,676 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower3, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:22,676 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 0 (of expected -1) 07:00:22,677 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 2, nextIndex: 3 07:00:22,677 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 07:00:22,677 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:22,679 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:22,679 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 07:00:22,679 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 07:00:22,680 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 1 07:00:22,680 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 0 to 1 07:00:22,680 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 1 data one 07:00:22,680 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: one 07:00:22,680 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Setting last applied to 2 07:00:22,680 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 1 to 2 07:00:22,680 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:22,681 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 07:00:22,681 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Election: Leader has following peers: [leader1, follower3] 07:00:22,681 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:22,681 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:22,681 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 07:00:22,682 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:22,682 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=2 07:00:22,683 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 2 07:00:22,683 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) [WARN] [11/23/2024 19:00:22.683] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower3] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@44fab0ff 07:00:22,683 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 07:00:22,683 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 1 07:00:22,683 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 0 to 1 07:00:22,683 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 1 data one 07:00:22,683 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: one 07:00:22,683 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 2 07:00:22,684 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 1 to 2 07:00:22,684 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:22,684 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=2 07:00:22,714 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 07:00:22,714 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:22,714 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:22,714 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 07:00:22,715 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:00:22,715 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:00:22,715 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 3 is present for follower follower3 07:00:22,715 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Sending AppendEntries to follower follower3: AppendEntries [leaderId=follower2, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 07:00:22,715 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 07:00:22,715 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Number of entries to be appended = 1 07:00:22,716 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 07:00:22,716 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Append entry to log two-new 07:00:22,716 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:22,716 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Log size is now 4 07:00:22,716 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower3, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:22,716 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 2 (of expected -1) 07:00:22,717 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower3 updated: matchIndex: 3, nextIndex: 4 07:00:22,717 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower follower3: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:00:22,719 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:22,719 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 07:00:22,719 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Setting last applied to 3 07:00:22,719 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Moving last applied index from 2 to 3 07:00:22,719 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Applying state for log index 3 data two-new 07:00:22,719 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:22,719 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: applyState called: two-new 07:00:22,719 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: Persisting ApplyJournalEntries with index=3 07:00:22,911 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Commit index set to 3 07:00:22,911 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:22,911 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 3 07:00:22,911 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Setting last applied to 3 07:00:22,911 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Moving last applied index from 2 to 3 07:00:22,912 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Applying state for log index 3 data two-new 07:00:22,912 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: applyState called: two-new 07:00:22,912 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: Persisting ApplyJournalEntries with index=3 07:00:22,925 PM [main] [INFO] IsolationScenarioTest - Removing isolation 07:00:23,11 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Cannot append entries because sender's term 1 is less than 2 07:00:23,12 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower3 (Follower): Cannot append entries because sender's term 1 is less than 2 07:00:23,12 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower2, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 07:00:23,12 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Set currentTerm=2, votedFor=null 07:00:23,12 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 07:00:23,31 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Last sync leader does not match current leader follower2, need to catch up to -1 07:00:23,32 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,32 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply: follower leader1 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 07:00:23,32 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 1, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:00:23,32 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): sendAppendEntries: 1 is present for follower leader1 07:00:23,32 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Sending AppendEntries to follower leader1: AppendEntries [leaderId=follower2, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] [WARN] [11/23/2024 19:00:23.033] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@38dfb6c 07:00:23,34 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): handleAppendEntries: AppendEntries [leaderId=follower2, prevLogIndex=0, prevLogTerm=1, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 07:00:23,34 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Number of entries to be appended = 3 07:00:23,34 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 07:00:23,34 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] is present: existingEntryTerm: 1 07:00:23,34 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 07:00:23,35 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 07:00:23,35 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:23,35 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:23,35 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Append entry to log two-new 07:00:23,35 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:23,35 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Log size is now 3 07:00:23,35 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Commit index set to 3 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader1, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 1, lastIndex(): 3 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 2 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 1 to 2 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1 (Follower): Setting last applied to 3 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Moving last applied index from 2 to 3 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Applying state for log index 3 data two-new 07:00:23,36 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: applyState called: two-new 07:00:23,37 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader1 updated: matchIndex: 3, nextIndex: 4 07:00:23,37 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2: fakeSnapshot purging log to 2 for term 2 07:00:23,37 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower2 (Leader): Checking sendAppendEntries for follower leader1: active: true, followerNextIndex: 4, leaderLastIndex: 3, leaderSnapShotIndex: 2 07:00:23,43 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:23,43 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:23,44 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=3, lastAppliedTerm=2, lastIndex=3, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 07:00:23,51 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: lastSequenceNumber prior to capture: 10 07:00:23,52 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting ApplyJournalEntries with index=3 07:00:23,52 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: CaptureSnapshotReply received by actor 07:00:23,55 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=2, lastAppliedIndex=3, lastAppliedTerm=2, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two-new]], electionTerm=2, electionVotedFor=null, ServerConfigPayload=null] 07:00:23,67 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 0 and term: 1 [WARN] [11/23/2024 19:00:23.067] [test-akka.actor.default-dispatcher-16] [akka://test/user/leader1] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3f5dfa86 07:00:23,68 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SaveSnapshotSuccess received for snapshot, sequenceNr: 10 07:00:23,68 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: Snapshot success - sequence number: 10 07:00:23,70 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: SnapshotComplete received 07:00:23,75 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a journal response 07:00:23,80 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: handled a snapshot response 07:00:23,152 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,152 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader1: fakeSnapshot purging log to 2 for term 2 07:00:23,152 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,152 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower3: fakeSnapshot purging log to 2 for term 2 07:00:23,271 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,271 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,391 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,392 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,511 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,511 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,631 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,632 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,751 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,751 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,871 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,872 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,991 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:23,991 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,111 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,111 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,231 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,231 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,472 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,472 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,591 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,591 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,711 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,711 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,831 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,832 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,951 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:24,951 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,71 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,72 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,191 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,192 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,311 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,311 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,431 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,431 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,551 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,552 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,671 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,671 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,792 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,792 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,912 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:25,912 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,31 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,32 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,151 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,152 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,272 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,272 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,391 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,391 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,511 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,511 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,631 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,631 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,751 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,752 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,872 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,872 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,991 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:26,991 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,111 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,111 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,232 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,232 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,351 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,471 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,471 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,591 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,592 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,711 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,711 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,832 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,832 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,951 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:27,951 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:28,71 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader1: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:28,72 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower3: Lagging 0 entries behind leader follower2 and reached 3 (of expected -1) 07:00:28,144 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndOneConflictingEntry ending 07:00:28,159 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-notifier4#1092216456] 07:00:28,186 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower2-collector5#690165853] 07:00:28,187 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower2] 07:00:28,188 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower3-collector6#40531071] 07:00:28,188 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower3] 07:00:28,189 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-notifier7#1941230292] 07:00:28,189 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader1-collector8#-97073360] 07:00:28,190 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader1] 07:00:28,193 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted starting 07:00:28,193 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting 07:00:28,198 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower10 with journal batch size 1000 [WARN] [11/23/2024 19:00:28.198] [test-akka.actor.default-dispatcher-14] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower10]: org.opendaylight.controller.cluster.common.actor.Monitor@5c8a621e 07:00:28,202 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:00:28,307 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower11 with journal batch size 1000 [WARN] [11/23/2024 19:00:28.307] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower11]: org.opendaylight.controller.cluster.common.actor.Monitor@151dc50b 07:00:28,314 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:00:28,413 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader9 with journal batch size 1000 [WARN] [11/23/2024 19:00:28.413] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader9]: org.opendaylight.controller.cluster.common.actor.Monitor@2bdd6bae 07:00:28,418 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:00:28,418 PM [test-akka.actor.default-dispatcher-15] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:00:28,418 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Received TimeoutNow - switching to Candidate 07:00:28,419 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Election: Candidate has following voting peers: [follower10, follower11] 07:00:28,419 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=1, votedFor=leader9 07:00:28,419 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Starting new election term 1 07:00:28,419 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower10 07:00:28,419 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): Sending RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] to peer follower11 07:00:28,419 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Cluster state: [] 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=null 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=1, votedFor=leader9 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=null 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=1, candidateId=leader9, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=1, votedFor=leader9 07:00:28,420 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 07:00:28,423 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 07:00:28,423 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 07:00:28,424 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Election: Leader has following peers: [follower10, follower11] 07:00:28,424 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:00:28,424 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:00:28,424 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 07:00:28,425 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower10: Last sync leader does not match current leader leader9, need to catch up to -1 07:00:28,425 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: -1, nextIndex: 0 07:00:28,425 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/23/2024 19:00:28.425] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower10] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5d67bc0d 07:00:28,431 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader leader9, need to catch up to -1 07:00:28,431 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: -1, nextIndex: 0 07:00:28,431 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/23/2024 19:00:28.431] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5dea727e 07:00:28,477 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 07:00:28,477 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:28,477 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:28,477 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:00:28,478 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:28,478 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower10 07:00:28,478 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:28,478 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:28,478 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 07:00:28,478 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:28,479 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:28,479 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:28,479 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 07:00:28,479 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:28,479 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower10 07:00:28,479 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:28,479 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 0 is present for follower follower11 07:00:28,479 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:28,480 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 07:00:28,480 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:00:28,480 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log zero 07:00:28,480 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:28,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:28,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 07:00:28,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:00:28,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log zero 07:00:28,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:28,480 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 1 07:00:28,480 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower10, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:28,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 1 07:00:28,480 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 07:00:28,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower11, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:28,480 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 07:00:28,480 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 0, nextIndex: 1 07:00:28,481 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:28,481 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower10 07:00:28,481 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:28,481 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 0, nextIndex: 1 07:00:28,481 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:28,481 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 1 is present for follower follower11 07:00:28,481 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:28,484 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:28,484 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:28,484 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 07:00:28,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 0 07:00:28,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from -1 to 0 07:00:28,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 0 data zero 07:00:28,485 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:28,485 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: zero 07:00:28,485 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Number of entries to be appended = 1 07:00:28,485 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 07:00:28,485 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Append entry to log one 07:00:28,485 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:28,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=0 07:00:28,485 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Log size is now 2 07:00:28,485 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower10, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:28,485 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 07:00:28,485 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [11/23/2024 19:00:28.486] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower10] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@40c52cb8 07:00:28,486 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=leader9, prevLogIndex=0, prevLogTerm=1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:28,486 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 07:00:28,486 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 07:00:28,486 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower10 updated: matchIndex: 1, nextIndex: 2 07:00:28,486 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log one 07:00:28,486 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] [WARN] [11/23/2024 19:00:28.486] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@5c7bac4 07:00:28,486 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 07:00:28,486 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower11, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:28,486 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:28,486 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached -1 (of expected -1) 07:00:28,486 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 07:00:28,486 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:28,487 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:28,487 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 07:00:28,487 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Setting last applied to 1 07:00:28,487 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 0 to 1 07:00:28,487 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 1 data one 07:00:28,488 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: one 07:00:28,488 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: fakeSnapshot purging log to 0 for term 1 07:00:28,488 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:28,488 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:28,488 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 0 07:00:28,488 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 0 07:00:28,488 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 0 (of expected -1) 07:00:28,488 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 0 (of expected -1) 07:00:28,488 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 07:00:28,488 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 1 07:00:28,488 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 0 07:00:28,488 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 0 07:00:28,488 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from -1 to 0 07:00:28,488 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from -1 to 0 07:00:28,488 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 0 data zero 07:00:28,488 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 0 data zero 07:00:28,489 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: zero 07:00:28,489 PM [test-akka.actor.default-dispatcher-17] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: zero 07:00:28,489 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=0 07:00:28,489 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=0 07:00:28,490 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=1 07:00:28,491 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Commit index set to 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower10: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 07:00:28,491 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Setting last applied to 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 0 to 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 1 data one 07:00:28,491 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader leader9 and reached 1 (of expected -1) 07:00:28,491 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: one 07:00:28,491 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 1, context.getLastApplied(): 0, lastIndex(): 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 0 for term 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 0 to 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 1 data one 07:00:28,491 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=1 07:00:28,491 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: one 07:00:28,491 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: fakeSnapshot purging log to 0 for term 1 07:00:28,491 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=1 07:00:28,532 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 07:00:28,532 PM [main] [INFO] IsolationScenarioTest - Sending payload to isolated leader 07:00:28,532 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:00:28,532 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:00:28,533 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 07:00:28,534 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower10: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:28,534 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 07:00:28,534 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:28,534 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:28,534 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 07:00:28,534 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:28,535 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:00:28,660 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 07:00:28,661 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:28,661 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 07:00:28,661 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:28,781 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower10 07:00:28,782 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower10: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:28,782 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): sendAppendEntries: 2 is present for follower follower11 07:00:28,782 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=leader9, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:29,21 PM [test-akka.actor.default-dispatcher-11] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: At least 1 followers need to be active, Switching leader9 from Leader to IsolatedLeader 07:00:29,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Election: Leader has following peers: [follower10, follower11] 07:00:29,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower10: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:29,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:29,22 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 07:00:29,37 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower10 07:00:29,37 PM [test-akka.actor.default-dispatcher-11] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:00:29,37 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower): Received TimeoutNow - switching to Candidate 07:00:29,37 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Election: Candidate has following voting peers: [leader9, follower11] 07:00:29,37 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Set currentTerm=2, votedFor=follower10 07:00:29,37 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Starting new election term 2 07:00:29,38 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer leader9 07:00:29,38 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): Sending RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] to peer follower11 07:00:29,38 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:00:29,38 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:00:29,38 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cluster state: [] 07:00:29,39 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 07:00:29,39 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 07:00:29,39 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=null 07:00:29,39 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): In requestVote: RequestVote [term=2, candidateId=follower10, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 07:00:29,39 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Set currentTerm=2, votedFor=follower10 07:00:29,39 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:00:29,43 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:00:29,43 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:00:29,44 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Election: Leader has following peers: [leader9, follower11] 07:00:29,44 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 07:00:29,44 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: false, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: 0 07:00:29,45 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Candidate) :- Switching from behavior Candidate to Leader, election term: 2 07:00:29,45 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower11: Last sync leader does not match current leader follower10, need to catch up to -1 07:00:29,45 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 1, nextIndex: 2 07:00:29,46 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: 0 [WARN] [11/23/2024 19:00:29.046] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@852c5df 07:00:29,46 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) [WARN] [11/23/2024 19:00:29.047] [test-akka.actor.default-dispatcher-18] [akka://test/user/follower11] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@7753eed 07:00:29,88 PM [main] [INFO] IsolationScenarioTest - Sending payload to new leader 07:00:29,88 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 07:00:29,88 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 07:00:29,88 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 2, isSendImmediate: true 07:00:29,88 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: false, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:29,89 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:29,89 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 2 is present for follower follower11 07:00:29,89 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Sending AppendEntries to follower follower11: AppendEntries [leaderId=follower10, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 07:00:29,89 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries: AppendEntries [leaderId=follower10, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 07:00:29,90 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Number of entries to be appended = 1 07:00:29,90 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:00:29,90 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Append entry to log two-new 07:00:29,90 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 07:00:29,90 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Log size is now 2 07:00:29,90 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower11, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:29,90 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 1 (of expected -1) 07:00:29,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower11 updated: matchIndex: 2, nextIndex: 3 07:00:29,90 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower follower11: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:29,92 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 07:00:29,92 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Applying to log - commitIndex: 2, lastAppliedIndex: 1 07:00:29,92 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Setting last applied to 2 07:00:29,92 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Moving last applied index from 1 to 2 07:00:29,92 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Applying state for log index 2 data two-new 07:00:29,92 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 07:00:29,92 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: applyState called: two-new 07:00:29,93 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: Persisting ApplyJournalEntries with index=2 07:00:29,281 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Commit index set to 2 07:00:29,281 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 07:00:29,281 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 07:00:29,282 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Setting last applied to 2 07:00:29,282 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Moving last applied index from 1 to 2 07:00:29,282 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Applying state for log index 2 data two-new 07:00:29,282 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: applyState called: two-new 07:00:29,282 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower11: Persisting ApplyJournalEntries with index=2 07:00:29,290 PM [main] [INFO] IsolationScenarioTest - Removing isolation 07:00:29,381 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Cannot append entries because sender's term 1 is less than 2 07:00:29,382 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower11 (Follower): Cannot append entries because sender's term 1 is less than 2 07:00:29,382 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower10, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 07:00:29,382 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Set currentTerm=2, votedFor=null 07:00:29,382 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 07:00:29,401 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower11: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 07:00:29,401 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader9: Last sync leader does not match current leader follower10, need to catch up to -1 07:00:29,401 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply: follower leader9 last log term 1 for index 2 conflicts with the leader's 2 - set the follower's next index to 1 07:00:29,401 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 1, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:29,401 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): sendAppendEntries: 1 is present for follower leader9 07:00:29,401 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Sending AppendEntries to follower leader9: AppendEntries [leaderId=follower10, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] [WARN] [11/23/2024 19:00:29.401] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@47b5a5b6 07:00:29,401 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): handleAppendEntries: AppendEntries [leaderId=follower10, prevLogIndex=0, prevLogTerm=1, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one], SimpleReplicatedLogEntry [index=2, term=2, payload=two-new]]] 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Number of entries to be appended = 2 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): matchEntry SimpleReplicatedLogEntry [index=1, term=1, payload=one] is present: existingEntryTerm: 1 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] is present: existingEntryTerm: 1 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): After cleanup, lastIndex: 1, entries to be added from: 1 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Append entry to log two-new 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Log size is now 2 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Commit index set to 2 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader9, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader9: Lagging 0 entries behind leader follower10 and reached 2 (of expected -1) 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 1, lastIndex(): 2 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9 (Follower): Setting last applied to 2 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Moving last applied index from 1 to 2 07:00:29,402 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader9 updated: matchIndex: 2, nextIndex: 3 07:00:29,402 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Applying state for log index 2 data two-new 07:00:29,403 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10: fakeSnapshot purging log to 1 for term 2 07:00:29,403 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower10 (Leader): Checking sendAppendEntries for follower leader9: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: 1 07:00:29,403 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: applyState called: two-new 07:00:29,404 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=two-new] 07:00:29,405 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader9: Persisting ApplyJournalEntries with index=2 [WARN] [11/23/2024 19:00:29.405] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader9] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@27d2fe99 07:00:29,442 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithAllPriorEntriesCommitted ending 07:00:29,442 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-notifier12#1382389061] 07:00:29,455 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower10-collector13#-440841597] 07:00:29,456 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower10] 07:00:29,457 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower11-collector14#-571323659] 07:00:29,457 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower11] 07:00:29,458 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-notifier15#1598929794] 07:00:29,458 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader9-collector16#-444507940] 07:00:29,459 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader9] 07:00:29,464 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries starting 07:00:29,464 PM [main] [INFO] IsolationScenarioTest - createRaftActors starting [WARN] [11/23/2024 19:00:29.469] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower18]: org.opendaylight.controller.cluster.common.actor.Monitor@39b0ab81 07:00:29,470 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower18 with journal batch size 1000 07:00:29,473 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 [WARN] [11/23/2024 19:00:29.473] [test-akka.actor.default-dispatcher-18] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/follower19]: org.opendaylight.controller.cluster.common.actor.Monitor@4df8e84e 07:00:29,473 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for follower19 with journal batch size 1000 07:00:29,482 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:00:29,579 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - Starting recovery for leader17 with journal batch size 1000 [WARN] [11/23/2024 19:00:29.580] [test-akka.actor.default-dispatcher-5] [akka://test/user/termination-monitor] received dead letter from TestActor[akka://test/user/leader17]: org.opendaylight.controller.cluster.common.actor.Monitor@637e210e 07:00:29,583 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Recovery completed - Switching actor to Follower - last log index = -1, last log term = -1, snapshot index = -1, snapshot term = -1, journal size = 0 07:00:29,678 PM [test-akka.actor.default-dispatcher-5] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:00:29,678 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Received TimeoutNow - switching to Candidate 07:00:29,678 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Election: Candidate has following voting peers: [follower18, follower19] 07:00:29,678 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=1, votedFor=leader17 07:00:29,679 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Starting new election term 1 07:00:29,679 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower18 07:00:29,679 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): Sending RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] to peer follower19 07:00:29,679 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower) :- Switching from behavior Follower to Candidate, election term: 1 07:00:29,680 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:00:29,680 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Cluster state: [] 07:00:29,680 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:00:29,680 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:00:29,680 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=null 07:00:29,680 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:00:29,680 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=1, votedFor=leader17 07:00:29,681 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:00:29,681 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 07:00:29,681 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] with higher term appears reachable, updating term. 07:00:29,681 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Term 1 in "RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1]" message is greater than follower's term 0 - updating term 07:00:29,681 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=null 07:00:29,681 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 07:00:29,681 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=1, candidateId=leader17, lastLogIndex=-1, lastLogTerm=-1] - currentTerm: 1, votedFor: null, lastIndex: -1, lastTerm: -1 07:00:29,681 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=1, votedFor=leader17 07:00:29,682 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=1, voteGranted=true] 07:00:29,682 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): RaftRPC message received RequestVoteReply [term=1, voteGranted=true], my term is 1 07:00:29,682 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate): handleRequestVoteReply: RequestVoteReply [term=1, voteGranted=true], current voteCount: 1 07:00:29,682 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Election: Leader has following peers: [follower18, follower19] 07:00:29,682 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:00:29,682 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: -1, leaderLastIndex: -1, leaderSnapShotIndex: -1 07:00:29,683 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Candidate) :- Switching from behavior Candidate to Leader, election term: 1 07:00:29,684 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower18: Last sync leader does not match current leader leader17, need to catch up to -1 07:00:29,684 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: -1, nextIndex: 0 07:00:29,684 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/23/2024 19:00:29.684] [test-akka.actor.default-dispatcher-11] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@6b91f96b 07:00:29,684 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Last sync leader does not match current leader leader17, need to catch up to -1 07:00:29,684 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: -1, nextIndex: 0 07:00:29,684 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: -1, leaderSnapShotIndex: -1 [WARN] [11/23/2024 19:00:29.684] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@2564aeb3 07:00:29,685 PM [main] [INFO] IsolationScenarioTest - createRaftActors ending 07:00:29,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:29,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:29,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=zero}, logIndex: 0, isSendImmediate: true 07:00:29,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:29,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower18 07:00:29,685 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:29,686 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 0, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:29,686 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 0 is present for follower follower19 07:00:29,686 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:29,686 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:29,686 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 07:00:29,686 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:00:29,686 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log zero 07:00:29,686 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:29,686 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=-1, prevLogTerm=-1, leaderCommit=-1, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=0, term=1, payload=zero]]] 07:00:29,686 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 1 07:00:29,686 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 07:00:29,687 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: -1, entries to be added from: 0 07:00:29,687 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log zero 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower18, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:29,687 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 07:00:29,687 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 1 07:00:29,687 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower19, logLastIndex=0, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:29,687 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached -1 (of expected -1) 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 0, nextIndex: 1 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 0, nextIndex: 1 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 0, leaderSnapShotIndex: -1 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 0, lastAppliedIndex: -1 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 0 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from -1 to 0 07:00:29,687 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 0 data zero 07:00:29,688 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: zero 07:00:29,688 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=0 07:00:29,688 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [11/23/2024 19:00:29.688] [test-akka.actor.default-dispatcher-16] [akka://test/user/follower18] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@11fbb0d7 07:00:29,689 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=0, term=1, payload=zero] [WARN] [11/23/2024 19:00:29.689] [test-akka.actor.default-dispatcher-17] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@34089fa8 07:00:29,801 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Commit index set to 0 07:00:29,801 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 07:00:29,801 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 07:00:29,801 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Setting last applied to 0 07:00:29,801 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 0 07:00:29,801 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from -1 to 0 07:00:29,802 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 0 data zero 07:00:29,802 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 07:00:29,802 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 0, context.getLastApplied(): -1, lastIndex(): 0 07:00:29,802 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 0 07:00:29,802 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from -1 to 0 07:00:29,802 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 0 data zero 07:00:29,802 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: zero 07:00:29,802 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: zero 07:00:29,802 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=0 07:00:29,802 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=0 07:00:29,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:29,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:29,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=one}, logIndex: 1, isSendImmediate: true 07:00:29,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:29,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower18 07:00:29,839 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:29,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 1, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:29,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 1 is present for follower follower19 07:00:29,840 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:29,840 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:29,840 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Number of entries to be appended = 1 07:00:29,840 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 07:00:29,840 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Append entry to log one 07:00:29,840 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:29,840 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=leader17, prevLogIndex=0, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=1, term=1, payload=one]]] 07:00:29,840 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Log size is now 2 07:00:29,840 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 07:00:29,840 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 0, entries to be added from: 0 07:00:29,840 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower18, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:29,840 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log one 07:00:29,840 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:29,840 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower18: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 07:00:29,841 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 2 07:00:29,841 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=1, success=true, followerId=follower19, logLastIndex=1, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:29,841 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader leader17 and reached 0 (of expected -1) 07:00:29,841 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower18 updated: matchIndex: 1, nextIndex: 2 07:00:29,841 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:29,841 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 07:00:29,841 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:29,841 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:29,841 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Applying to log - commitIndex: 1, lastAppliedIndex: 0 07:00:29,841 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Setting last applied to 1 07:00:29,841 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 0 to 1 07:00:29,841 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 1 data one 07:00:29,842 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:29,842 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: one 07:00:29,842 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: fakeSnapshot purging log to 0 for term 1 07:00:29,842 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=1 07:00:29,842 PM [test-akka.actor.default-dispatcher-17] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=1, term=1, payload=one] 07:00:29,893 PM [main] [INFO] IsolationScenarioTest - Isolating the leader 07:00:29,893 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to isolated leader 07:00:29,893 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:00:29,893 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:00:29,894 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=two}, logIndex: 2, isSendImmediate: true 07:00:29,894 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:29,894 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 07:00:29,894 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:29,894 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: 0 07:00:29,894 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 07:00:29,894 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two]]] 07:00:29,894 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:00:29,894 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=three}, logIndex: 3, isSendImmediate: true 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 3, leaderSnapShotIndex: 0 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persist data SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Replicate message: identifier: MockIdentifier{value=four}, logIndex: 4, isSendImmediate: true 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower18: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 0 07:00:29,895 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 07:00:29,896 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=1, payload=two] 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=1, payload=three] 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=1, lastAppliedTerm=1, lastIndex=3, lastTerm=1, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=3, mandatoryTrim=false] 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 7 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting of snapshot done: Snapshot [lastIndex=3, lastTerm=1, lastAppliedIndex=1, lastAppliedTerm=1, unAppliedEntries size=3, state=MockSnapshotState [state=[zero, one]], electionTerm=1, electionVotedFor=leader17, ServerConfigPayload=null] 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 1 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 1 and term: 1 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=1, payload=four] 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 7 07:00:29,897 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 7 07:00:29,898 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 07:00:29,898 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 07:00:29,899 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 07:00:30,42 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 07:00:30,42 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 07:00:30,42 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 07:00:30,42 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 07:00:30,161 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower18 07:00:30,161 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower18: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 07:00:30,161 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): sendAppendEntries: 2 is present for follower follower19 07:00:30,161 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=leader17, prevLogIndex=1, prevLogTerm=1, leaderCommit=1, replicatedToAllIndex=0, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=1, payload=two], SimpleReplicatedLogEntry [index=3, term=1, payload=three], SimpleReplicatedLogEntry [index=4, term=1, payload=four]]] 07:00:30,281 PM [test-akka.actor.default-dispatcher-16] [WARN] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: At least 1 followers need to be active, Switching leader17 from Leader to IsolatedLeader 07:00:30,281 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Election: Leader has following peers: [follower18, follower19] 07:00:30,281 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower18: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 07:00:30,282 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 2, leaderLastIndex: 4, leaderSnapShotIndex: 1 07:00:30,282 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Leader) :- Switching from behavior Leader to IsolatedLeader, election term: 1 07:00:30,297 PM [main] [INFO] IsolationScenarioTest - Forcing election on follower18 07:00:30,297 PM [test-akka.actor.default-dispatcher-16] [DEBUG] DefaultConfigParamsImpl - No custom RaftPolicy specified. Using DefaultRaftPolicy 07:00:30,298 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower): Received TimeoutNow - switching to Candidate 07:00:30,298 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Election: Candidate has following voting peers: [follower19, leader17] 07:00:30,298 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Set currentTerm=2, votedFor=follower18 07:00:30,298 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Starting new election term 2 07:00:30,298 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer follower19 07:00:30,298 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): Sending RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] to peer leader17 07:00:30,298 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Found higher term in RequestVote rpc, verifying whether it's safe to update term. 07:00:30,298 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cluster state: [] 07:00:30,298 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Candidate in requestVote:RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] with higher term appears reachable, updating term. 07:00:30,298 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Follower) :- Switching from behavior Follower to Candidate, election term: 2 07:00:30,298 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Term 2 in "RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1]" message is greater than follower's term 1 - updating term 07:00:30,299 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=null 07:00:30,299 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): In requestVote: RequestVote [term=2, candidateId=follower18, lastLogIndex=1, lastLogTerm=1] - currentTerm: 2, votedFor: null, lastIndex: 1, lastTerm: 1 07:00:30,299 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Set currentTerm=2, votedFor=follower18 07:00:30,299 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): requestVote returning: RequestVoteReply [term=2, voteGranted=true] 07:00:30,300 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): RaftRPC message received RequestVoteReply [term=2, voteGranted=true], my term is 2 07:00:30,300 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): handleRequestVoteReply: RequestVoteReply [term=2, voteGranted=true], current voteCount: 1 07:00:30,301 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate): LastApplied index 0 is behind last index 1 - switching to PreLeader 07:00:30,301 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Election: Leader has following peers: [follower19, leader17] 07:00:30,301 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:30,301 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 1, leaderSnapShotIndex: -1 07:00:30,301 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Last sync leader does not match current leader follower18, need to catch up to -1 07:00:30,301 PM [test-akka.actor.default-dispatcher-11] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Candidate) :- Switching from behavior Candidate to PreLeader, election term: 2 07:00:30,302 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 1, nextIndex: 2 07:00:30,302 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 07:00:30,302 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 1, leaderSnapShotIndex: -1 [WARN] [11/23/2024 19:00:30.301] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@3370ce7a 07:00:30,302 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:30,302 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:30,302 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 0 (of expected -1) 07:00:30,302 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Replicate message: identifier: null, logIndex: 2, isSendImmediate: true 07:00:30,302 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 2, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:30,302 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 07:00:30,302 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab]]] [WARN] [11/23/2024 19:00:30.302] [test-akka.actor.default-dispatcher-15] [akka://test/user/follower19] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@55a24c5a 07:00:30,303 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:30,303 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=1, prevLogTerm=1, leaderCommit=0, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab]]] 07:00:30,303 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 07:00:30,303 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 07:00:30,303 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:00:30,303 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:30,303 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:30,303 PM [test-akka.actor.default-dispatcher-11] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): sendAppendEntries: 2 is present for follower follower19 07:00:30,303 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 3 07:00:30,303 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=2, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:30,304 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 0 (of expected -1) 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 2, nextIndex: 3 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Not updating commit index to 1 - retrieved log entry with index 1, term 1 does not match the current term 2 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Applying to log - commitIndex: 2, lastAppliedIndex: 0 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 1 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 0 to 1 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 1 data one 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: one 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Setting last applied to 2 07:00:30,304 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 1 to 2 07:00:30,304 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:30,305 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader): Received ApplyState [identifier=null, replicatedLogEntry=SimpleReplicatedLogEntry [index=1, term=1, payload=one]] - lastApplied: 2, lastIndex: 2 07:00:30,305 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Election: Leader has following peers: [leader17, follower19] 07:00:30,305 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:30,305 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 2, leaderSnapShotIndex: -1 07:00:30,305 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (PreLeader) :- Switching from behavior PreLeader to Leader, election term: 2 07:00:30,305 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 2 07:00:30,305 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 07:00:30,305 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 2, context.getLastApplied(): 0, lastIndex(): 2 07:00:30,305 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 1 07:00:30,305 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 0 to 1 07:00:30,305 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 1 data one 07:00:30,306 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: one 07:00:30,306 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 2 07:00:30,306 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=2 07:00:30,306 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 1 to 2 07:00:30,306 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:30,306 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=2 07:00:30,348 PM [main] [INFO] IsolationScenarioTest - Sending 3 payloads to new leader 07:00:30,348 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:30,348 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:30,348 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=two-new}, logIndex: 3, isSendImmediate: true 07:00:30,348 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:00:30,348 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 3, leaderSnapShotIndex: -1 07:00:30,348 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=three-new}, logIndex: 4, isSendImmediate: true 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:00:30,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=2, prevLogTerm=2, leaderCommit=2, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new]]] 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 4, leaderSnapShotIndex: -1 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 07:00:30,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 1 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persist data SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 07:00:30,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 2, entries to be added from: 0 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 07:00:30,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log two-new 07:00:30,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Replicate message: identifier: MockIdentifier{value=four-new}, logIndex: 5, isSendImmediate: true 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: false, followerNextIndex: 0, leaderLastIndex: 5, leaderSnapShotIndex: -1 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower follower19 07:00:30,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 4 07:00:30,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=3, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:30,349 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 2 (of expected -1) 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 3, nextIndex: 4 07:00:30,349 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 3, lastAppliedIndex: 2 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 3 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 2 to 3 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 3 data two-new 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: two-new 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 4, leaderLastIndex: 5, leaderSnapShotIndex: -1 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 4 is present for follower follower19 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower follower19: AppendEntries [leaderId=follower18, prevLogIndex=3, prevLogTerm=2, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=3 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:30,350 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=3, prevLogTerm=2, leaderCommit=3, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Number of entries to be appended = 2 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): After cleanup, lastIndex: 3, entries to be added from: 0 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log three-new 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Append entry to log four-new 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Log size is now 6 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 3 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=follower19, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 3 (of expected -1) 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 3, context.getLastApplied(): 2, lastIndex(): 5 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 3 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 2 to 3 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 3 data two-new 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for follower19 updated: matchIndex: 5, nextIndex: 6 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Applying to log - commitIndex: 5, lastAppliedIndex: 3 07:00:30,351 PM [test-akka.actor.default-dispatcher-5] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: two-new 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 4 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 3 to 4 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 4 data three-new 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: three-new 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Setting last applied to 5 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Moving last applied index from 4 to 5 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Applying state for log index 5 data four-new 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: applyState called: four-new 07:00:30,351 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower follower19: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: -1 07:00:30,352 PM [test-akka.actor.default-dispatcher-15] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: Persisting ApplyJournalEntries with index=5 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=3 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Commit index set to 5 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 3, lastIndex(): 5 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 4 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 3 to 4 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 4 data three-new 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: three-new 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Setting last applied to 5 07:00:30,352 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Moving last applied index from 4 to 5 07:00:30,353 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Applying state for log index 5 data four-new 07:00:30,353 PM [test-akka.actor.default-dispatcher-4] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: applyState called: four-new 07:00:30,353 PM [test-akka.actor.default-dispatcher-4] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: Persisting ApplyJournalEntries with index=5 07:00:30,399 PM [main] [INFO] IsolationScenarioTest - Removing isolation 07:00:30,401 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Cannot append entries because sender's term 1 is less than 2 07:00:30,401 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower19 (Follower): Cannot append entries because sender's term 1 is less than 2 07:00:30,402 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader): Term 2 in "AppendEntriesReply [term=2, success=false, followerId=follower18, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5]" message is greater than leader's term 1 - switching to Follower 07:00:30,402 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Set currentTerm=2, votedFor=null 07:00:30,402 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (IsolatedLeader) :- Switching from behavior IsolatedLeader to Follower, election term: 2 07:00:30,421 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Last sync leader does not match current leader follower18, need to catch up to -1 07:00:30,421 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply: follower leader17 last log term 1 for index 4 conflicts with the leader's 2 - set the follower's next index to 3 07:00:30,421 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 3, leaderLastIndex: 5, leaderSnapShotIndex: -1 07:00:30,421 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 3 is present for follower leader17 07:00:30,421 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower leader17: AppendEntries [leaderId=follower18, prevLogIndex=2, prevLogTerm=2, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] [WARN] [11/23/2024 19:00:30.421] [test-akka.actor.default-dispatcher-11] [akka://test/user/leader17] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@1bc79f61 07:00:30,422 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=2, prevLogTerm=2, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 07:00:30,422 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): The prevLogIndex 2 was found in the log but the term 1 is not equal to the append entries prevLogTerm 2 - lastIndex: 4, snapshotIndex: 1, snapshotTerm: 1 07:00:30,422 PM [test-akka.actor.default-dispatcher-18] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Follower is out-of-sync so sending negative reply: AppendEntriesReply [term=2, success=false, followerId=leader17, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:30,422 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 4 entries behind leader follower18 and reached 1 (of expected -1) 07:00:30,422 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - received unsuccessful reply: AppendEntriesReply [term=2, success=false, followerId=leader17, logLastIndex=4, logLastTerm=1, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5], leader snapshotIndex: -1, snapshotTerm: -1, replicatedToAllIndex: -1 07:00:30,422 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): follower leader17 last log term 1 conflicts with the leader's 2 - dec next index to 2 07:00:30,422 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 2, leaderLastIndex: 5, leaderSnapShotIndex: -1 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): sendAppendEntries: 2 is present for follower leader17 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Sending AppendEntries to follower leader17: AppendEntries [leaderId=follower18, prevLogIndex=1, prevLogTerm=1, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] [WARN] [11/23/2024 19:00:30.422] [test-akka.actor.default-dispatcher-18] [akka://test/user/leader17] unhandled message from Actor[akka://test/deadLetters]: org.opendaylight.controller.cluster.raft.base.messages.FollowerInitialSyncUpStatus@50074f2 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): handleAppendEntries: AppendEntries [leaderId=follower18, prevLogIndex=1, prevLogTerm=1, leaderCommit=5, replicatedToAllIndex=-1, payloadVersion=5, recipientRaftVersion=5, leaderRaftVersion=5, leaderAddress=null, entries=[SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab], SimpleReplicatedLogEntry [index=3, term=2, payload=two-new], SimpleReplicatedLogEntry [index=4, term=2, payload=three-new], SimpleReplicatedLogEntry [index=5, term=2, payload=four-new]]] 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Number of entries to be appended = 4 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): matchEntry SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] is present: existingEntryTerm: 1 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Removing entries from log starting at 2, commitIndex: 1, lastApplied: 1 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): After cleanup, lastIndex: 1, entries to be added from: 0 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log two-new 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log three-new 07:00:30,423 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Append entry to log four-new 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Append log entry and persist SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Log size is now 4 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Commit index set to 5 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): handleAppendEntries returning : AppendEntriesReply [term=2, success=true, followerId=leader17, logLastIndex=5, logLastTerm=2, forceInstallSnapshot=false, needsLeaderAddress=false, payloadVersion=5, raftVersion=5, recipientRaftVersion=5] 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): applyLogToStateMachine, appendEntries.getLeaderCommit(): 5, context.getLastApplied(): 1, lastIndex(): 5 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 2 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 1 to 2 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 2 data org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 3 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 2 to 3 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 3 data two-new 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: two-new 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 4 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 3 to 4 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 4 data three-new 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: three-new 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17 (Follower): Setting last applied to 5 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Moving last applied index from 4 to 5 07:00:30,424 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Applying state for log index 5 data four-new 07:00:30,425 PM [test-akka.actor.default-dispatcher-16] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: applyState called: four-new 07:00:30,425 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): handleAppendEntriesReply - FollowerLogInformation for leader17 updated: matchIndex: 5, nextIndex: 6 07:00:30,425 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18: fakeSnapshot purging log to 4 for term 2 07:00:30,425 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower18 (Leader): Checking sendAppendEntries for follower leader17: active: true, followerNextIndex: 6, leaderLastIndex: 5, leaderSnapShotIndex: 4 07:00:30,426 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=2, term=2, payload=org.opendaylight.controller.cluster.raft.persisted.NoopPayload@6ea900ab] 07:00:30,426 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=3, term=2, payload=two-new] 07:00:30,426 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=4, term=2, payload=three-new] 07:00:30,427 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: persist complete SimpleReplicatedLogEntry [index=5, term=2, payload=four-new] 07:00:30,427 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Initiating snapshot capture CaptureSnapshot [lastAppliedIndex=5, lastAppliedTerm=2, lastIndex=5, lastTerm=2, installSnapshotInitiated=, replicatedToAllIndex=-1, replicatedToAllTerm=-1, unAppliedEntries size=0, mandatoryTrim=false] 07:00:30,427 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: lastSequenceNumber prior to capture: 14 07:00:30,427 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting ApplyJournalEntries with index=5 07:00:30,427 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: CaptureSnapshotReply received by actor 07:00:30,428 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Persisting of snapshot done: Snapshot [lastIndex=5, lastTerm=2, lastAppliedIndex=5, lastAppliedTerm=2, unAppliedEntries size=0, state=MockSnapshotState [state=[zero, one, two-new, three-new, four-new]], electionTerm=2, electionVotedFor=null, ServerConfigPayload=null] 07:00:30,428 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: log size 4 exceeds the snapshot batch count 4 - doing snapshotPreCommit with index 5 07:00:30,428 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Removed in-memory snapshotted entries, adjusted snaphsotIndex: 5 and term: 2 07:00:30,428 PM [test-akka.actor.default-dispatcher-14] [INFO] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SaveSnapshotSuccess received for snapshot, sequenceNr: 14 07:00:30,428 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: Snapshot success - sequence number: 14 07:00:30,428 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: SnapshotComplete received 07:00:30,429 PM [test-akka.actor.default-dispatcher-14] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a snapshot response 07:00:30,430 PM [test-akka.actor.default-dispatcher-16] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - leader17: handled a journal response 07:00:30,541 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:30,541 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:30,541 PM [test-akka.actor.default-dispatcher-18] [DEBUG] AbstractRaftActorIntegrationTest$TestRaftActor - follower19: fakeSnapshot purging log to 4 for term 2 07:00:30,661 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:30,661 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:30,780 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:30,780 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:30,901 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:30,902 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,21 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,22 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,141 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,141 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,261 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,261 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,381 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,381 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,500 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,501 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,621 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,621 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,742 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,742 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,861 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,861 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,982 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:31,982 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,101 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,101 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,221 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,221 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,341 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,341 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,461 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,461 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,581 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,581 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,700 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,700 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,821 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,821 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,941 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:32,941 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,61 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,61 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,181 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,182 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,301 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,302 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,422 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,422 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,541 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,541 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,662 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,662 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,781 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,781 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,902 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:33,902 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,21 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,22 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,141 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,141 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,261 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,261 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,382 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,382 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,501 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,501 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,621 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,621 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,741 PM [test-akka.actor.default-dispatcher-11] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,741 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,861 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,861 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,982 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:34,982 PM [test-akka.actor.default-dispatcher-17] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:35,101 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:35,101 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:35,221 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:35,221 PM [test-akka.actor.default-dispatcher-5] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:35,341 PM [test-akka.actor.default-dispatcher-14] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:35,341 PM [test-akka.actor.default-dispatcher-15] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:35,461 PM [test-akka.actor.default-dispatcher-18] [DEBUG] SyncStatusTracker - follower19: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:35,461 PM [test-akka.actor.default-dispatcher-16] [DEBUG] SyncStatusTracker - leader17: Lagging 0 entries behind leader follower18 and reached 5 (of expected -1) 07:00:35,514 PM [main] [INFO] IsolationScenarioTest - testLeaderIsolationWithPriorUncommittedEntryAndMultipleConflictingEntries ending 07:00:35,514 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-notifier20#1807212380] 07:00:35,527 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower18-collector21#-1186451789] 07:00:35,527 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower18] 07:00:35,528 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/follower19-collector22#1787705909] 07:00:35,529 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/follower19] 07:00:35,529 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-notifier23#240049763] 07:00:35,530 PM [main] [INFO] TestActorFactory - Killing actor Actor[akka://test/user/leader17-collector24#1062344221] 07:00:35,530 PM [main] [INFO] TestActorFactory - Killing actor TestActor[akka://test/user/leader17] [INFO] [11/23/2024 19:00:35.534] [main] [CoordinatedShutdown(akka://test)] Running CoordinatedShutdown with reason [ActorSystemTerminateReason] 07:00:35,536 PM [test-akka.actor.default-dispatcher-15] [INFO] CoordinatedShutdown - Running CoordinatedShutdown with reason [ActorSystemTerminateReason] [WARN] [11/23/2024 19:00:35.545] [test-akka.actor.default-dispatcher-18] [akka://test/system/cluster/core/daemon] unhandled message from Actor[akka://test/deadLetters]: Leave(akka://test@10.30.170.97:25520) [INFO] [11/23/2024 19:00:35.556] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.97:25520] - Exiting completed [INFO] [11/23/2024 19:00:35.557] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.97:25520] - Shutting down... [INFO] [11/23/2024 19:00:35.557] [test-akka.actor.internal-dispatcher-9] [Cluster(akka://test)] Cluster Node [akka://test@10.30.170.97:25520] - Successfully shut down 07:00:35,561 PM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.170.97:25520] - Exiting completed 07:00:35,561 PM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.170.97:25520] - Shutting down... 07:00:35,561 PM [test-akka.actor.default-dispatcher-15] [INFO] Cluster - Cluster Node [akka://test@10.30.170.97:25520] - Successfully shut down [INFO] [11/23/2024 19:00:35.572] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.97:25520/system/remoting-terminator] Shutting down remote daemon. 07:00:35,572 PM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Shutting down remote daemon. [INFO] [11/23/2024 19:00:35.573] [test-akka.remote.default-remote-dispatcher-8] [akka://test@10.30.170.97:25520/system/remoting-terminator] Remote daemon shut down; proceeding with flushing remote transports. 07:00:35,574 PM [test-akka.actor.default-dispatcher-18] [INFO] RemoteActorRefProvider$RemotingTerminator - Remote daemon shut down; proceeding with flushing remote transports. [INFO] [11/23/2024 19:00:35.621] [test-akka.remote.default-remote-dispatcher-6] [akka://test@10.30.170.97:25520/system/remoting-terminator] Remoting shut down. 07:00:35,622 PM [test-akka.actor.default-dispatcher-15] [INFO] RemoteActorRefProvider$RemotingTerminator - Remoting shut down.