<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:13 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-1695] tell-based-protocol: ConcurrentModificationException during replay</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1695</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;When transitioning from a connecting connection to a local connection, if we have outstanding read replies and immediate aborts, the replay will fail with a ConcurrentModificationException:&lt;/p&gt;

&lt;p&gt;java.util.ConcurrentModificationException&lt;br/&gt;
    at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:719)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:747)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.cluster.databroker.actors.dds.ProxyHistory$ReconnectCohort.replayRequests(ProxyHistory.java:232)&lt;span class=&quot;error&quot;&gt;&amp;#91;199:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.cluster.databroker.actors.dds.AbstractClientHistory$1.replayRequests(AbstractClientHistory.java:311)&lt;span class=&quot;error&quot;&gt;&amp;#91;199:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.cluster.databroker.actors.dds.AbstractDataStoreClientBehavior.lambda$connectionUp$0(AbstractDataStoreClientBehavior.java:147)&lt;span class=&quot;error&quot;&gt;&amp;#91;199:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.cluster.access.client.ClientActorBehavior.backendConnectFinished(ClientActorBehavior.java:293)&lt;span class=&quot;error&quot;&gt;&amp;#91;197:org.opendaylight.controller.cds-access-client:1.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26249">CONTROLLER-1695</key>
            <summary>tell-based-protocol: ConcurrentModificationException during replay</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="rovarga">Robert Varga</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 May 2017 16:57:12 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:40 +0000</updated>
                            <resolved>Tue, 30 May 2017 12:31:09 +0000</resolved>
                                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="52314" author="rovarga" created="Tue, 23 May 2017 16:57:12 +0000"  >&lt;p&gt;Attachment cme.txt.gz has been added with description: Cleaned-up karaf.log with relevant data&lt;/p&gt;</comment>
                            <comment id="52312" author="rovarga" created="Tue, 23 May 2017 17:04:19 +0000"  >&lt;p&gt;The reason for this failure is apparent here:&lt;/p&gt;

&lt;p&gt;2017-05-23 12:25:16,678 | DEBUG | ult-dispatcher-5 | ProxyHistory                     | 199 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | LocalHistoryIdentifier{client=ClientIdentifier&lt;/p&gt;
{frontend=member-2-frontend-datastore-config, generation=0}
&lt;p&gt;, history=0, cookie=0} created successor transaction proxy LocalReadOnlyProxyTransaction&lt;/p&gt;
{identifier=member-2-datastore-config-fe-0-txn-0-0, state=open}&lt;br/&gt;
2017-05-23 12:25:16,678 | DEBUG | ult-dispatcher-5 | AbstractProxyTransaction         | 199 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | Replaying queued request ReadTransactionRequest{target=member-2-datastore-config-fe-0-txn-0-0, sequence=0, replyTo=Actor[akka://opendaylight-cluster-data/user/$a#-555098784], path=/(urn:opendaylight:yang:aaa:cert?revision=2015-11-26)aaa-cert-service-config} to successor LocalReadOnlyProxyTransaction{identifier=member-2-datastore-config-fe-0-txn-0-0, state=open}
&lt;p&gt;2017-05-23 12:25:16,679 | DEBUG | ult-dispatcher-5 | RemoteProxyTransaction           | 199 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | Read request completed with ReadTransactionSuccess&lt;/p&gt;
{target=member-2-datastore-config-fe-0-txn-0-0, sequence=0}
&lt;p&gt;2017-05-23 12:25:16,707 | DEBUG | ult-dispatcher-5 | AbstractProxyTransaction         | 199 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | Transaction RemoteProxyTransaction&lt;/p&gt;
{identifier=member-2-datastore-config-fe-0-txn-0-0, state=successor} allocated sequence 1&lt;br/&gt;
2017-05-23 12:25:16,707 | DEBUG | ult-dispatcher-5 | AbstractProxyTransaction         | 199 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | Transaction proxy RemoteProxyTransaction{identifier=member-2-datastore-config-fe-0-txn-0-0, state=successor}
&lt;p&gt; sending request ModifyTransactionRequest&lt;/p&gt;
{target=member-2-datastore-config-fe-0-txn-0-0, sequence=1, replyTo=Actor[akka://opendaylight-cluster-data/user/$a#-555098784], operations=[], protocol=ABORT}
&lt;p&gt; callback org.opendaylight.controller.cluster.databroker.actors.dds.RemoteProxyTransaction$$Lambda$119/1241459742@11834a0c&lt;br/&gt;
2017-05-23 12:25:16,708 | DEBUG | ult-dispatcher-5 | AbstractClientConnection         | 197 - org.opendaylight.controller.cds-access-client - 1.1.0.SNAPSHOT | member-2-frontend-datastore-config: timer already scheduled&lt;br/&gt;
2017-05-23 12:25:16,708 | DEBUG | ult-dispatcher-5 | ProxyHistory                     | 199 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | Proxy org.opendaylight.controller.cluster.databroker.actors.dds.ProxyHistory$RemoteSingle@434df869 aborting transaction RemoteProxyTransaction&lt;/p&gt;
{identifier=member-2-datastore-config-fe-0-txn-0-0, state=successor}

&lt;p&gt;I.e. transaction abort is completing immediately on the replay thread and touches the cohorts map, through which replay is currently iterating &amp;#8211; hence causing CME as soon as we try to move to the next proxy.&lt;/p&gt;</comment>
                            <comment id="52313" author="rovarga" created="Wed, 24 May 2017 15:43:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/57759&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/57759&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/57770&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/57770&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="26218">CONTROLLER-1664</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13666" name="cme.txt.gz" size="20025" author="rovarga" created="Tue, 23 May 2017 16:57:12 +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>8538</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=8538]]></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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02s5r:</customfieldvalue>

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