<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:01 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[CONTROLLER-1622] Client actor fails to persist state</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1622</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;So the scenario goes as follows.&lt;/p&gt;

&lt;p&gt;I am creating a moduled-based shard with CreateShard message. After that I want to create DataStoreClient for the created shard, so I can write to my shard. For that I am using SimpleDataStoreClientActor#getDistributedDataStoreClient.&lt;/p&gt;

&lt;p&gt;This is where the problems begin. This fails with:&lt;br/&gt;
Caused by: akka.pattern.AskTimeoutException: Ask timed out on &lt;a href=&quot;#334759640]&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;Actor[akka://opendaylight-cluster-data/user/$c#334759640]&lt;/a&gt; after &lt;span class=&quot;error&quot;&gt;&amp;#91;30000 ms&amp;#93;&lt;/span&gt;. Sender&lt;span class=&quot;error&quot;&gt;&amp;#91;null&amp;#93;&lt;/span&gt; sent message of type &quot;org.opendaylight.controller.cluster.databroker.actors.dds.GetClientRequest&quot;.&lt;br/&gt;
	at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:604)&lt;span class=&quot;error&quot;&gt;&amp;#91;86:com.typesafe.akka.actor:2.4.17&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at akka.actor.Scheduler$$anon$4.run(Scheduler.scala:126)&lt;span class=&quot;error&quot;&gt;&amp;#91;86:com.typesafe.akka.actor:2.4.17&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:601)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:599)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:329)&lt;span class=&quot;error&quot;&gt;&amp;#91;86:com.typesafe.akka.actor:2.4.17&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:280)&lt;span class=&quot;error&quot;&gt;&amp;#91;86:com.typesafe.akka.actor:2.4.17&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:284)&lt;span class=&quot;error&quot;&gt;&amp;#91;86:com.typesafe.akka.actor:2.4.17&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:236)&lt;span class=&quot;error&quot;&gt;&amp;#91;86:com.typesafe.akka.actor:2.4.17&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Turns out the actor does not reply because of:&lt;br/&gt;
2017-03-23 18:34:14,499 | ERROR | lt-dispatcher-18 | SavingClientActorBehavior        | 131 - org.opendaylight.controller.cds-access-client - 1.1.0.SNAPSHOT | member-1-frontend-datastore-Shard-prefix-configuration-shard: failed to persist state&lt;br/&gt;
java.io.IOException: Failed to rename snapshots/snapshot-member-1-frontend-datastore-Shard-prefix-configuration-shard-0-1490294054496.tmp to snapshots/snapshot-member-1-frontend-datastore-Shard-prefix-configuration-shard-0-1490294054496&lt;br/&gt;
	at org.opendaylight.controller.cluster.persistence.LocalSnapshotStore.doSave(LocalSnapshotStore.java:182)&lt;span class=&quot;error&quot;&gt;&amp;#91;153:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.cluster.persistence.LocalSnapshotStore.lambda$doSaveAsync$1(LocalSnapshotStore.java:162)&lt;span class=&quot;error&quot;&gt;&amp;#91;153:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at akka.dispatch.Futures$$anonfun$future$1.apply(Future.scala:97)&lt;span class=&quot;error&quot;&gt;&amp;#91;86:com.typesafe.akka.actor:2.4.17&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)&lt;span class=&quot;error&quot;&gt;&amp;#91;86:com.typesafe.akka.actor:2.4.17&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:415)&lt;span class=&quot;error&quot;&gt;&amp;#91;86:com.typesafe.akka.actor:2.4.17&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)&lt;span class=&quot;error&quot;&gt;&amp;#91;235:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;So I guess there can be some problems with handling persistence.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26176">CONTROLLER-1622</key>
            <summary>Client actor fails to persist state</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="jmorvay@cisco.com">Jakub Morvay</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Mar 2017 10:51:58 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:27 +0000</updated>
                            <resolved>Fri, 24 Mar 2017 20:23:23 +0000</resolved>
                                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="51869" author="rovarga" created="Fri, 24 Mar 2017 10:57:14 +0000"  >&lt;p&gt;master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/53790&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/53790&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8073</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=8073]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10336"><![CDATA[Carbon-RC0]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02rpj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>