<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:34 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-1834] Transaction Trace tool wiring for ping-pong DataBroker is wrong</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1834</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;while working on&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1831&quot; title=&quot;Utilities to bootstrap CDS in a standalone environment (non-OSGi/Karaf)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1831&quot;&gt;&lt;del&gt;CONTROLLER-1831&lt;/del&gt;&lt;/a&gt;&#160;and reviewing blueprint wiring XML in controller, I realized that &lt;tt&gt;opendaylight/md-sal/mdsal-trace/binding-impl/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml&lt;/tt&gt; contained a subtle mistake:&lt;/p&gt;

&lt;p&gt;The tracing pingpong DataBroker was, by mistake, wired to the original non-tracing&#160;&lt;br/&gt;
 DOMDataBroker instead of the TracingDOMDataBroker. The tracing non pingpong DataBroker was already correct. This means that trace:transaction missed any leaks caused by non-closed transactions from users of the&#160;pingpong DataBroker.&lt;/p&gt;


&lt;p&gt; Having some application code use the tracing and other the non-tracing original DB, including&#160;separate classloading due to the BindingNormalizedNodeCodecRegistry in the BindingToNormalizedNodeCodec, when the Transaction Trace tool is installed (only), smells like asking for trouble... in fact, I&apos;m wondering if perhaps this could be causing&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-213&quot; title=&quot;Serializing DataObject to JSON causes frozen class exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-213&quot;&gt;&lt;del&gt;MDSAL-213&lt;/del&gt;&lt;/a&gt;&#160;!?&lt;/p&gt;

&lt;p&gt;I&apos;ll raise a Gerrit with a proposed fix for&#160;this ASAP.&lt;/p&gt;

&lt;p&gt;See also&#160;&lt;del&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1832&quot; title=&quot;Transaction Trace tool wiring creates second BindingToNormalizedNodeCodec&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1832&quot;&gt;&lt;del&gt;CONTROLLER-1832&lt;/del&gt;&lt;/a&gt;&lt;/del&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30083">CONTROLLER-1834</key>
            <summary>Transaction Trace tool wiring for ping-pong DataBroker is wrong</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="10000">Done</resolution>
                                        <assignee username="vorburger">Michael Vorburger</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Jun 2018 13:21:11 +0000</created>
                <updated>Tue, 12 Jun 2018 12:59:20 +0000</updated>
                            <resolved>Tue, 12 Jun 2018 12:59:20 +0000</resolved>
                                                    <fixVersion>Fluorine</fixVersion>
                    <fixVersion>Oxygen SR3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="63273" author="vorburger" created="Mon, 4 Jun 2018 13:27:33 +0000"  >&lt;p&gt;master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72656/.&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/72656/&lt;/a&gt;,&#160;stable/oxygen still TBD (after master review merge)...&lt;/p&gt;</comment>
                            <comment id="63279" author="vorburger" created="Mon, 4 Jun 2018 15:54:03 +0000"  >&lt;p&gt;This changes the output of this &lt;tt&gt;trace:transactions&lt;/tt&gt; CLI command to be like this:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;karaf@root()&amp;gt; trace:transactions
default: No open transactions, great!
pingpong: No open transactions, great!&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="63351" author="vorburger" created="Thu, 7 Jun 2018 16:19:09 +0000"  >&lt;p&gt;We unfortunately missed the train for Oxygen SR2 for this one, so SR3.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="29203">NETVIRT-1089</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27035">MDSAL-213</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="30041">CONTROLLER-1831</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="30049">CONTROLLER-1832</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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03f9z:</customfieldvalue>

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