<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:06 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>[NETCONF-462] TransactionChain created in RestConnectorProvider.start line 87 is never closed</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-462</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;As found in see &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; motivated by &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1756&quot; title=&quot;OOM due to huge Map in ShardDataTree&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1756&quot;&gt;&lt;del&gt;CONTROLLER-1756&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;TransactionChain created in RestConnectorProvider.start line 87 is never closed&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21475">NETCONF-462</key>
            <summary>TransactionChain created in RestConnectorProvider.start line 87 is never closed</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Aug 2017 21:57:17 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:44 +0000</updated>
                            <resolved>Thu, 31 Aug 2017 13:23:48 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="40201" author="jmorvay@cisco.com" created="Thu, 31 Aug 2017 10:42:48 +0000"  >&lt;p&gt;Actually, it should be closed in RestConnectorProvider.close method.&lt;/p&gt;

&lt;p&gt;Please see:&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/netconf/blob/b370572f7a18b3799c9b8d0050a5862937ddb863/restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/RestConnectorProvider.java#L138&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/netconf/blob/b370572f7a18b3799c9b8d0050a5862937ddb863/restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/RestConnectorProvider.java#L138&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40202" author="vorburger" created="Thu, 31 Aug 2017 11:07:16 +0000"  >&lt;p&gt;Jakub, OK I see, so this is a case where ONE (and always only ever one, never more, can you confirm this?) TransactionChain is created and kept open for entire life time on ODL, and closed only on shutdown... correct? Then that&apos;s not a &quot;leak&quot; (of the kind I&apos;m chasing for &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1756&quot; title=&quot;OOM due to huge Map in ShardDataTree&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1756&quot;&gt;&lt;del&gt;CONTROLLER-1756&lt;/del&gt;&lt;/a&gt; using &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;) - and I&apos;m OK if you just close this issue as RESOLVED INVALID or WONTFIX.  &lt;/p&gt;

&lt;p&gt;Thanks for having had a look - I think it&apos;s valuable to record such findings here.&lt;/p&gt;

&lt;p&gt;PS: Maybe the &quot;trace:transactions&quot; CLI command from &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; in the future should have some sort of &lt;span class=&quot;error&quot;&gt;&amp;#91;hard-coded? :-(&amp;#93;&lt;/span&gt; &quot;white list&quot; to not show e.g. this one - or can you think of a better way how it could be made &quot;smart enough&quot; to understand that e.g this TransactionChain is not a leak?  Or perhaps I could just suppress anything that is only x1 and only start showing x2+ open TransactionChains - do you think that would be a good idea?&lt;/p&gt;</comment>
                            <comment id="40203" author="jmorvay@cisco.com" created="Thu, 31 Aug 2017 12:29:55 +0000"  >&lt;p&gt;(In reply to Michael Vorburger from comment #2)&lt;br/&gt;
&amp;gt; Jakub, OK I see, so this is a case where ONE (and always only ever one,&lt;br/&gt;
&amp;gt; never more, can you confirm this?) TransactionChain is created and kept open&lt;br/&gt;
&amp;gt; for entire life time on ODL, and closed only on shutdown... correct? Then&lt;br/&gt;
&amp;gt; that&apos;s not a &quot;leak&quot; (of the kind I&apos;m chasing for &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1756&quot; title=&quot;OOM due to huge Map in ShardDataTree&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1756&quot;&gt;&lt;del&gt;CONTROLLER-1756&lt;/del&gt;&lt;/a&gt; using &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;) -&lt;br/&gt;
&amp;gt; and I&apos;m OK if you just close this issue as RESOLVED INVALID or WONTFIX.  &lt;/p&gt;

&lt;p&gt;Yeah, correct, this should be the case. Transaction chain is opened during creating restconf&apos;s blueprint container and closed during destroying the container. So closing this as RESOLVED INVALID.&lt;/p&gt;

&lt;p&gt;&amp;gt; Thanks for having had a look - I think it&apos;s valuable to record such findings&lt;br/&gt;
&amp;gt; here.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; PS: Maybe the &quot;trace:transactions&quot; CLI command from &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; in the future&lt;br/&gt;
&amp;gt; should have some sort of &lt;span class=&quot;error&quot;&gt;&amp;#91;hard-coded? :-(&amp;#93;&lt;/span&gt; &quot;white list&quot; to not show e.g.&lt;br/&gt;
&amp;gt; this one - or can you think of a better way how it could be made &quot;smart&lt;br/&gt;
&amp;gt; enough&quot; to understand that e.g this TransactionChain is not a leak?  Or&lt;br/&gt;
&amp;gt; perhaps I could just suppress anything that is only x1 and only start&lt;br/&gt;
&amp;gt; showing x2+ open TransactionChains - do you think that would be a good idea?&lt;/p&gt;

&lt;p&gt;Well, I can try to think about something but we should track this elsewhere and not in this bug. Maybe, we can discuss this in &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; or in some new improvement bug.&lt;/p&gt;</comment>
                            <comment id="40204" author="vorburger" created="Thu, 31 Aug 2017 13:23:48 +0000"  >&lt;p&gt;&amp;gt; we should track this elsewhere and not in this bug. Maybe, we can&lt;br/&gt;
&amp;gt; discuss this in &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; or in some new improvement bug.&lt;/p&gt;

&lt;p&gt;agreed and opened new &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1765&quot; title=&quot;trace:transactions should suppress false TransactionChain positives, by white list, or showing only x2+ ?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1765&quot;&gt;&lt;del&gt;CONTROLLER-1765&lt;/del&gt;&lt;/a&gt; to further discuss what we could do about this!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="26310">CONTROLLER-1756</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26319">CONTROLLER-1765</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>9069</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=9069]]></customfieldvalue>

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

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