<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:32:31 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-3279] Interop 2.3.0 &lt;-&gt; 2.4 failure on test suite lustre-rsync-test test_7: Failure in replication; differences found</title>
                <link>https://jira.whamcloud.com/browse/LU-3279</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for sarah &amp;lt;sarah@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;http://maloo.whamcloud.com/test_sets/5584e96e-b5de-11e2-9d08-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://maloo.whamcloud.com/test_sets/5584e96e-b5de-11e2-9d08-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_7 failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Failure in replication; differences found.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Info required for matching: lustre-rsync-test 7&lt;/p&gt;</description>
                <environment>client: 2.3.0&lt;br/&gt;
server: &lt;a href=&quot;http://review.whamcloud.com/#change,6252&quot;&gt;http://review.whamcloud.com/#change,6252&lt;/a&gt; patch set 5&lt;br/&gt;
client uses the t-f.sh from server</environment>
        <key id="18714">LU-3279</key>
            <summary>Interop 2.3.0 &lt;-&gt; 2.4 failure on test suite lustre-rsync-test test_7: Failure in replication; differences found</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                            <label>MB</label>
                    </labels>
                <created>Mon, 6 May 2013 00:31:33 +0000</created>
                <updated>Wed, 26 Jun 2013 16:42:47 +0000</updated>
                            <resolved>Mon, 20 May 2013 16:01:22 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                    <fixVersion>Lustre 2.1.6</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>15</watches>
                                                                            <comments>
                            <comment id="57760" author="jlevi" created="Mon, 6 May 2013 19:11:32 +0000"  >&lt;p&gt;Mike,&lt;br/&gt;
Could you please comment on this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="57835" author="adilger" created="Tue, 7 May 2013 17:07:27 +0000"  >&lt;p&gt;Di, Mike,&lt;br/&gt;
the problem here appears to be that the ChangeLog user doesn&apos;t see any log records.  Is there some change in the protocol that breaks interoperability with a 2.3 client?  Does this bug need to be a blocker for 2.4.0?&lt;/p&gt;</comment>
                            <comment id="57870" author="di.wang" created="Tue, 7 May 2013 22:56:26 +0000"  >&lt;p&gt;It seems 2.4 adds Layout changes log &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;50596 20LAYOUT 06:38:24.898596932 2013.05.07 0x0 t=[0x200000401:0x2e:0x0]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;which 2.3 clients do not recognize, which cause the failure of test_7. So it might not be a blocker.&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;Lustre: DEBUG MARKER: == lustre-rsync-test test 7: lustre_rsync stripesize == 22:54:01 (1367906041)
LustreError: 9793:0:(mdc_request.c:1236:changelog_show_cb()) Not a changelog rec 275120128/20
LustreError: 9801:0:(mdc_request.c:1236:changelog_show_cb()) Not a changelog rec 275120128/20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Jinshan, could you please comment?&lt;/p&gt;</comment>
                            <comment id="57924" author="green" created="Wed, 8 May 2013 17:53:01 +0000"  >&lt;p&gt;it should not bee to had to filter out laouyt changes from a log to a client that does not understand layout lock?&lt;/p&gt;</comment>
                            <comment id="57925" author="jay" created="Wed, 8 May 2013 17:55:19 +0000"  >&lt;p&gt;It seems there is nothing else we can do instead of requiring the customers to use uptodate client to do rsync.&lt;/p&gt;</comment>
                            <comment id="57926" author="jay" created="Wed, 8 May 2013 17:56:16 +0000"  >&lt;p&gt;I don&apos;t think to filter out the unknown record is an option because that will make rsync not work practically.&lt;/p&gt;</comment>
                            <comment id="58116" author="adilger" created="Fri, 10 May 2013 06:34:11 +0000"  >&lt;p&gt;Jinshan - that depends on what records are being filtered out.  275120128 = 0x10660000 = CHANGELOG_REC, and 20 = CL_LAYOUT.  The CL_LAYOUT records do not affect the actual data in the file, which is what lustre_rsync cares about.&lt;/p&gt;

&lt;p&gt;To be honest, I don&apos;t think the kernel should actually &lt;em&gt;care&lt;/em&gt; about what is in the ChangeLog, it should only be the consumer that needs to check what the records are.  changelog_show_cb() should IMHO be modified to remove the CL_LAST check, and just pass all of the records on to the consumer.  Otherwise, we will have all sorts of &quot;compatibility&quot; problems here for no real benefit.&lt;/p&gt;

&lt;p&gt;If necessary, we might consider to split up the cr_type field to contain a few bits of information, like:&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;#define CL_FLAG_OPTIONAL 0xff000000 &lt;span class=&quot;code-comment&quot;&gt;/* does not affect data content/layout, can be skipped */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For now, to keep things simple, I&apos;ve pushed &lt;a href=&quot;http://review.whamcloud.com/6308&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6308&lt;/a&gt; to fix this interop problem.  It moves CL_LAYOUT in the place of CL_IOCTL (which was never used, and was IMHO a pointless record).  This avoids the problem of CL_LAYOUT &amp;gt; CL_LAST(2.3).  It also removes the check for cr_type &amp;gt; CL_LAST, and just passes the records up to the caller, and the caller can decide what to do with the records.  It does not do anything like CL_FLAG_OPTIONAL, but we might consider that in the future.&lt;/p&gt;</comment>
                            <comment id="58289" author="green" created="Mon, 13 May 2013 16:27:22 +0000"  >&lt;p&gt;Just a heads up to CEA and LLNL:&lt;/p&gt;

&lt;p&gt;Current patch in review changes LAYOUT changelog record type to an incompatible value. Do you guys currently monitor it from your tools, would you be affected by the change?&lt;/p&gt;</comment>
                            <comment id="58397" author="prakash" created="Mon, 13 May 2013 20:47:06 +0000"  >&lt;p&gt;I appreciate the heads up! &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;. AFAIK, we do not use any tools external to the Lustre tree which make use of changelogs except robinhood. Can one of the robinhood developers comment on this? I&apos;m not familiar with its internals to know if it would affect it or not..&lt;/p&gt;</comment>
                            <comment id="58433" author="hdoreau" created="Tue, 14 May 2013 09:16:12 +0000"  >&lt;p&gt;Thanks for the heads up. The change doesn&apos;t affect our tools.&lt;/p&gt;

&lt;p&gt;We have concerns about the comment that has been added to lustre/lustre_user.h:650 though. As Jinshan Xiong noted, stating that CL_LAYOUT doesn&apos;t reflect any actual data change is misleading.&lt;/p&gt;</comment>
                            <comment id="58465" author="sarah" created="Tue, 14 May 2013 17:04:35 +0000"  >&lt;p&gt;interop between 2.1.5 client and 2.4 server also hit this issue in tag-2.3.65 testing:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/3e989b54-b9a5-11e2-875f-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/3e989b54-b9a5-11e2-875f-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58496" author="adilger" created="Tue, 14 May 2013 19:48:43 +0000"  >&lt;blockquote&gt;
&lt;p&gt;We have concerns about the comment that has been added to lustre/lustre_user.h:650 though. As Jinshan Xiong noted, stating that CL_LAYOUT doesn&apos;t reflect any actual data change is misleading.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;My thought is that the &lt;em&gt;content&lt;/em&gt; of the file is not changing, either in the case of file release and file migrate.  In the case of file release, the &lt;em&gt;content&lt;/em&gt; is still in the archive.  Even if it is not in Lustre, any application accessing that file would get the same data back after it is restored from the archive.&lt;/p&gt;

&lt;p&gt;There is of course some concern that a poorly-written layout swap &lt;em&gt;could&lt;/em&gt; change the content of the file (e.g. source and target file do not contain the same data), but I can&apos;t see any reason to do that.  Only the file owner could do this migrate, and they could just as easily write some other data directly into the file if they want.&lt;/p&gt;

&lt;p&gt;In any case, I&apos;ll remove the comment from the CL_LAYOUT description.&lt;/p&gt;</comment>
                            <comment id="58516" author="adilger" created="Tue, 14 May 2013 21:55:15 +0000"  >&lt;p&gt;I&apos;ve pushed &lt;a href=&quot;http://review.whamcloud.com/6338&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6338&lt;/a&gt; as a follow-on patch for master.  This changes the comment for CL_LAYOUT, and also changes the output string for this record type to match the 5-character convention used by other names.&lt;/p&gt;

&lt;p&gt;I pushed &lt;a href=&quot;http://review.whamcloud.com/6335&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6335&lt;/a&gt; as a combined patch for b2_1.&lt;/p&gt;</comment>
                            <comment id="58871" author="pjones" created="Mon, 20 May 2013 13:41:14 +0000"  >&lt;p&gt;Andreas&lt;/p&gt;

&lt;p&gt;All the present patches in flight have landed. Is any further work required or can this ticket be marked as resolved?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="18450">LU-3190</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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|hzvq6v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8116</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>