<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:06:35 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>[LISPMAP-136] Expired mapping removed from map-cache, not removed from MD-SAL</title>
                <link>https://jira.opendaylight.org/browse/LISPMAP-136</link>
                <project id="10136" key="LISPMAP">lispflowmapping</project>
                    <description>&lt;p&gt;When a southbound originated mapping lookup triggers the lazy removal of an expired mapping, said mapping is only removed from the map-cache, but not from the operational MD-SAL data-store.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19736">LISPMAP-136</key>
            <summary>Expired mapping removed from map-cache, not removed from MD-SAL</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="ljakab">Lori Jakab</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Aug 2016 23:25:31 +0000</created>
                <updated>Thu, 19 Oct 2017 21:29:17 +0000</updated>
                            <resolved>Wed, 6 Sep 2017 06:38:40 +0000</resolved>
                                    <version>Boron</version>
                                                    <component>Service</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="35686" author="sheikahm@cisco.com" created="Tue, 30 Aug 2016 21:29:14 +0000"  >&lt;p&gt;I have gone through the mapRequest from Lisp Southbound services which ultimately calls getMapping(src, dst) and which calls getSbMappingWithExpiration(src, dst) which I think is the function being called to get a south bound mapping. If we look at the following piece of code,&lt;/p&gt;

&lt;p&gt;private Object getSbMappingWithExpiration(Eid src, Eid dst) {&lt;br/&gt;
    Object mappingObject = smc.getMapping(src, dst);&lt;br/&gt;
    if (mappingObject instanceof MappingRecord) {&lt;br/&gt;
        MappingRecord mapping = (MappingRecord) mappingObject;&lt;br/&gt;
        if (MappingMergeUtil.mappingIsExpired(mapping)) &lt;/p&gt;
{
            dsbe.removeMapping(DSBEInputUtil.toMapping(MappingOrigin.Southbound, mapping.getEid(),
                    new SiteId(mapping.getSiteId()), mapping));
            return null;
        }
&lt;p&gt;    }&lt;br/&gt;
    return mappingObject;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;This actually deletes the mapping from Data Store Back End but not from the map cache itself.&lt;/p&gt;</comment>
                            <comment id="35687" author="ermagan" created="Thu, 1 Sep 2016 21:56:17 +0000"  >&lt;p&gt;Thi sis actually reversed: Mapping is removed from MD-SAL, but not from the local map-cache, and also not from other cluster nodes&apos; map caches.&lt;/p&gt;</comment>
                            <comment id="35688" author="ermagan" created="Tue, 6 Sep 2016 16:47:52 +0000"  >&lt;p&gt;Fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/45121/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/45121/&lt;/a&gt; Pending review&lt;/p&gt;</comment>
                            <comment id="35689" author="ljakab" created="Tue, 6 Sep 2016 16:49:36 +0000"  >&lt;p&gt;No, the bug description is correct. The mapping is removed from the map-cache inside SimpleMapCache#getMappingLpmEid, on lines 177-178. However, &apos;MappingMergeUtil.mappingIsExpired(mapping)&apos; no longer works, since we removed the timestamp from MappingRecord, so &apos;dsbe.removeMapping()&apos; is not invoked.&lt;/p&gt;

&lt;p&gt;I have a different approach in mind, which will help with &lt;a href=&quot;https://jira.opendaylight.org/browse/LISPMAP-127&quot; title=&quot;Expired xTR-ID mappings are not removed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LISPMAP-127&quot;&gt;&lt;del&gt;LISPMAP-127&lt;/del&gt;&lt;/a&gt; too. We can discuss offline more details.&lt;/p&gt;</comment>
                            <comment id="35690" author="sheikahm@cisco.com" created="Tue, 6 Sep 2016 18:41:30 +0000"  >&lt;p&gt;I have taken a deep look and Lori is right. I also have a solution in my thought and will love to discuss it with you. Please let me know when you are free.&lt;/p&gt;</comment>
                            <comment id="35691" author="ljakab" created="Sat, 12 Aug 2017 22:52:52 +0000"  >&lt;p&gt;Old bug, need to see if it is still valid.&lt;/p&gt;</comment>
                            <comment id="35692" author="ljakab" created="Wed, 6 Sep 2017 06:38:40 +0000"  >&lt;p&gt;Fixed by the time bucket patch series, verified manually.&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>6537</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=6537]]></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="10334"><![CDATA[Boron-RC3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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