<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56: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-1755] RaftActor lastApplied index moves backwards</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1755</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The fix for &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1746&quot; title=&quot;OOM with large number of closed transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1746&quot;&gt;&lt;del&gt;CONTROLLER-1746&lt;/del&gt;&lt;/a&gt; exposes a problem with RaftActor, where the sequencing of applied state is violated and the same journal entry is being applied &amp;#8211; leading to violation of transaction ordering in DataTree.&lt;/p&gt;

&lt;p&gt;This is readily reproduced in &lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/netvirt/job/netvirt-csit-3node-openstack-ocata-gate-stateful-carbon/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/netvirt/job/netvirt-csit-3node-openstack-ocata-gate-stateful-carbon/&lt;/a&gt; and we saw this happening with Cluster Singleton Service &amp;#8211; at high transition rates EOS blows up on the same problem.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26309">CONTROLLER-1755</key>
            <summary>RaftActor lastApplied index moves backwards</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, 22 Aug 2017 14:10:42 +0000</created>
                <updated>Wed, 6 Sep 2017 16:35:38 +0000</updated>
                            <resolved>Wed, 6 Sep 2017 16:35:38 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="52608" author="rovarga" created="Tue, 22 Aug 2017 14:15:45 +0000"  >&lt;p&gt;Attachment csit.txt has been added with description: CSIT failure log&lt;/p&gt;</comment>
                            <comment id="52599" author="rovarga" created="Tue, 22 Aug 2017 14:18:38 +0000"  >&lt;p&gt;prototype fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62107/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62107/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52600" author="rovarga" created="Tue, 22 Aug 2017 14:28:59 +0000"  >&lt;p&gt;Blocks &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-275&quot; title=&quot;VerifyException from flapping service singleton registration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-275&quot;&gt;&lt;del&gt;MDSAL-275&lt;/del&gt;&lt;/a&gt; as the scale test for it is triggering this bug, as seen in &lt;a href=&quot;https://logs.opendaylight.org/sandbox/jenkins091/controller-csit-3node-cs-chasing-leader-longevity-only-carbon/7/odl2_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-cs-chasing-leader-longevity-only-carbon/7/odl2_karaf.log.gz&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="52601" author="rovarga" created="Tue, 22 Aug 2017 14:56:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/netvirt/job/netvirt-csit-3node-openstack-ocata-gate-stateful-carbon/7&amp;#39;s&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/netvirt/job/netvirt-csit-3node-openstack-ocata-gate-stateful-carbon/7&apos;s&lt;/a&gt; odl3_karaf.log shows the same failure at  around 2017-08-21 22:50:10,355, along with the time travel:&lt;/p&gt;

&lt;p&gt;2017-08-21 22:50:10,355 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational (Leader): Replicate message: identifier: member-3-datastore-operational-fe-1-txn-1133-0, logIndex: 1943, payload: class org.opendaylight.controller.cluster.datastore.persisted.PurgeTransactionPayload, isSendImmediate: false&lt;br/&gt;
2017-08-21 22:50:10,355 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational (Leader): Applying to log - commitIndex: 1940, lastAppliedIndex: 1939&lt;br/&gt;
2017-08-21 22:50:10,355 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational (Leader): Setting last applied to 1940&lt;br/&gt;
2017-08-21 22:50:10,355 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational: Moving last applied index from 1939 to 1940&lt;br/&gt;
2017-08-21 22:50:10,355 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational: Applying state for log index 1940 data org.opendaylight.controller.cluster.datastore.persisted.PurgeTransactionPayload@74db3f62&lt;br/&gt;
2017-08-21 22:50:10,355 | DEBUG | rd-dispatcher-34 | ShardDataTree                    | 203 - org.opendaylight.controller.sal-distributed-datastore - 1.5.2.SNAPSHOT | member-3-shard-default-operational: replication of member-3-datastore-operational-fe-1-txn-1131-0 has no callback&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational (Leader): Setting last applied to 1940&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational: Moving last applied index from 1940 to 1940&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational: Applying state for log index 1940 data org.opendaylight.controller.cluster.datastore.persisted.PurgeTransactionPayload@74db3f62&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational (Leader): Setting last applied to 1939&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational: Moving last applied index from 1940 to 1939&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational: Applying state for log index 1939 data org.opendaylight.controller.cluster.datastore.persisted.CommitTransactionPayload@1cb3e6f2&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | ShardDataTree                    | 203 - org.opendaylight.controller.sal-distributed-datastore - 1.5.2.SNAPSHOT | member-3-shard-default-operational: Applying foreign transaction member-3-datastore-operational-fe-1-txn-1133-0&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational (Leader): Setting last applied to 1940&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational: Moving last applied index from 1939 to 1940&lt;br/&gt;
2017-08-21 22:50:10,362 | DEBUG | rd-dispatcher-34 | Shard                            | 196 - org.opendaylight.controller.sal-clustering-commons - 1.5.2.SNAPSHOT | member-3-shard-default-operational: Applying state for log index 1940 data org.opendaylight.controller.cluster.datastore.persisted.PurgeTransactionPayload@74db3f62&lt;/p&gt;</comment>
                            <comment id="52602" author="rovarga" created="Tue, 22 Aug 2017 18:30:40 +0000"  >&lt;p&gt;Alternative fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/62169&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/62169&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52603" author="rovarga" created="Tue, 22 Aug 2017 20:56:15 +0000"  >&lt;p&gt;The alternative fix should go in anyway, because the API contract should follow what Akka Persistence does.&lt;/p&gt;

&lt;p&gt;In case of a sync call, AP juggles the actor mailbox, stashing any non-persistence-related messages and once it&apos;s done persisting and will involve the callback.&lt;/p&gt;

&lt;p&gt;In case of an async call, AP continues normal operation, scheduling a message in the actor to invoke the callback.&lt;/p&gt;

&lt;p&gt;NonPersistentDataProvider invokes both cases directly in the caller.&lt;/p&gt;

&lt;p&gt;The patch teaches NonPersistentDataProvider to send an internal message within the actor (which is an actor capability expressed as an interface), which it does in case of an async call.&lt;/p&gt;

&lt;p&gt;Since the configuration data store does not seem to be exhibiting this (or we are not hammering it hard enough), aligning the behavior should make the bug go away.&lt;/p&gt;

&lt;p&gt;If this is not the call site causing trouble, &lt;a href=&quot;https://git.opendaylight.org/gerrit/62170&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/62170&lt;/a&gt; adds stack traces to lastApplied transitions, which should pinpoint the problem.&lt;/p&gt;</comment>
                            <comment id="52604" author="anipbu" created="Wed, 23 Aug 2017 17:24:26 +0000"  >&lt;p&gt;A patch was submitted to revert the changes and fix this bug in Carbon SR2:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62169/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62169/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To better assess the impact of this bug and fix, could someone from your team please help us identify the following:&lt;br/&gt;
Regression: Is this bug a regression of functionality/performance/feature compared to Carbon?&lt;br/&gt;
Severity: Could you elaborate on the severity of this bug?  Is this a BLOCKER such that we cannot release Carbon SR2 without it?&lt;br/&gt;
Workaround: Is there a workaround such that we can write a release note instead?&lt;br/&gt;
Testing: Could you also elaborate on the testing of this patch?  How extensively has this patch been tested?  Is it covered by any unit tests or system tests?  &lt;br/&gt;
Impact: Does this fix impact any dependent projects?&lt;/p&gt;</comment>
                            <comment id="52605" author="shague@redhat.com" created="Fri, 25 Aug 2017 11:18:33 +0000"  >&lt;p&gt;I think the NetVirt side is good with this change. Jobs &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; an &lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt; below look good.&lt;/p&gt;

&lt;p&gt;Sometimes there are random failures where a node does not come back properly such as in job &lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt;. We try to bring ODL1 back into the cluster but it fails to come back within 5 minutes. Then we move to the next tests and they fail. That ODL1 is hitting the below issue. Is there anything we can do to get past that? Is this bug-9006?&lt;/p&gt;

&lt;p&gt;2017-08-25 02:02:38,430 | WARN  | saction-32-34&apos;}} | DeadlockMonitor                  | 126 - org.opendaylight.controller.config-manager - 0.6.2.SNAPSHOT | ModuleIdentifier&lt;/p&gt;
{factoryName=&apos;runtime-generated-mapping&apos;, instanceName=&apos;runtime-mapping-singleton&apos;}
&lt;p&gt; did not finish after 284864 ms&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jenkins.opendaylight.org/releng/user/shague/my-views/view/3node/job/netvirt-csit-3node-openstack-ocata-gate-stateful-carbon/25/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/user/shague/my-views/view/3node/job/netvirt-csit-3node-openstack-ocata-gate-stateful-carbon/25/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jenkins.opendaylight.org/releng/user/shague/my-views/view/3node/job/netvirt-csit-3node-openstack-ocata-upstream-stateful-carbon/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/user/shague/my-views/view/3node/job/netvirt-csit-3node-openstack-ocata-upstream-stateful-carbon/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4] &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-3node-openstack-ocata-gate-stateful-carbon/24/log.html.gz#s1-s1-t13-k2-k2-k8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-3node-openstack-ocata-gate-stateful-carbon/24/log.html.gz#s1-s1-t13-k2-k2-k8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52606" author="vorburger" created="Mon, 28 Aug 2017 09:54:35 +0000"  >&lt;p&gt;Robert, Sam, should this BZ issue be closed now, or is there anything left here?&lt;/p&gt;</comment>
                            <comment id="52607" author="rovarga" created="Mon, 28 Aug 2017 09:59:45 +0000"  >&lt;p&gt;Regression: Is this bug a regression of functionality/performance/feature compared to Carbon?&lt;/p&gt;

&lt;p&gt;Yes. This is a pre-existing issue, which was exposed by &lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-673&quot; title=&quot;Traffic between a VM without FIP and a VM with FIP is not working&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETVIRT-673&quot;&gt;&lt;del&gt;NETVIRT-673&lt;/del&gt;&lt;/a&gt; which itself is a regression.&lt;/p&gt;

&lt;p&gt;Severity: Could you elaborate on the severity of this bug?  Is this a BLOCKER such that we cannot release Carbon SR2 without it?&lt;/p&gt;

&lt;p&gt;It is, as operational datastore can easily encounter errors, which will resurface even after application-level recovery. Data corruption is possible, too.&lt;/p&gt;

&lt;p&gt;Workaround: Is there a workaround such that we can write a release note instead?&lt;/p&gt;

&lt;p&gt;There is no feasible workaround.&lt;/p&gt;

&lt;p&gt;Testing: Could you also elaborate on the testing of this patch?  How extensively has this patch been tested?  Is it covered by any unit tests or system tests?  &lt;/p&gt;

&lt;p&gt;Tested with netvirt CSIT.&lt;/p&gt;

&lt;p&gt;Impact: Does this fix impact any dependent projects?&lt;/p&gt;

&lt;p&gt;Aside from fixing issues, there is no impact as far as we know.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="26310">CONTROLLER-1756</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26316">CONTROLLER-1762</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26317">CONTROLLER-1763</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27097">MDSAL-275</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="26315">CONTROLLER-1761</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13680" name="csit.txt" size="28089" author="rovarga" created="Tue, 22 Aug 2017 14:15:45 +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>9028</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=9028]]></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|i02sj3:</customfieldvalue>

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