<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:34:07 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>[OPNFLWPLUG-1072] ContextChainHolderImpl encroaches on Cluster Singleton Service internals</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-1072</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;ever since &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/54304/3/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/lifecycle/ContextChainHolderImpl.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/54304/3/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/lifecycle/ContextChainHolderImpl.java&lt;/a&gt;, OFP is is registering on internals of how Cluster Singleton Service is operating, without ever properly checking if the changes are really relevant to OFP, breaking encapsulation.&lt;/p&gt;

&lt;p&gt;I am not sure why this was even done, but the registration must be eliminated, i.e. OFP must not reference&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;
&lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt; ASYNC_SERVICE_ENTITY_TYPE = &lt;span class=&quot;code-quote&quot;&gt;&quot;org.opendaylight.mdsal.AsyncServiceCloseEntityType&quot;&lt;/span&gt;;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31735">OPNFLWPLUG-1072</key>
            <summary>ContextChainHolderImpl encroaches on Cluster Singleton Service internals</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="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Jun 2019 15:02:48 +0000</created>
                <updated>Thu, 5 Sep 2019 16:27:56 +0000</updated>
                                                                            <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="66950" author="vishnoianil@gmail.com" created="Fri, 28 Jun 2019 19:31:41 +0000"  >&lt;p&gt;Main reason for this&#160;workaround is following two improvement/bugs that been reported to MDSAL for a while&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-231&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/MDSAL-231&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-274&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/MDSAL-274&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Because of these limitation of Cluster Singleton we had to live with this workaround.&#160;Given that most of the codebase was moved to Cluster Singleton at that time and we were registering each&#160;device with Cluster Singleton API, we had to hack into the internal to listen to the&#160;existing device cluster singleton entity, rather than creating parallel new EOS entity for the device and managing the nightmare of device status across Cluster Singleton and EOS.&lt;/p&gt;

&lt;p&gt;Now I am not really in an opinion that &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-231&quot; title=&quot;Singleton Clustering : No notification to cluster nodes if the entity don&amp;#39;t have any owner&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-231&quot;&gt;MDSAL-231&lt;/a&gt; and &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-274&quot; title=&quot;Singleton Clustering : No way for non-candidate to check if ServiceInstance in other member is active&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-274&quot;&gt;MDSAL-274&lt;/a&gt; are really limitation of Cluster Singleton, i believe these kind of&#160;imrovement&#160;should not be pushed to Cluster Singleton as it&apos;s being designed for applications&#160;where you assume that instance will run on single controller and not for the devices that actually can be connected to multiple controller (1 or more) in active/standby. So to&#160;fix these issues properly we will move back to EOS from Cluster Singleton and that&#160;will&#160;tentatively happen in&#160;Magnesium release.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="27096">MDSAL-274</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="31734">CONTROLLER-1900</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27053">MDSAL-231</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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03o4v:</customfieldvalue>

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