<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:32 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-1823] Regression in OF cluster test</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1823</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;There is a regression in OF cluster test: Stats collection freezes after disconnecting switch from owner or when reconnecting switch to additional members. This does not happen immediately but after a few retries.&lt;/p&gt;

&lt;p&gt;After some investigation, I was able to trace back the regression to this patch and all the cherry-picks:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/68900/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/68900/&lt;/a&gt;&lt;/p&gt;
</description>
                <environment></environment>
        <key id="29611">CONTROLLER-1823</key>
            <summary>Regression in OF cluster test</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</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="rovarga">Robert Varga</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Apr 2018 17:00:35 +0000</created>
                <updated>Thu, 12 Apr 2018 18:31:48 +0000</updated>
                            <resolved>Sat, 7 Apr 2018 00:58:15 +0000</resolved>
                                                    <fixVersion>Carbon</fixVersion>
                    <fixVersion>Nitrogen</fixVersion>
                    <fixVersion>Oxygen</fixVersion>
                    <fixVersion>Fluorine</fixVersion>
                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="62094" author="ecelgp" created="Thu, 5 Apr 2018 17:01:52 +0000"  >&lt;p&gt;Attached are full traces with cluster debug. Problem in this case started when switch was only connected to member-1 and it initiates connection to extra member-2 and member-3 at 01:59:32, you can see the WARNs on member-1 few seconds after:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2018-04-02 01:59:51,328 | WARN  | ofppool-2        | TransactionContextWrapper        | 215 - org.opendaylight.controller.sal-distributed-datastore - 1.6.3.SNAPSHOT | Failed to acquire enqueue operation permit &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; transaction member-1-datastore-operational-fe-0-chn-6-txn-96-0 on shard inventory
2018-04-02 01:59:56,330 | WARN  | ofppool-2        | RemoteTransactionContext         | 215 - org.opendaylight.controller.sal-distributed-datastore - 1.6.3.SNAPSHOT | Failed to acquire execute operation permit &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; transaction member-1-datastore-operational-fe-0-chn-6-txn-96-0 on actor ActorSelection[Anchor(akka.tcp:&lt;span class=&quot;code-comment&quot;&gt;//opendaylight-cluster-data@192.168.0.102:2550/), Path(/user/shardmanager-operational/member-2-shard-inventory-operational/shard-inventory-member-1:datastore-operational@0:6-96_797#643731958)]&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="62097" author="rovarga" created="Thu, 5 Apr 2018 18:07:25 +0000"  >&lt;p&gt;The problem is the stateful semaphore handoff between TransactionContextWrapper and RemoteTransactionContext. RemoteTransactionContext needs to understand when an incoming operations has tried to acquire a permit and whether it was successful in doing so.&lt;/p&gt;

&lt;p&gt;With the &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1814&quot; title=&quot;Datastore transactions fail to converge during partitioning&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1814&quot;&gt;&lt;del&gt;CONTROLLER-1814&lt;/del&gt;&lt;/a&gt; change the backend-controlled feedback which provided a semi-recovery in this scenario went away, leading to OperationLimiter to be under-released, as the permits acquired by TransactionContextWrapper would never get released by RemoteTransactionContext.&lt;/p&gt;</comment>
                            <comment id="62098" author="rovarga" created="Thu, 5 Apr 2018 18:36:02 +0000"  >&lt;p&gt;Nitrogen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/70382&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/70382&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="62189" author="rovarga" created="Fri, 6 Apr 2018 17:03:41 +0000"  >&lt;p&gt;Oxygen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/70384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/70384&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fluorine: &lt;a href=&quot;https://git.opendaylight.org/gerrit/70439&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/70439&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/70440&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/70440&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="29764">CONTROLLER-1825</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14544" name="karaf1.log.gz" size="2205199" author="ecelgp" created="Thu, 5 Apr 2018 17:04:37 +0000"/>
                            <attachment id="14545" name="karaf2.log.gz" size="1072905" author="ecelgp" created="Thu, 5 Apr 2018 17:04:37 +0000"/>
                            <attachment id="14546" name="karaf3.log.gz" size="2210410" author="ecelgp" created="Thu, 5 Apr 2018 17:04:37 +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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03ctj:</customfieldvalue>

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