<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:09:44 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>[MDSAL-408] Cache default-valued key leaf items</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-408</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://tools.ietf.org/html/rfc7950#section-7.8.2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc7950#section-7.8.2&lt;/a&gt; specifies that all leaves which are part of a key must be given a value, disregarding any &apos;default&apos; statements, making them effectively mandatory.&lt;/p&gt;

&lt;p&gt;This is unfortunate for the case where there is a composite key, with one of the leaves having a &apos;default&apos; value: here the use case is that the default value represents a common value, such as path-id=0 for non-add-path BGP routes, being used when no other information is present.&lt;/p&gt;

&lt;p&gt;In a typical deployment, there may be a significant number, if not vast majority, of list items, which have path-id set to this default value, hence it would make sense to use a single LeafNode to represent them.&lt;/p&gt;

&lt;p&gt;Teach binding-dom-codec to watch for such keys and maintain a cache, possibly integrated with &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-407&quot; title=&quot;Teach BindingNormalizedNodeCache to cache leaf type objects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-407&quot;&gt;&lt;del&gt;MDSAL-407&lt;/del&gt;&lt;/a&gt;, of LeafNodes for use in this scenario.&lt;/p&gt;

&lt;p&gt;Note that comparing values can lead to significant overheads, hence the cache should probably use identity checks to discover candidates for deduplication &#8211; which leads to the question of how would a Binding application discover the identity objects.&lt;/p&gt;</description>
                <environment></environment>
        <key id="31197">MDSAL-408</key>
            <summary>Cache default-valued key leaf items</summary>
                <type id="10103" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10311&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Dec 2018 05:33:31 +0000</created>
                <updated>Fri, 14 Dec 2018 05:33:42 +0000</updated>
                                                                            <component>Binding runtime</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03lhj:</customfieldvalue>

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