<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:52 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-1169] Clustering : Snapshotting logic throws an exception when creating snapshot with replicatedLogIndex=-1</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1169</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;When creating a real snapshot the replicatedToAllLogIndex in CaptureSnapshot may be -1 in the following cases,&lt;/p&gt;

&lt;p&gt;1. When the replicatedToAllLogIndex has not moved forward at all and is still initialized to -1&lt;br/&gt;
2. When there replicatedToAllLogIndex was not found in the replicated log. &lt;/p&gt;

&lt;p&gt;This can result in the snapshotting logic throwing an exception as follows,&lt;/p&gt;


&lt;p&gt;2015-02-21 10:18:47,836 | INFO  | lt-dispatcher-29 | Shard                            | 171 - org.opendaylight.controller.sal-akka-raft - 1.2.0.SNAPSHOT | member-1-shard-inventory-operational: Initiating Snapshot Capture, journalSize = 20000, dataSizeForCheck = 636061, dataThreshold = 124507914&lt;br/&gt;
2015-02-21 10:18:47,836 | INFO  | lt-dispatcher-29 | Shard                            | 171 - org.opendaylight.controller.sal-akka-raft - 1.2.0.SNAPSHOT | member-1-shard-inventory-operational: CaptureSnapshot received by actor&lt;br/&gt;
2015-02-21 10:18:47,990 | INFO  | lt-dispatcher-34 | Shard                            | 171 - org.opendaylight.controller.sal-akka-raft - 1.2.0.SNAPSHOT | member-1-shard-inventory-operational: CaptureSnapshotReply received by actor: snapshot size 2223724&lt;br/&gt;
2015-02-21 10:18:47,990 | INFO  | lt-dispatcher-34 | Shard                            | 171 - org.opendaylight.controller.sal-akka-raft - 1.2.0.SNAPSHOT | member-1-shard-inventory-operational: Persisting of snapshot done:Snapshot=&lt;/p&gt;
{lastTerm:1, lastIndex:19999, LastAppliedIndex:19998, LastAppliedTerm:1, UnAppliedEntries size:4}
&lt;p&gt;2015-02-21 10:18:47,996 | INFO  | lt-dispatcher-15 | LocalActorRef                    | 164 - com.typesafe.akka.slf4j - 2.3.4 | Message &lt;span class=&quot;error&quot;&gt;&amp;#91;akka.dispatch.sysmsg.Suspend&amp;#93;&lt;/span&gt; from Actor&lt;a href=&quot;#-225575473&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;akka://opendaylight-cluster-data/user/shardmanager-operational/member-1-shard-inventory-operational/shard-createSnapshot1#-225575473&lt;/a&gt; to Actor&lt;a href=&quot;#-225575473&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;akka://opendaylight-cluster-data/user/shardmanager-operational/member-1-shard-inventory-operational/shard-createSnapshot1#-225575473&lt;/a&gt; was not delivered. &lt;span class=&quot;error&quot;&gt;&amp;#91;9&amp;#93;&lt;/span&gt; dead letters encountered. This logging can be turned off or adjusted with configuration settings &apos;akka.log-dead-letters&apos; and &apos;akka.log-dead-letters-during-shutdown&apos;.&lt;br/&gt;
2015-02-21 10:18:47,997 | WARN  | ult-dispatcher-8 | ShardManager                     | 178 - org.opendaylight.controller.sal-distributed-datastore - 1.2.0.SNAPSHOT | Supervisor Strategy caught unexpected exception - resuming&lt;br/&gt;
java.lang.IllegalArgumentException: fromIndex(0) &amp;gt; toIndex(-19998)&lt;br/&gt;
at java.util.ArrayList.subListRangeCheck(ArrayList.java:964)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_67&amp;#93;&lt;/span&gt;&lt;br/&gt;
at java.util.ArrayList.subList(ArrayList.java:954)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_67&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.cluster.raft.AbstractReplicatedLogImpl.snapshotPreCommit(AbstractReplicatedLogImpl.java:192)&lt;span class=&quot;error&quot;&gt;&amp;#91;171:org.opendaylight.controller.sal-akka-raft:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.cluster.raft.RaftActor.handleCaptureSnapshotReply(RaftActor.java:682)&lt;span class=&quot;error&quot;&gt;&amp;#91;171:org.opendaylight.controller.sal-akka-raft:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.cluster.raft.RaftActor.handleCommand(RaftActor.java:365)&lt;span class=&quot;error&quot;&gt;&amp;#91;171:org.opendaylight.controller.sal-akka-raft:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.onReceiveCommand(AbstractUntypedPersistentActor.java:39)&lt;span class=&quot;error&quot;&gt;&amp;#91;170:org.opendaylight.controller.sal-clustering-commons:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.cluster.datastore.Shard.onReceiveCommand(Shard.java:282)&lt;span class=&quot;error&quot;&gt;&amp;#91;178:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.UntypedPersistentActor.onReceive(Eventsourced.scala:430)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)&lt;span class=&quot;error&quot;&gt;&amp;#91;163:com.typesafe.akka.actor:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.Recovery$State$class.process(Recovery.scala:30)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.ProcessorImpl$$anon$2.process(Processor.scala:103)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.ProcessorImpl$$anon$2.aroundReceive(Processor.scala:114)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.Recovery$class.aroundReceive(Recovery.scala:256)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.UntypedPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(Eventsourced.scala:428)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.Eventsourced$$anon$2.doAroundReceive(Eventsourced.scala:82)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.Eventsourced$$anon$2.aroundReceive(Eventsourced.scala:78)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:369)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.persistence.UntypedPersistentActor.aroundReceive(Eventsourced.scala:428)&lt;span class=&quot;error&quot;&gt;&amp;#91;168:com.typesafe.akka.persistence.experimental:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)&lt;span class=&quot;error&quot;&gt;&amp;#91;163:com.typesafe.akka.actor:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.actor.ActorCell.invoke(ActorCell.scala:487)&lt;span class=&quot;error&quot;&gt;&amp;#91;163:com.typesafe.akka.actor:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)&lt;span class=&quot;error&quot;&gt;&amp;#91;163:com.typesafe.akka.actor:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at akka.dispatch.Mailbox.run(Mailbox.scala:220)&lt;span class=&quot;error&quot;&gt;&amp;#91;163:com.typesafe.akka.actor:2.3.4&amp;#93;&lt;/span&gt;&lt;br/&gt;
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_67&amp;#93;&lt;/span&gt;&lt;br/&gt;
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_67&amp;#93;&lt;/span&gt;&lt;br/&gt;
at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_67&amp;#93;&lt;/span&gt;&lt;br/&gt;
2015-02-21 10:18:47,999 | WARN  | ult-dispatcher-9 | OneForOneStrategy                | 164 - com.typesafe.akka.slf4j - 2.3.4 | fromIndex(0) &amp;gt; toIndex(-19998)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25723">CONTROLLER-1169</key>
            <summary>Clustering : Snapshotting logic throws an exception when creating snapshot with replicatedLogIndex=-1</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="moraja@cisco.com">Moiz Raja</assignee>
                                    <reporter username="moraja@cisco.com">Moiz Raja</reporter>
                        <labels>
                    </labels>
                <created>Sun, 22 Feb 2015 18:08:19 +0000</created>
                <updated>Tue, 24 Feb 2015 02:53:34 +0000</updated>
                            <resolved>Tue, 24 Feb 2015 02:53:34 +0000</resolved>
                                    <version>Post-Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="50173" author="moraja@cisco.com" created="Tue, 24 Feb 2015 02:53:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/15604/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/15604/&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>2741</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=2741]]></customfieldvalue>

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

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

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