<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:51 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-1557] Snapshot files showed a size of 0 bytes on restart after poweroff</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1557</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Power off the virtual machine(Centos) when I was creating 100K entries with dsbenchmark test script which triggered snapshots with the config(shard-snapshot-batch-count=100) , and then restart the virtual machine, I found all snapshot files written just before power off showed a size of 0 bytes, finally the datastore recovery failed.&lt;/p&gt;

&lt;p&gt;This happened only in virtual machine environment but it was normal in physical host environment&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26111">CONTROLLER-1557</key>
            <summary>Snapshot files showed a size of 0 bytes on restart after poweroff</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="he.yunbo@zte.com.cn">HeYunBo</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Oct 2016 01:44:04 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:26 +0000</updated>
                            <resolved>Fri, 28 Oct 2016 14:39:31 +0000</resolved>
                                    <version>Lithium</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="51575" author="rovarga" created="Tue, 18 Oct 2016 16:03:20 +0000"  >&lt;p&gt;This sounds like a problem in either the persistence provider or the filesystem itself. Moving to clustering component.&lt;/p&gt;</comment>
                            <comment id="51576" author="he.yunbo@zte.com.cn" created="Wed, 19 Oct 2016 00:32:35 +0000"  >&lt;p&gt;I have consulted Akka community about this problem&#65292;They replied&lt;/p&gt;

&lt;p&gt;&quot;What snapshot store are you using? The&#160;LocalSnapshotStore&#160;is only provided for use in tests/dev scenarios not for actual use in a production application.&quot;&lt;/p&gt;

&lt;p&gt;Actually&#65292;ODL is using LocalSnapshotStore provided for saving snapshot if didn&apos;t specify any snapshot-store in akka.conf.&lt;/p&gt;

&lt;p&gt;I think it&apos;s a file system problem&#65292;it sounds like the snapshot buffer didn&apos;t synchronize to the physical medium&lt;/p&gt;

&lt;p&gt;In addition&#65292;Akka also provided some plugins to Akka Persistence&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://akka.io/community/#plugins-to-akka-persistence&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://akka.io/community/#plugins-to-akka-persistence&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These are related to database storage, I don&apos;t know how to choose and use&lt;/p&gt;</comment>
                            <comment id="51577" author="tpantelis" created="Thu, 27 Oct 2016 22:06:19 +0000"  >&lt;p&gt;We use the simple file-based local snapshot store by default. We can&apos;t use an external DB out-of-box, similar to the journal. Of course, users are free to choose a different persistent provider based on their needs.&lt;/p&gt;

&lt;p&gt;I agree this sounds like a file system buffering issue. Closing the bug...&lt;/p&gt;</comment>
                            <comment id="51578" author="vrpolak" created="Fri, 28 Oct 2016 14:39:31 +0000"  >&lt;p&gt;&amp;gt; Closing the bug...&lt;/p&gt;

&lt;p&gt;I think INVALID is for closing reports bugs that are not really happening (typically user errors).&lt;/p&gt;

&lt;p&gt;Even if the real cause is in upstream (in this case the filesystem), ODL could still attempt to implement a workaround. And if we are not interested in implementing any workarounds, the correct state is WONTFIX.&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>6929</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=6929]]></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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02rb3:</customfieldvalue>

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