<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:20 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-1740] Producer un-registration on isolated node is never propagated to the rest of the cluster</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1740</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;This is continuation of &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1731&quot; title=&quot;it provider: produce-transactions does not close itemProducer on success&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1731&quot;&gt;&lt;del&gt;CONTROLLER-1731&lt;/del&gt;&lt;/a&gt; (from comment 3 on) with better title and less old information.&lt;/p&gt;

&lt;p&gt;The test scenario: Each member starts transaction producer. Leader is isolated for a time slightly longer than 120 seconds. New leader is elected, tests sees the isolated produred report RequestTimeoutException, at that point the preoducer unregisters, while the member is still isolated.&lt;br/&gt;
After rejoin, the test attempts to start new producer. During producer registration, frontend rejects it, as the new leader still believes the old producer is registered.&lt;/p&gt;

&lt;p&gt;The complete karaf.log is here &lt;span class=&quot;error&quot;&gt;&amp;#91;10&amp;#93;&lt;/span&gt;, the final relevant segment:&lt;br/&gt;
2017-07-11 11:58:31,266 | DEBUG | qtp138207402-77  | ShardedDOMDataTree               | 147 - org.opendaylight.mdsal.dom-broker - 2.2.1.SNAPSHOT | Creating producer org.opendaylight.mdsal.dom.broker.ShardedDOMDataTreeProducer@e86db&lt;br/&gt;
2017-07-11 11:58:31,266 | TRACE | qtp138207402-77  | ShardedDOMDataTree               | 147 - org.opendaylight.mdsal.dom-broker - 2.2.1.SNAPSHOT | Adding subtree DOMDataTreeIdentifier{datastore=CONFIGURATION, root=/(tag:opendaylight.org&lt;br/&gt;
,2017:controller:yang:lowlevel:target?revision=2017-02-15)id-ints/id-int/id-int[&lt;/p&gt;
{(tag:opendaylight.org,2017:controller:yang:lowlevel:target?revision=2017-02-15)id=prefix-3}
&lt;p&gt;]} to map.&lt;br/&gt;
2017-07-11 11:58:31,291 | ERROR | qtp138207402-77  | ContainerResponse                | 68 - com.sun.jersey.jersey-server - 1.17.0 | The RuntimeException could not be mapped to a response, re-throwing to the HTTP container&lt;br/&gt;
org.opendaylight.controller.cluster.datastore.exceptions.TimeoutException: Sending message class org.opendaylight.controller.cluster.sharding.messages.ProducerCreated to actor Actor&lt;a href=&quot;#725503709&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;akka://opendaylight-cluster-data/user/ShardedDOMDataTreeFrontend#725503709&lt;/a&gt; failed. Try again later.&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.utils.ActorContext.executeOperation(ActorContext.java:318)&lt;br/&gt;
        at org.opendaylight.controller.cluster.sharding.DistributedShardedDOMDataTree.createProducer(DistributedShardedDOMDataTree.java:305)&lt;br/&gt;
        at Proxy547e830a_606c_4629_8e3c_527344f37367.createProducer(Unknown Source)&lt;br/&gt;
        at Proxya432b2a8_a907_437a_a7a2_58deacd6d56e.createProducer(Unknown Source)&lt;br/&gt;
        at org.opendaylight.controller.clustering.it.provider.impl.ProduceTransactionsHandler.start(ProduceTransactionsHandler.java:67)&lt;br/&gt;
...&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;10&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/sandbox/jenkins091/controller-csit-3node-clustering-li-only-carbon/4/odl3_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/sandbox/jenkins091/controller-csit-3node-clustering-li-only-carbon/4/odl3_karaf.log.gz&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26294">CONTROLLER-1740</key>
            <summary>Producer un-registration on isolated node is never propagated to the rest of the cluster</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Jul 2017 12:18:38 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:45 +0000</updated>
                            <resolved>Tue, 13 Jul 2021 11:27:41 +0000</resolved>
                                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="52511" author="rovarga" created="Wed, 12 Jul 2017 12:43:01 +0000"  >&lt;p&gt;This boils down to producer registrations being disseminated via ShardDataTreeActor messages, which do not work during isolation.&lt;/p&gt;

&lt;p&gt;I think the proper fix is to make cluster-wide producers replicated via a runtime shard analogue to sharding table shard.&lt;/p&gt;</comment>
                            <comment id="52512" author="vrpolak" created="Wed, 12 Jul 2017 14:24:04 +0000"  >&lt;p&gt;If producer registration is to be reworked, I think we also need automatic unregistration on timeout, to prevent unreachable nodes from owning subtrees indefinitely.&lt;/p&gt;

&lt;p&gt;Also, when new producer is being registered, every possible subtree overlap should be detected. That means the free-standing producer should see no ancestor producer, but also no descendant producer.&lt;/p&gt;

&lt;p&gt;This includes inter-member race conditions, for example member-1 trying to register for /a while member-2 tries to register for /a/b.&lt;/p&gt;</comment>
                            <comment id="69411" author="rovarga" created="Tue, 13 Jul 2021 11:27:41 +0000"  >&lt;p&gt;The entire implementation was removed in &lt;font color=&quot;#000000&quot;&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1977&quot; title=&quot;Remove Producer/Consumer/ShardedDataTree implementation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1977&quot;&gt;&lt;del&gt;CONTROLLER-1977&lt;/del&gt;&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="31070">MDSAL-397</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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8845</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=8845]]></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="10337"><![CDATA[Carbon-SR2]]></customfieldvalue>

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

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