<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:12:03 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>[BGPCEP-111] PCEP request occasionally not found in outstanding DB</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-111</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;When doing performance test, sometimes the situation described by the following log fragments happens, during add-lsp:&lt;/p&gt;

&lt;p&gt;2014-07-18 03:40:04.005 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-4&amp;#93;&lt;/span&gt; &lt;br/&gt;
TRACE o.o.p.pcep.impl.PCEPSessionImpl - Message sent to socket: Pcinitiate [_pcinitiateMessage=PcinitiateMessage [_requests=[Requests [_srp=Srp [_operationId=SrpIdNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=1&amp;#93;&lt;/span&gt;, ...&lt;/p&gt;

&lt;p&gt;2014-07-18 03:40:04.007 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-4&amp;#93;&lt;/span&gt; DEBUG o.o.p.pcep.impl.PCEPSessionImpl - PCEP message Pcrpt [_pcrptMessage=PcrptMessage [_reports=[Reports [ ... _srp=Srp [_operationId=SrpIdNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=1&amp;#93;&lt;/span&gt;, ...&lt;/p&gt;

&lt;p&gt;2014-07-18 03:40:04.007 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-4&amp;#93;&lt;/span&gt; WARN  o.o.b.p.t.p.Stateful07TopologySessionListener - Request ID SrpIdNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=1&amp;#93;&lt;/span&gt; not found in outstanding DB&lt;/p&gt;

&lt;p&gt;This results in add-lsp never returning any output.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="23351">BGPCEP-111</key>
            <summary>PCEP request occasionally not found in outstanding DB</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="dkutenicsova">Dana Kutenicsova</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Jul 2014 14:24:49 +0000</created>
                <updated>Sun, 3 Mar 2019 11:50:16 +0000</updated>
                            <resolved>Tue, 29 Jul 2014 12:31:05 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Bugzilla Migration 1.0</fixVersion>
                                    <component>General</component>
                        <due>Fri, 25 Jul 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="44735" author="vrpolak" created="Fri, 18 Jul 2014 14:25:23 +0000"  >&lt;p&gt;Hypothesis: Apparently, ODL was assuming that it can add request to waitingRequests upon sending Pcinitiate sooner than Pcrpt handling will look for it. As log evidences, this is not always so.&lt;/p&gt;</comment>
                            <comment id="44736" author="vrpolak" created="Fri, 18 Jul 2014 14:34:33 +0000"  >&lt;p&gt;My idea on how the fix could look like:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/9160/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/9160/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="44737" author="rovarga" created="Fri, 18 Jul 2014 15:29:19 +0000"  >&lt;p&gt;So the logs provided point actually to the fact that the request should have been on the queue: the listener writing the &apos;sent to socket&apos; message is attached to the same future the listener which moves the message. The processing happens on the same thread, so the other listener should have been invoked, too.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/9162&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/9162&lt;/a&gt; adds trace messages to track lifecycle of the list, please retry with that.&lt;/p&gt;</comment>
                            <comment id="44738" author="vrpolak" created="Mon, 21 Jul 2014 17:24:39 +0000"  >&lt;p&gt;&amp;gt; please retry with that&lt;/p&gt;

&lt;p&gt;Basically the same. Excerpts:&lt;/p&gt;


&lt;p&gt;2014-07-21 09:18:24.295 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-7&amp;#93;&lt;/span&gt; &lt;br/&gt;
TRACE o.o.p.pcep.impl.PCEPSessionImpl - Message sent to socket: Pcinitiate ...&lt;/p&gt;

&lt;p&gt;2014-07-21 09:18:24.296 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-7&amp;#93;&lt;/span&gt; TRACE o.o.p.p.i.PCEPByteToMessageDecoder - Received to decode: ...&lt;/p&gt;

&lt;p&gt;2014-07-21 09:18:24.300 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-7&amp;#93;&lt;/span&gt; TRACE o.o.b.p.t.p.AbstractTopologySessionListener - Removed request SrpIdNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=3&amp;#93;&lt;/span&gt; object null&lt;/p&gt;

&lt;p&gt;2014-07-21 09:18:24.300 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-7&amp;#93;&lt;/span&gt; WARN  o.o.b.p.t.p.Stateful07TopologySessionListener - Request ID SrpIdNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=3&amp;#93;&lt;/span&gt; not found in outstanding DB&lt;/p&gt;

&lt;p&gt;2014-07-21 09:18:24.320 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-7&amp;#93;&lt;/span&gt; TRACE o.o.b.p.t.p.AbstractTopologySessionListener - Request SrpIdNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=3&amp;#93;&lt;/span&gt; sent to peer (object org.opendaylight.bgpcep.pcep.topology.provider.PCEPRequest@20deec50)&lt;/p&gt;


&lt;p&gt;&amp;gt; the logs provided point actually to the fact that the request should have been on the queue&lt;br/&gt;
&amp;gt; The processing happens on the same thread, so the other listener should have been invoked, too.&lt;/p&gt;

&lt;p&gt;It was invoked, just 20 milliseconds too late.&lt;/p&gt;</comment>
                            <comment id="44739" author="vrpolak" created="Tue, 22 Jul 2014 15:57:01 +0000"  >&lt;p&gt;My testing reached statistical significance for me to say: It is suspicious that I have never seen this bug when testing against single PCC (others present but do nothing, maybe apart keepalives).&lt;br/&gt;
But, logs do not show anything interesting regarding communication on other Pcep sessions (usually handled by different threads and with long enough time differences).&lt;/p&gt;</comment>
                            <comment id="44740" author="vrpolak" created="Tue, 22 Jul 2014 18:34:16 +0000"  >&lt;p&gt;Training to get Change-Id right (and without syntax errors).&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/9160/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/9160/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="44741" author="rovarga" created="Wed, 23 Jul 2014 15:28:19 +0000"  >&lt;p&gt;So looking at the traces, it seems that netty does not deliver the notification of the request leaving the socket first, but rather continues to process the message from the router.&lt;/p&gt;

&lt;p&gt;Your fixes are just papering over the problem, not fixing it, simply because membership on a particular list hold the logical state of the request.&lt;/p&gt;

&lt;p&gt;In particular, even with your fix, if the PCC closes the connection after we have pushed it, but have not received the future notification, we will inform the client of an Unsent error, where in fact it is Noack.&lt;/p&gt;

&lt;p&gt;So what we really need to do is get netty to order the events as they occur.&lt;/p&gt;</comment>
                            <comment id="44742" author="vrpolak" created="Wed, 23 Jul 2014 16:53:58 +0000"  >&lt;p&gt;&amp;gt; So what we really need to do is get netty to order the events as they occur.&lt;/p&gt;

&lt;p&gt;Agreed.&lt;/p&gt;

&lt;p&gt;&amp;gt; In particular, even with your fix, if the PCC closes the connection after we have pushed it, but have not received the future notification, we will inform the client of an Unsent error, where in fact it is Noack.&lt;/p&gt;

&lt;p&gt;I would have to think more about interaction between onSessionDown and !isSuccess.&lt;br/&gt;
For commit b2c0fb9b66d35776f0bf4e6cea614c7c1e419d35 line 216, are we sure PCC has definitely not received the message?&lt;/p&gt;

&lt;p&gt;&amp;gt; Your fixes are just papering over the problem&lt;/p&gt;

&lt;p&gt;So it is not worth to do a quick and dirty fix for &quot;RPC hangs&quot; bug if that would introduce &quot;false unsent&quot; bug?&lt;/p&gt;</comment>
                            <comment id="44743" author="vrpolak" created="Tue, 29 Jul 2014 12:31:05 +0000"  >&lt;p&gt;This bug is verified to not appear in ODL based on this build: &lt;a href=&quot;https://jenkins.opendaylight.org/integration/view/Integration%20jobs/job/integration-master-project-centralized-integration/1741&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/integration/view/Integration%20jobs/job/integration-master-project-centralized-integration/1741&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>1394</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=1394]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10363"><![CDATA[Helium-M4]]></customfieldvalue>

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

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