<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:09:06 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-217] Cache support API to improve clustered data reads performance</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-217</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Clustered data reads may be time-consuming, therefore a requirement for a cache was raised by netvirt and genius, yet this capability can be useful across odl projects. &lt;/p&gt;

&lt;p&gt;This cache should be initially populated and maintained going forward.&lt;/p&gt;

&lt;p&gt;discussing this topic in mdsal-dev list, a suggestion to enhance the current API to support this requirement was made:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/mdsal-dev/2016-December/000881.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/mdsal-dev/2016-December/000881.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://lists.opendaylight.org/pipermail/mdsal-dev/2016-December/000859.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/mdsal-dev/2016-December/000859.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://lists.opendaylight.org/pipermail/mdsal-dev/2016-December/000853.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/mdsal-dev/2016-December/000853.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-January/000921.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/mdsal-dev/2017-January/000921.html&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;More info, copied from Robert&apos;s mail:&lt;br/&gt;
There is one more problem, which are wildcard DTCLs. TstanceIdehese are allowed to be wildcarded on any YangInntifier component corresponding to a keyed list.&lt;/p&gt;

&lt;p&gt;list foo {&lt;br/&gt;
    leaf foo;&lt;br/&gt;
    key foo;&lt;/p&gt;

&lt;p&gt;    list bar {&lt;br/&gt;
        leaf bar;&lt;br/&gt;
        key bar;&lt;/p&gt;

&lt;p&gt;        container baz &lt;/p&gt;
{
            leaf baz;
        }
&lt;p&gt;    }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;All of these are valid subscriptions:&lt;br/&gt;
/foo&lt;br/&gt;
/foo/foo&lt;span class=&quot;error&quot;&gt;&amp;#91;foo=*&amp;#93;&lt;/span&gt;/bar&lt;br/&gt;
/foo/foo&lt;span class=&quot;error&quot;&gt;&amp;#91;foo=&amp;quot;abc&amp;quot;&amp;#93;&lt;/span&gt;/bar/bar&lt;span class=&quot;error&quot;&gt;&amp;#91;bar=*&amp;#93;&lt;/span&gt;&lt;br/&gt;
/foo/foo&lt;span class=&quot;error&quot;&gt;&amp;#91;foo=*&amp;#93;&lt;/span&gt;/bar/bar&lt;span class=&quot;error&quot;&gt;&amp;#91;bar=*&amp;#93;&lt;/span&gt;/baz&lt;br/&gt;
/foo/foo&lt;span class=&quot;error&quot;&gt;&amp;#91;foo=&amp;quot;abc&amp;quot;&amp;#93;&lt;/span&gt;/bar/bar&lt;span class=&quot;error&quot;&gt;&amp;#91;bar=&amp;quot;abc&amp;quot;&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;The first two do not have a binding representation, but they are valid at DOM level. All except the last one are wildcards.&lt;/p&gt;

&lt;p&gt;I think the current discussion is making an implicit assumption what the relationship between the registration YIID and the one reported to the listener. With concrete YIIDs, they are YangInstanceIdentifier.equals().&lt;br/&gt;
Wildcards are expanded as data is discovered, hence there is no such relationship &amp;#8211; except they share the prefix leading to the first wildcard.&lt;/p&gt;

&lt;p&gt;It is critical the API contract of the proposed method is defined with this difference in mind.&lt;/p&gt;

&lt;p&gt;===========================================================================&lt;/p&gt;


&lt;p&gt;Please note that this issue is different from:&lt;br/&gt;
&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=2504&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=2504&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The difference is that this issue makes an assumption on follower locality, while the cache does not. This is an important distinction in clusters where there is no shard presence (leader/follower) on some nodes.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27039">MDSAL-217</key>
            <summary>Cache support API to improve clustered data reads performance</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="han.jie@zte.com.cn">Jie Han</assignee>
                                    <reporter username="ravit.peretz@hpe.com">Ravit Peretz</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Jan 2017 08:32:35 +0000</created>
                <updated>Wed, 31 Oct 2018 09:43:37 +0000</updated>
                            <resolved>Wed, 31 Oct 2018 09:43:37 +0000</resolved>
                                                    <fixVersion>3.0.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="64963" author="vorburger" created="Mon, 17 Sep 2018 15:01:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=JieHan2017&quot; class=&quot;user-hover&quot; rel=&quot;JieHan2017&quot;&gt;JieHan2017&lt;/a&gt; FYI in the genius project &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis&quot; class=&quot;user-hover&quot; rel=&quot;tpantelis&quot;&gt;tpantelis&lt;/a&gt; and me use our DataObjectCache (and InstanceIdDataObjectCache), see sources in &lt;a href=&quot;https://github.com/opendaylight/genius/tree/master/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/genius/mdsalutil/cache&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/genius/tree/master/mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/genius/mdsalutil/cache&lt;/a&gt; - I thought this may interest you here.&lt;/p&gt;</comment>
                            <comment id="64974" author="jiehan2017" created="Tue, 18 Sep 2018 01:24:22 +0000"  >&lt;p&gt;Thank you very much, M. &lt;br/&gt;
It looks a new area for me by now,&lt;br/&gt;
anyway I&apos;ll go for it.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="26929">MDSAL-107</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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>7492</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=7492]]></customfieldvalue>

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

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