<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:01 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>[NETVIRT-614] Unnecessary usage of java lock in BgpConfigurationManager which leads to thread blocking indefinitely</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-614</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Right now BgpConfigurationManager uses its intrinsic lock in lot of its methods unnecessarily which can potentially lead to thread blocking (or) even thread deadlock since it  has other inner DCN listener classes which add/update/update methods are also synchronized.&lt;/p&gt;

&lt;p&gt;For more details look at &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=8142&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=8142&lt;/a&gt; &lt;br/&gt;
For logs: &lt;a href=&quot;https://drive.google.com/open?id=0B_Rr7XjF0yoHc2EwT1psVGQwRVE&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://drive.google.com/open?id=0B_Rr7XjF0yoHc2EwT1psVGQwRVE&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="20535">NETVIRT-614</key>
            <summary>Unnecessary usage of java lock in BgpConfigurationManager which leads to thread blocking indefinitely</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="10003">Cannot Reproduce</resolution>
                                        <assignee username="vyshakh.krishnan.c.h@ericsson.com">Vyshakh Krishnan</assignee>
                                    <reporter username="periyasamy.palanisamy@ericsson.com">Periyasamy Palanisamy</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Apr 2017 10:03:02 +0000</created>
                <updated>Fri, 6 Apr 2018 00:08:03 +0000</updated>
                            <resolved>Fri, 6 Apr 2018 00:08:03 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="37675" author="manubk2003@gmail.com" created="Thu, 13 Apr 2017 07:11:36 +0000"  >&lt;p&gt;In another issue, we are seeing that many threads are blocked due to the lock at the below location&lt;/p&gt;

&lt;p&gt;&quot;AsyncDataTreeChangeListenerBase-DataTreeChangeHandler-0&quot; #561 daemon prio=5 os_prio=0 tid=0x00007ff240012800 nid=0x2b9a runnable &lt;span class=&quot;error&quot;&gt;&amp;#91;0x00007ff15adb7000&amp;#93;&lt;/span&gt;&lt;br/&gt;
   java.lang.Thread.State: RUNNABLE&lt;br/&gt;
	at java.net.SocketInputStream.socketRead0(Native Method)&lt;br/&gt;
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)&lt;br/&gt;
	at java.net.SocketInputStream.read(SocketInputStream.java:170)&lt;br/&gt;
	at java.net.SocketInputStream.read(SocketInputStream.java:141)&lt;br/&gt;
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)&lt;br/&gt;
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)&lt;br/&gt;
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;locked &amp;lt;0x00000006ccacc490&amp;gt; (a java.io.BufferedInputStream)&lt;br/&gt;
	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)&lt;br/&gt;
	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)&lt;br/&gt;
	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:362)&lt;br/&gt;
	at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:284)&lt;br/&gt;
	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:191)&lt;br/&gt;
	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)&lt;br/&gt;
	at org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpConfigurator$Client.recv_addVrf(BgpConfigurator.java:296)&lt;br/&gt;
	at org.opendaylight.netvirt.bgpmanager.thrift.gen.BgpConfigurator$Client.addVrf(BgpConfigurator.java:280)&lt;br/&gt;
	at org.opendaylight.netvirt.bgpmanager.thrift.client.BgpRouter.dispatch(BgpRouter.java:199)&lt;br/&gt;
	at org.opendaylight.netvirt.bgpmanager.thrift.client.BgpRouter.addVrf(BgpRouter.java:317)&lt;/li&gt;
	&lt;li&gt;locked &amp;lt;0x00000006cca0c458&amp;gt; (a org.opendaylight.netvirt.bgpmanager.thrift.client.BgpRouter)&lt;br/&gt;
	at org.opendaylight.netvirt.bgpmanager.BgpConfigurationManager$VrfsReactor.add(BgpConfigurationManager.java:1177)&lt;/li&gt;
	&lt;li&gt;locked &amp;lt;0x00000006ca6e6318&amp;gt; (a org.opendaylight.netvirt.bgpmanager.BgpConfigurationManager)&lt;/li&gt;
	&lt;li&gt;locked &amp;lt;0x00000006cbe4b560&amp;gt; (a org.opendaylight.netvirt.bgpmanager.BgpConfigurationManager$VrfsReactor)&lt;br/&gt;
	at org.opendaylight.netvirt.bgpmanager.BgpConfigurationManager$VrfsReactor.add(BgpConfigurationManager.java:1152)&lt;br/&gt;
	at org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase$DataTreeChangeHandler.run(AsyncDataTreeChangeListenerBase.java:155)&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;/li&gt;
&lt;/ul&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>8195</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=8195]]></customfieldvalue>

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

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