<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:35 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-1449] Reads of medium to large size data sets fails on nodes with replica shards</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1449</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;when running dsbenchmark on a node with replica shard, the READ operation on a medium-sized list fails.&lt;/p&gt;

&lt;p&gt;I try to many reads (items in a list) on a remote leader (I.e. in my 3-node test cluster I issued the read on 10.194.126.98 or 10.194.126..99, which are replica nodes), the operation never finishes. The dsbenchmark READ test dumps a 10k-element list into the data store, and then tries to read the elements one by one. A list of 1,000 items works fine. A list of 10,000 items does not work. Even with the 10k-item list, I can see the list items through RESTCONF in the leader node (issue a REST read request on 10.194.126.97), but trying to do the programmatic read from a remote node does not work.&lt;/p&gt;

&lt;p&gt;To reproduce, install dsbenchmark and run the attached script first on the leader node and then on replica nodes with the following command line:&lt;/p&gt;

&lt;p&gt;./dsbenchmark.py --host 10.194.126.98 --txtype SIMPLE-TX --inner 1 --optype READ --warmup 1 --runs 3 --total 10000 --ops 10 100&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26003">CONTROLLER-1449</key>
            <summary>Reads of medium to large size data sets fails on nodes with replica shards</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="jmedved@cisco.com">Jan Medved</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Nov 2015 05:20:22 +0000</created>
                <updated>Tue, 16 Feb 2016 15:57:56 +0000</updated>
                            <resolved>Tue, 16 Feb 2016 15:57:56 +0000</resolved>
                                    <version>Beryllium</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="51112" author="jmedved@cisco.com" created="Thu, 12 Nov 2015 05:20:22 +0000"  >&lt;p&gt;Attachment dsbenchmark.py has been added with description: script to drive dsbenchmark&lt;/p&gt;</comment>
                            <comment id="51110" author="gary.wu1@huawei.com" created="Mon, 25 Jan 2016 22:17:27 +0000"  >&lt;p&gt;Sorry, it looks like I may not have time to work on this in the immediate future.&lt;/p&gt;</comment>
                            <comment id="51111" author="tpantelis" created="Tue, 16 Feb 2016 14:25:33 +0000"  >&lt;p&gt;Submitted &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34757/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34757/&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;The problem was that the RO transaction was getting prematurely closed due to using the wrong referent for the PhantomReference cleanup mechanism. So the more reads that were done, the more chance the referent would get GC&apos;ed and the transaction closed. After the fix, running the test with 50K items successfully completed.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13552" name="dsbenchmark.py" size="10834" author="jmedved@cisco.com" created="Thu, 12 Nov 2015 05:20:22 +0000"/>
                    </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>4627</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=4627]]></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="10309"><![CDATA[Boron]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10313"><![CDATA[Highest]]></customfieldvalue>

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

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