<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:07: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>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-14158] lfs changelog do not display old changelog after changelog_catalog  wrapped arround</title>
                <link>https://jira.whamcloud.com/browse/LU-14158</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The following source code introduce an regression when the &quot;changelog_catalog&quot; reach the end of llog catalog:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
284 &lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; chlg_load(void *args)                                                                     
285 {                                                                                                    
.....                                                                                     
293                                                                                                      
294         crs-&amp;gt;crs_last_catidx = -1;  &amp;lt;-----                                                                
295         crs-&amp;gt;crs_last_idx = 0;
.....
332         rc = llog_cat_process(NULL, llh, chlg_read_cat_process_cb, crs,
333                                 crs-&amp;gt;crs_last_catidx, crs-&amp;gt;crs_last_idx);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The -1 value or LLOG_CAT_FIRST for startcat is special value that scan the a llog catalog from index 0 to lgh_last_idx. It will not process catalog records at the end of catalog if the catalog has wrapped arround ( from llh_cat_idx to the end of catalog indexes). See llog_cat_process_or_fork for more information.&lt;/p&gt;

&lt;p&gt;So when the message &quot;llog_cat_process_or_fork: catlog &quot;DFID&quot; crosses index zero&quot; by changelogs client, the client will &quot;lost&quot; all the old changelogs that was not synchronized.&lt;/p&gt;

&lt;p&gt;The polling mode is not concerned by this issue (only the first iteration).&lt;/p&gt;

&lt;p&gt;I&#160; reproduced this bug on my VMs. I am attaching to this ticket the changelogs files that I used for my tests.&lt;/p&gt;</description>
                <environment>VMs + ldiskfs</environment>
        <key id="61796">LU-14158</key>
            <summary>lfs changelog do not display old changelog after changelog_catalog  wrapped arround</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/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="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="eaujames">Etienne Aujames</assignee>
                                    <reporter username="eaujames">Etienne Aujames</reporter>
                        <labels>
                    </labels>
                <created>Fri, 27 Nov 2020 19:06:34 +0000</created>
                <updated>Tue, 20 Dec 2022 18:47:19 +0000</updated>
                            <resolved>Tue, 22 Dec 2020 12:55:11 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                    <version>Lustre 2.12.3</version>
                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.4</version>
                    <version>Lustre 2.12.5</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="286211" author="gerrit" created="Fri, 27 Nov 2020 22:16:42 +0000"  >&lt;p&gt;Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40786&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40786&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14158&quot; title=&quot;lfs changelog do not display old changelog after changelog_catalog  wrapped arround&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14158&quot;&gt;&lt;del&gt;LU-14158&lt;/del&gt;&lt;/a&gt; mdc: process changelogs_catalog from the oldest rec&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c94397960f105fc70e5f6e5c38eb4664bd6976ee&lt;/p&gt;</comment>
                            <comment id="288168" author="gerrit" created="Tue, 22 Dec 2020 05:28:21 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40786/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40786/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14158&quot; title=&quot;lfs changelog do not display old changelog after changelog_catalog  wrapped arround&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14158&quot;&gt;&lt;del&gt;LU-14158&lt;/del&gt;&lt;/a&gt; mdc: process changelogs_catalog from the oldest rec&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ad4c8633498848c2f388942916830b021b5ba350&lt;/p&gt;</comment>
                            <comment id="288191" author="pjones" created="Tue, 22 Dec 2020 12:55:11 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="288686" author="gerrit" created="Tue, 5 Jan 2021 17:38:29 +0000"  >&lt;p&gt;Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41132&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41132&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14158&quot; title=&quot;lfs changelog do not display old changelog after changelog_catalog  wrapped arround&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14158&quot;&gt;&lt;del&gt;LU-14158&lt;/del&gt;&lt;/a&gt; tests: process changelogs_catalog from the oldest rec&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 76fa09d6b36090871228d61041d08fdae41b1f01&lt;/p&gt;</comment>
                            <comment id="289040" author="gerrit" created="Fri, 8 Jan 2021 15:40:46 +0000"  >&lt;p&gt;Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/41173&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/41173&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14158&quot; title=&quot;lfs changelog do not display old changelog after changelog_catalog  wrapped arround&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14158&quot;&gt;&lt;del&gt;LU-14158&lt;/del&gt;&lt;/a&gt; mdc: process changelogs_catalog from the oldest rec&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 551f775afd14bccf88a847c0f20c899a68b08ff4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10322">
                    <name>Gantt End to Start</name>
                                            <outwardlinks description="has to be done before">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="36785" name="changelog_catalog.tgz" size="2277041" author="eaujames" created="Fri, 27 Nov 2020 19:48:10 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i01fyf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

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