<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:21 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-973] Clustering : Raft Leader should recognize that it has been isolated and change to a passive state</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-973</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description></description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25527">CONTROLLER-973</key>
            <summary>Clustering : Raft Leader should recognize that it has been isolated and change to a passive state</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="kramesha@cisco.com">Kamal Rameshan</assignee>
                                    <reporter username="moraja@cisco.com">Moiz Raja</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Oct 2014 22:31:47 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:15 +0000</updated>
                            <resolved>Mon, 1 Dec 2014 19:12:43 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="49650" author="moraja@cisco.com" created="Fri, 31 Oct 2014 22:16:04 +0000"  >&lt;p&gt;Let&apos;s say you have a three node clusters with node A, B and C where node A was a Leader. Due to network partition node A got isolated and node B and C were put in a separate partition. Since elections are only trigger when a heart beat is not received by a Follower node A will continue to remain a Leader. On the other partition however node B and C will trigger a new election and one of them will get voted in as a Leader. &lt;/p&gt;

&lt;p&gt;The initial concern when filing this bug was that now you could have a situation where you have 2 Leaders in the cluster one in the minority partition and the other in the majority partition. &lt;/p&gt;

&lt;p&gt;On analysis it seems that this should not cause a problem as on the minority partition the Leader will not be able to apply commits to the state because it would not get a response from it&apos;s followers. At the same time the term on the minority partition Leader would remain the same. In the majority partition the term would move forward due to the triggering of elections. If commits were added to the Leader on the majority partition it&apos;s log would move forward and become the most uptodate log. Thus when the partition is remove the Leader of the minority partition will be forced to become a follower and it&apos;s log will get corrected.&lt;/p&gt;

&lt;p&gt;Having said this there may sometimes be a need to detect that a Leader has been isolated. Need to think about how that would be useful and how to model that without tampering with the raft implementation.&lt;/p&gt;</comment>
                            <comment id="49651" author="moraja@cisco.com" created="Mon, 10 Nov 2014 14:48:30 +0000"  >&lt;p&gt;One way to handle this may be to add an additional state &quot;MinorityLeader&quot;. The behavior of a MinorityLeader would the same as Leader however a state change would be an easier way for us to notify external components of this situation.&lt;/p&gt;

&lt;p&gt;It should be possible to transition between Leader &amp;lt;-&amp;gt; MinorityLeader.&lt;/p&gt;</comment>
                            <comment id="49652" author="kramesha@cisco.com" created="Thu, 20 Nov 2014 10:09:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12799/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12799/&lt;/a&gt; - merged&lt;/p&gt;

&lt;p&gt;To fix the tests a new gerrit has been added.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/12970&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/12970&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49653" author="moraja@cisco.com" created="Mon, 1 Dec 2014 19:12:43 +0000"  >&lt;p&gt;All merged to both master and stable/helium&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/message:2277&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/message:2277&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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>2277</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=2277]]></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|i02npb:</customfieldvalue>

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