<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:47 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>[OPNFLWPLUG-940] Suspected (not sure) TransactionChain leak in TransactionChainManager</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-940</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;As part of ongoing efforts under &lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-883&quot; title=&quot;Umbrella parent issue for grouping all suspected transaction leaks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETVIRT-883&quot;&gt;&lt;del&gt;NETVIRT-883&lt;/del&gt;&lt;/a&gt; we&apos;ve stumbled upon what could be (but I&apos;m not sure) a suspected TransactionChain leak in TransactionChainManager. &amp;#8211; This looks similar to &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-933&quot; title=&quot;IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.createTxChain&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-933&quot;&gt;&lt;del&gt;OPNFLWPLUG-933&lt;/del&gt;&lt;/a&gt; BUT:&lt;/p&gt;

&lt;p&gt;(a) &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-933&quot; title=&quot;IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.createTxChain&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-933&quot;&gt;&lt;del&gt;OPNFLWPLUG-933&lt;/del&gt;&lt;/a&gt; looks more like an impact (IllegalStateException: Attempted to close chain with outstanding transaction) whereas this MAY be the cause of that &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/help_16.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;, found via new &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1760&quot; title=&quot;Tooling to find the real root cause culprit of memory leaks related to non-closed transactions (and tx chains)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1760&quot;&gt;&lt;del&gt;CONTROLLER-1760&lt;/del&gt;&lt;/a&gt; tooling (which was not yet available when &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-933&quot; title=&quot;IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.createTxChain&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-933&quot;&gt;&lt;del&gt;OPNFLWPLUG-933&lt;/del&gt;&lt;/a&gt; was raised!) ... &lt;/p&gt;

&lt;p&gt;(b) therefore the stack trace here is sufficiently different from &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-933&quot; title=&quot;IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.createTxChain&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-933&quot;&gt;&lt;del&gt;OPNFLWPLUG-933&lt;/del&gt;&lt;/a&gt; (e.g. ContextChainImpl as well as DeviceContextImpl lazyTransactionManagerInitialization VS initialSubmitTransaction) &lt;/p&gt;

&lt;p&gt;So I thought it to be potentially useful to open as a separate new bug, even if ultimately is it closed as a duplicated of &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-933&quot; title=&quot;IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.createTxChain&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-933&quot;&gt;&lt;del&gt;OPNFLWPLUG-933&lt;/del&gt;&lt;/a&gt; after all.&lt;/p&gt;

&lt;p&gt;Below (NB 4x) is from a test env that just started, not yet doing much under load; we hope to be able to update this tomorrow with more about whether we saw that 4x go up under load.&lt;/p&gt;


&lt;p&gt;___&lt;br/&gt;
  DataBroker : createTransactionChain()&lt;br/&gt;
    4x TransactionChains opened but not closed here:&lt;br/&gt;
      org.opendaylight.controller.md.sal.trace.closetracker.impl.CloseTrackedTrait.&amp;lt;init&amp;gt;(CloseTrackedTrait.java:31)&lt;br/&gt;
      org.opendaylight.controller.md.sal.trace.closetracker.impl.AbstractCloseTracked.&amp;lt;init&amp;gt;(AbstractCloseTracked.java:22)&lt;br/&gt;
      org.opendaylight.controller.md.sal.trace.dom.impl.TracingTransactionChain.&amp;lt;init&amp;gt;(TracingTransactionChain.java:28)&lt;br/&gt;
      org.opendaylight.controller.md.sal.trace.dom.impl.TracingBroker.createTransactionChain(TracingBroker.java:330)&lt;br/&gt;
      org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain.&amp;lt;init&amp;gt;(PingPongTransactionChain.java:98)&lt;br/&gt;
      org.opendaylight.controller.md.sal.dom.broker.impl.PingPongDataBroker.createTransactionChain(PingPongDataBroker.java:47)&lt;br/&gt;
      org.opendaylight.controller.md.sal.dom.broker.impl.PingPongDataBroker.createTransactionChain(PingPongDataBroker.java:27)&lt;br/&gt;
      Proxya83f6d64_c9b6_4c7c_8f61_0bd995e3f660.createTransactionChain(Unknown Source)&lt;br/&gt;
      Proxy7262af10_1ad4_40f0_a8c9_922b6f492a99.createTransactionChain(Unknown Source)&lt;br/&gt;
      org.opendaylight.controller.md.sal.binding.impl.BindingDOMTransactionChainAdapter.&amp;lt;init&amp;gt;(BindingDOMTransactionChainAdapter.java:45)&lt;br/&gt;
      org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.createTransactionChain(BindingDOMDataBrokerAdapter.java:74)&lt;br/&gt;
      Proxye5303411_c218_4285_85cf_8a6f989a6fb8.createTransactionChain(Unknown Source)&lt;br/&gt;
      Proxyb324b7ea_805d_437b_af8c_e7404580eb1f.createTransactionChain(Unknown Source)&lt;br/&gt;
      org.opendaylight.openflowplugin.impl.device.TransactionChainManager.createTxChain(TransactionChainManager.java:83)&lt;br/&gt;
      org.opendaylight.openflowplugin.impl.device.TransactionChainManager.activateTransactionManager(TransactionChainManager.java:114)&lt;br/&gt;
      org.opendaylight.openflowplugin.impl.device.DeviceContextImpl.lazyTransactionManagerInitialization(DeviceContextImpl.java:674)&lt;br/&gt;
      org.opendaylight.openflowplugin.impl.device.DeviceContextImpl.instantiateServiceInstance(DeviceContextImpl.java:613)&lt;br/&gt;
      org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl.initializeContextService(ContextChainImpl.java:259)&lt;br/&gt;
      java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:890)&lt;br/&gt;
      org.opendaylight.openflowplugin.impl.lifecycle.ContextChainImpl.instantiateServiceInstance(ContextChainImpl.java:81)&lt;br/&gt;
      org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceRegistrationDelegator.instantiateServiceInstance(ClusterSingletonServiceRegistrationDelegator.java:47)&lt;br/&gt;
      org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceGroupImpl.takeOwnership(ClusterSingletonServiceGroupImpl.java:305)&lt;br/&gt;
      org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceGroupImpl.ownershipChanged(ClusterSingletonServiceGroupImpl.java:249)&lt;br/&gt;
      org.opendaylight.mdsal.singleton.dom.impl.AbstractClusterSingletonServiceProviderImpl.ownershipChanged(AbstractClusterSingletonServiceProviderImpl.java:146)&lt;br/&gt;
      org.opendaylight.mdsal.singleton.dom.impl.DOMClusterSingletonServiceProviderImpl.ownershipChanged(DOMClusterSingletonServiceProviderImpl.java:23)&lt;br/&gt;
      org.opendaylight.controller.cluster.datastore.entityownership.EntityOwnershipListenerActor.onEntityOwnershipChanged(EntityOwnershipListenerActor.java:44)&lt;br/&gt;
      org.opendaylight.controller.cluster.datastore.entityownership.EntityOwnershipListenerActor.handleReceive(EntityOwnershipListenerActor.java:33)&lt;br/&gt;
      org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:38)&lt;br/&gt;
      akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165)&lt;br/&gt;
      akka.actor.Actor$class.aroundReceive(Actor.scala:502)&lt;br/&gt;
      akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95)&lt;br/&gt;
      akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)&lt;br/&gt;
      akka.actor.ActorCell.invoke(ActorCell.scala:495)&lt;br/&gt;
      akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)&lt;br/&gt;
      akka.dispatch.Mailbox.run(Mailbox.scala:224)&lt;br/&gt;
      akka.dispatch.Mailbox.exec(Mailbox.scala:234)&lt;br/&gt;
      scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)&lt;br/&gt;
      scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)&lt;br/&gt;
      scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)&lt;br/&gt;
      scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28208">OPNFLWPLUG-940</key>
            <summary>Suspected (not sure) TransactionChain leak in TransactionChainManager</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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Sep 2017 14:37:16 +0000</created>
                <updated>Mon, 27 Sep 2021 09:02:06 +0000</updated>
                            <resolved>Wed, 6 Sep 2017 17:20:02 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="59170" author="vorburger" created="Mon, 4 Sep 2017 14:43:23 +0000"  >&lt;p&gt;&amp;gt; (a) &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-933&quot; title=&quot;IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.createTxChain&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-933&quot;&gt;&lt;del&gt;OPNFLWPLUG-933&lt;/del&gt;&lt;/a&gt; looks more like an impact (IllegalStateException: Attempted to&lt;br/&gt;
&amp;gt; close chain with outstanding transaction) whereas this MAY be the cause of that&lt;/p&gt;

&lt;p&gt;hang on, I may getting this upside down?  Maybe this is not the cause but the impact of the (new, last week&apos;s) &quot;work around&quot; from &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=9038#c5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=9038#c5&lt;/a&gt; for &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-933&quot; title=&quot;IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.createTxChain&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-933&quot;&gt;&lt;del&gt;OPNFLWPLUG-933&lt;/del&gt;&lt;/a&gt; ?&lt;/p&gt;</comment>
                            <comment id="59171" author="vorburger" created="Wed, 6 Sep 2017 17:20:02 +0000"  >&lt;p&gt;Dupe to &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-933&quot; title=&quot;IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.createTxChain&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-933&quot;&gt;&lt;del&gt;OPNFLWPLUG-933&lt;/del&gt;&lt;/a&gt; to KISS &amp;amp; avoid general confusion.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="28201">OPNFLWPLUG-933</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="20804">NETVIRT-883</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="28201">OPNFLWPLUG-933</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>9101</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=9101]]></customfieldvalue>

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

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