<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:22 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-1752] Something wrong with the Journal recovery</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1752</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;For example, the yang file as follows, the current-layer-link node is an exception when Journal recovery&lt;/p&gt;

&lt;p&gt;module simulate {&lt;br/&gt;
    yang-version 1;&lt;br/&gt;
    namespace &quot;urn:opendaylight:params:xml:ns:yang:simulate&quot;;&lt;br/&gt;
    prefix &quot;simulate&quot;;&lt;/p&gt;

&lt;p&gt;    container forwarding {&lt;br/&gt;
        list top-fc {&lt;br/&gt;
            key &quot;fc-id&quot;;&lt;br/&gt;
            leaf fc-id &lt;/p&gt;
{
                type string;
            }&lt;br/&gt;
            leaf state {                type string;            }
&lt;p&gt;            list fc-route {&lt;br/&gt;
                key &quot;fc-route-id&quot;;&lt;br/&gt;
                leaf fc-route-id &lt;/p&gt;
{
                    type string;
                }&lt;br/&gt;
                leaf-list current-layer-link {                    type string;                }
&lt;p&gt;                list route-info {&lt;br/&gt;
                    ordered-by user;&lt;br/&gt;
                    leaf lower-fc-id &lt;/p&gt;
{
                        type string;
                    }
&lt;p&gt;                    leaf-list fc-port-ref &lt;/p&gt;
{
                        ordered-by user;
                        type string;
                    }
&lt;p&gt;                }&lt;br/&gt;
            }&lt;br/&gt;
        }&lt;br/&gt;
    }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;First, put the fcRoute&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;tx1.put(&quot;forwarding/top-fc/top-fc&lt;span class=&quot;error&quot;&gt;&amp;#91;fc-id=01&amp;#93;&lt;/span&gt;/fc-route/fc-route&lt;span class=&quot;error&quot;&gt;&amp;#91;fc-route-id=0001&amp;#93;&lt;/span&gt;&quot;, fcRoute&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;)&lt;/p&gt;

&lt;p&gt;tx1.submit()&lt;/p&gt;

&lt;p&gt;And then, modify the top-fc.state by merge&lt;/p&gt;

&lt;p&gt;topFc = tx2.read(&quot;forwarding/top-fc/top-fc&lt;span class=&quot;error&quot;&gt;&amp;#91;fc-id=01&amp;#93;&lt;/span&gt;)&lt;br/&gt;
topFc.state = disable&lt;br/&gt;
tx2.merge(&quot;forwarding/top-fc/top-fc&lt;span class=&quot;error&quot;&gt;&amp;#91;fc-id=01&amp;#93;&lt;/span&gt;, topFc)&lt;/p&gt;

&lt;p&gt;and put the new fcRoute&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;tx2.put(&quot;forwarding/top-fc/top-fc&lt;span class=&quot;error&quot;&gt;&amp;#91;fc-id=01&amp;#93;&lt;/span&gt;/fc-route/fc-route&lt;span class=&quot;error&quot;&gt;&amp;#91;fc-route-id=0002&amp;#93;&lt;/span&gt;&quot;, fcRoute&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;)&lt;br/&gt;
tx2.submit()&lt;/p&gt;

&lt;p&gt;finally, the DataTreeCandidate will get the wrong result in fcRoute&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;.current-layer-link when Journal recovery&lt;/p&gt;

&lt;p&gt;fcRoute&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;.current-layer-link&apos;s Qname will be the fc-port-ref, instead of current-layer-link&lt;/p&gt;

&lt;p&gt;the key point is the merge operation, it will lead to the SUBTREE_MODIFIED of fc-route&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;.current-layer-link, the LeafSetNode of current-layer-link will be skipped, and write the LeafSetEntryNode of current-layer-link directly. However, the lastLeafSetQName has been set to the fc-port-ref in AbstractNormalizedNodeDataOutput because of the fcRoute&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26306">CONTROLLER-1752</key>
            <summary>Something wrong with the Journal recovery</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="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="he.yunbo@zte.com.cn">HeYunBo</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Aug 2017 02:24:09 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:15 +0000</updated>
                            <resolved>Sat, 30 Sep 2017 23:35:18 +0000</resolved>
                                    <version>Beryllium</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="52591" author="he.yunbo@zte.com.cn" created="Fri, 18 Aug 2017 02:45:00 +0000"  >&lt;p&gt;I have fixed it on &lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/61967/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/61967/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52592" author="rovarga" created="Fri, 1 Sep 2017 07:37:47 +0000"  >&lt;p&gt;nitrogen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62530/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62530/1&lt;/a&gt;&lt;br/&gt;
carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62529/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62529/1&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>9008</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=9008]]></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|i02sif:</customfieldvalue>

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