<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:57:00 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-2020] Enable testSnapshotOnRootOverwrite() with ClientBackedDataStore</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-2020</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;We have this test disabled for tell-based protocol, as it fails on:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;testSnapshotOnRootOverwrite[class org.opendaylight.controller.cluster.databroker.TestClientBackedDataStore](org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest)  Time elapsed: 9.265 s  &amp;lt;&amp;lt;&amp;lt; FAILURE!
java.lang.AssertionError: expected:&amp;lt;1&amp;gt; but was:&amp;lt;-1&amp;gt;
    at org.junit.Assert.fail(Assert.java:89)
    at org.junit.Assert.failNotEquals(Assert.java:835)
    at org.junit.Assert.assertEquals(Assert.java:647)
    at org.junit.Assert.assertEquals(Assert.java:633)
    at org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest.lambda$testSnapshotOnRootOverwrite$20(DistributedDataStoreRemotingIntegrationTest.java:1430)
    at org.opendaylight.controller.cluster.datastore.IntegrationTestKit.verifyShardState(IntegrationTestKit.java:318)
    at org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest.testSnapshotOnRootOverwrite(DistributedDataStoreRemotingIntegrationTest.java:1429)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="34920">CONTROLLER-2020</key>
            <summary>Enable testSnapshotOnRootOverwrite() with ClientBackedDataStore</summary>
                <type id="10101" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10318&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="3" iconUrl="https://jira.opendaylight.org/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ivanhrasko">Ivan Hrasko</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                            <label>pick-next</label>
                            <label>pt</label>
                    </labels>
                <created>Thu, 11 Nov 2021 07:09:10 +0000</created>
                <updated>Mon, 22 Jan 2024 13:47:42 +0000</updated>
                                                                            <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="72130" author="JIRAUSER15508" created="Wed, 26 Apr 2023 10:50:46 +0000"  >&lt;p&gt;testSnapshotOnRootOverwrite() &lt;span class=&quot;error&quot;&gt;&amp;#91;CBDS == ClientBackedDataStore ; DDS == DistributedDataStore&amp;#93;&lt;/span&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;tests ReplicatedLog snapshot indexes&lt;/li&gt;
	&lt;li&gt;testing procedure:&lt;/li&gt;
&lt;/ul&gt;


&lt;ol&gt;
	&lt;li&gt;write&amp;amp;readData - root&lt;/li&gt;
	&lt;li&gt;verifyFakeSnap&lt;/li&gt;
	&lt;li&gt;verifyRealSnap&lt;/li&gt;
	&lt;li&gt;write&amp;amp;readData x 10&lt;/li&gt;
	&lt;li&gt;verifyFakeSnap&lt;/li&gt;
	&lt;li&gt;verifyRealSnap&lt;/li&gt;
	&lt;li&gt;write&amp;amp;readData - root&lt;/li&gt;
	&lt;li&gt;verifyFakeSnap&lt;/li&gt;
	&lt;li&gt;verifyRealSnap&lt;/li&gt;
&lt;/ol&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;where write&amp;amp;readData is composed of 2 operations
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;newReadWriteTransaction() -&amp;gt; write() -&amp;gt; ready() -&amp;gt; commit()&lt;/li&gt;
		&lt;li&gt;newReadOnlyTransaction() -&amp;gt; read() ... (verify written data)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;fs == fakeSnapshotIndex ; rs == realSnapshotIndex&amp;#93;&lt;/span&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;snapshotIndex starts at -1&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;for DDS we expect these indexes&lt;/b&gt; while going through the points of the testing procedure:&lt;br/&gt;
1. -&amp;gt; fs=1 | rs=1&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;DisableTrackingPayload + Simple&lt;/li&gt;
	&lt;li&gt;root overwrite causes the capture of a real snapshot&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;4. -&amp;gt; fs=10 | rs=1&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Simple&lt;/li&gt;
	&lt;li&gt;real snapshot not being captured&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;7. -&amp;gt; fs=12 | rs=12&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Simple&lt;/li&gt;
	&lt;li&gt;again root overwrite -&amp;gt; real snapshot capture -&amp;gt; everything in it&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;for CBDS we expect these indexes:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;1. -&amp;gt; fs=0 | rs=0&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Simple&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;4. -&amp;gt; fs=20 | rs=0&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;PurgeTransactionPayload + Simple&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;7. -&amp;gt; fs=22 | rs=22&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;root overwritten&lt;/li&gt;
	&lt;li&gt;compared to DDS, here we have extra LogEntry guaranteed per write&amp;amp;read&lt;/li&gt;
	&lt;li&gt;this is, however not true always ... sometimes extra LogEntries with AbortTransactionPayload are being appended to ReplicatedLog&lt;/li&gt;
	&lt;li&gt;the transactions being aborted are LocalReadOnly, that were used for reading the written data&lt;/li&gt;
	&lt;li&gt;these transaction were NOT CLOSED while releasing state associated with that transaction&lt;/li&gt;
&lt;/ul&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i040mv:</customfieldvalue>

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