<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:12 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-1694] unsubscribe-dtcl fails with NullPointerException when UnreachableMember happens</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1694</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;This happens in test with module-based shard, tell-based protocol. A listener is registered (on a member which is not leader). There is a transaction writer on each member, each finishes successfully &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;. The unscubscribe-dtcl call fails &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;:&lt;br/&gt;
Problem accessing /restconf/operations/odl-mdsal-lowlevel-control:unsubscribe-dtcl. Reason:&lt;br/&gt;
&amp;lt;pre&amp;gt;    Server Error&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;h3&amp;gt;Caused by:&amp;lt;/h3&amp;gt;&amp;lt;pre&amp;gt;java.lang.NullPointerException&lt;br/&gt;
	at org.opendaylight.controller.clustering.it.provider.impl.IdIntsListener.checkEqual(IdIntsListener.java:57)&lt;br/&gt;
	at org.opendaylight.controller.clustering.it.provider.MdsalLowLevelTestProvider.unsubscribeDtcl(MdsalLowLevelTestProvider.java:480)&lt;/p&gt;

&lt;p&gt;If the listener got zero notifications, the unsubscribe-dtcl should report that in a readable message. The clustering bug is in the fact the DTC notifications were lost (or the NPE happened for some other reason).&lt;/p&gt;

&lt;p&gt;Be the way, the UnreachableMember seems to happen in every test with 3 writers/producers (with half million integer array created in the initial transaction).&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/log.html.gz#s1-s36-t3-k2-k15&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/log.html.gz#s1-s36-t3-k2-k15&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/log.html.gz#s1-s36-t3-k2-k17-k2-k1-k4-k7-k1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/log.html.gz#s1-s36-t3-k2-k17-k2-k1-k4-k7-k1&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26248">CONTROLLER-1694</key>
            <summary>unsubscribe-dtcl fails with NullPointerException when UnreachableMember happens</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="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 May 2017 09:49:36 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:40 +0000</updated>
                            <resolved>Mon, 29 May 2017 12:24:29 +0000</resolved>
                                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="52308" author="vrpolak" created="Mon, 22 May 2017 10:04:28 +0000"  >&lt;p&gt;&amp;gt; module-based shard, tell-based protocol&lt;/p&gt;

&lt;p&gt;For prefix-based shards, unsubscribe-ddtl simply does not respond &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; within 30 seconds.&lt;br/&gt;
As usual, no listener-related message is seen in karaf.log &lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt; between 02:07:15,110 and 02:09:34,362.&lt;/p&gt;

&lt;p&gt;Note that due to an error in the test, the removed replica is on the follower (where the listener is). Tests which remove the leader replica end up with &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1693&quot; title=&quot;UnreachableMember during remove-shard-replica prevents new leader to get elected&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1693&quot;&gt;&lt;del&gt;CONTROLLER-1693&lt;/del&gt;&lt;/a&gt; instead.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/log.html.gz#s1-s38-t3-k2-k17-k2-k1-k4-k6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/log.html.gz#s1-s38-t3-k2-k17-k2-k1-k4-k6&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/odl2_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/odl2_karaf.log.gz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52309" author="tcere" created="Mon, 22 May 2017 10:17:09 +0000"  >&lt;p&gt;(In reply to Vratko Pol&#225;k from comment #1)&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; For prefix-based shards, unsubscribe-ddtl simply does not respond &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; within&lt;br/&gt;
&amp;gt; 30 seconds.&lt;br/&gt;
&amp;gt; As usual, no listener-related message is seen in karaf.log &lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt; between&lt;br/&gt;
&amp;gt; 02:07:15,110 and 02:09:34,362.&lt;br/&gt;
&amp;gt; &lt;/p&gt;

&lt;p&gt;Since unsubscribe-ddtl/dtcl does a read there needs to be the same timeout here as there is for the other transactions.&lt;/p&gt;

&lt;p&gt;The NPE in unsbuscribe-dtcl happened because the listener didnt receive any notifications.&lt;/p&gt;</comment>
                            <comment id="52310" author="tcere" created="Mon, 22 May 2017 11:25:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/57621/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/57621/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This patch only avoids the NPE from being reported.&lt;/p&gt;</comment>
                            <comment id="52311" author="tcere" created="Wed, 24 May 2017 13:04:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/57763/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/57763/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/57764/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/57764/&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>8525</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=8525]]></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|i02s5j:</customfieldvalue>

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