<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:19 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-960] Clustering: Minimize overhead of unused data store Tx instances on DOMDataBroker#new*Transaction</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-960</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;When a client creates a transaction via one of the DOMDataBroker#new*Transaction, the broker automatically creates a corresponding DOMStore*Transaction instance in each logical data store (config and operational) although both may not be needed if the client doesn&apos;t actually perform an operation (read/put/merge/delete) on a logical data store. &lt;/p&gt;

&lt;p&gt;This creates unnecessary overhead for the transaction instance and the corresponding (essentially no-op) cohort on submit, particularly for the clustered data store. We can avoid this unnecessary overhead by lazily allocating the DOMStore*Transaction instances for a logical data store when and if the first operation is actually performed on that data store.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25514">CONTROLLER-960</key>
            <summary>Clustering: Minimize overhead of unused data store Tx instances on DOMDataBroker#new*Transaction</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="tpantelis">Tom Pantelis</assignee>
                                    <reporter username="tpantelis">Tom Pantelis</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Oct 2014 15:38:23 +0000</created>
                <updated>Tue, 10 Mar 2015 15:31:43 +0000</updated>
                            <resolved>Tue, 10 Mar 2015 15:31:43 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="49627" author="tpantelis" created="Mon, 27 Oct 2014 16:50:17 +0000"  >&lt;p&gt;Submitted &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12266/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12266/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49628" author="tpantelis" created="Tue, 28 Oct 2014 13:36:05 +0000"  >&lt;p&gt;As pointed out by Robert and Tony in the gerrit:&lt;/p&gt;

&lt;p&gt;This patch breaks consistency view between two logical datastores - as it was: DOM Broker transaction was snapshot in same time from both datastores, after this patch - DOM Broker transaction is snapshot in time when first type logical data store was accessed - this in reality changes behaviour of implementation in such way, that documented API Contract of DataBroker is not honnored and potentially it also breaks isolation between concurrent transactions.&lt;/p&gt;

&lt;p&gt;a = newReadWriteTransaction(); &lt;br/&gt;
b = newReadWriteTranasction(); &lt;/p&gt;

&lt;p&gt;a.read(CONFIGURATION,PATH); // Returns null, PATH did not existed at time of allocation a and b.&lt;/p&gt;

&lt;p&gt;a.put(CONFIGURATION,PATH,foo); &lt;br/&gt;
a.submit() // is submitted and committed.&lt;/p&gt;

&lt;p&gt;b.read(CONFIGURATION,PATH) == foo // Returns true, since backing TX was lazily allocated after a was submitted.&lt;/p&gt;

&lt;p&gt;I&apos;ll drop the patch.&lt;/p&gt;

&lt;p&gt;Instead I can make changes in the clustered data store to minimize the overhead of unused data store transactions.&lt;/p&gt;</comment>
                            <comment id="49629" author="moraja@cisco.com" created="Fri, 27 Feb 2015 03:10:27 +0000"  >&lt;p&gt;You still want to keep this open?&lt;/p&gt;</comment>
                            <comment id="49630" author="tpantelis" created="Fri, 27 Feb 2015 05:05:01 +0000"  >&lt;p&gt;Yeah - there&apos;s some objects created in the constructor that I think we do lazily.  &lt;/p&gt;

&lt;p&gt;(In reply to Moiz Raja from comment #3)&lt;br/&gt;
&amp;gt; You still want to keep this open?&lt;/p&gt;</comment>
                            <comment id="49631" author="tpantelis" created="Sun, 1 Mar 2015 12:24:16 +0000"  >&lt;p&gt;Submitted &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/15859/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/15859/1&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>2260</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=2260]]></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_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10315"><![CDATA[Lithium]]></customfieldvalue>

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

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