<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:22 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-976] Clustering: Leaderless default shard during feature installation.</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-976</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;This is specialization of &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=1821&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=1821&lt;/a&gt; to context similar to &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=2283&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=2283&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Yes, applications should not write to a shard lacking a Leader, but installation of a karaf feature causes that, and Leaderless state is probable just at the time when clustering feature is being installed.&lt;/p&gt;

&lt;p&gt;Basically, perhaps only a configurable transaction timeout is needed to make sure shard finds its Leader quicker.&lt;/p&gt;

&lt;p&gt;It is also possible that the more responsible component should be config subsystem, detecting this state and re-trying for a (configurable) time.&lt;/p&gt;

&lt;p&gt;Current workaround is to always verify clustering feature is fully ready before installing more features.&lt;/p&gt;

&lt;p&gt;A log attached, showing what happens when instance (of 3 node cluster) starts isolated and features are slowly being installed.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25530">CONTROLLER-976</key>
            <summary>Clustering: Leaderless default shard during feature installation.</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="-1">Unassigned</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Oct 2014 17:54:47 +0000</created>
                <updated>Thu, 19 Oct 2017 22:13:14 +0000</updated>
                            <resolved>Wed, 12 Nov 2014 11:25:12 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="49678" author="vrpolak" created="Thu, 30 Oct 2014 17:54:47 +0000"  >&lt;p&gt;Attachment cluster_20141030.log.xz has been added with description: XZipped complete karaf.log&lt;/p&gt;</comment>
                            <comment id="49674" author="rovarga" created="Fri, 31 Oct 2014 09:43:08 +0000"  >&lt;p&gt;It would not be config subsystem, but the cluster database&apos;s Module &amp;#8211; createInstance() is required to return a &apos;working&apos; instance.&lt;/p&gt;

&lt;p&gt;Since leader re-election can happen at any moment, I think the broker/transaction chain should block applications while the cluster is being formed.&lt;/p&gt;</comment>
                            <comment id="49675" author="tpantelis" created="Thu, 6 Nov 2014 20:55:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12215/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12215/&lt;/a&gt; addresses this issue, i.e. on transaction create, the CDS waits (actually retires) a reasonable amount of time (30 sec) for a shard leader to become elected.&lt;/p&gt;

&lt;p&gt;That patch was merged on Oct 29th and since this bug was reported Oct 30th, I&apos;m  assuming you didn&apos;t have that patch.&lt;/p&gt;</comment>
                            <comment id="49676" author="moraja@cisco.com" created="Tue, 11 Nov 2014 16:24:11 +0000"  >&lt;p&gt;Is this ok to close?&lt;/p&gt;</comment>
                            <comment id="49677" author="vrpolak" created="Wed, 12 Nov 2014 11:25:12 +0000"  >&lt;p&gt;&amp;gt; Is this ok to close?&lt;/p&gt;

&lt;p&gt;Yes, I thing FIXED is the correct status right now (as in not CONFIRMED anymore but not VERIFIED yet).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="25444">CONTROLLER-890</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13456" name="cluster_20141030.log.xz" size="21624" author="vrpolak" created="Thu, 30 Oct 2014 17:54:47 +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>2284</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=2284]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10360"><![CDATA[Helium-2]]></customfieldvalue>

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

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