<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:47:43 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-5005] lustre_rsync unable to replicate new files in root of the filesystem</title>
                <link>https://jira.whamcloud.com/browse/LU-5005</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It appears that lustre_rsync is unable to replicate new files and dirs i nthe root od new filesystem&lt;br/&gt;
The check for deleted files triggers like this:&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;***** Start 22 MKDIR (2) [0x200000400:0xa:0x0] [0x80001:0xd9558f05:0x0] aaa *****
dest = /aaa; savedpath = aaa                                            &amp;lt;----------------------------------------------------------------------- HERE!
create: file moved ([0x200000400:0xa:0x0]). /aaa != aaa
mkfile(2) /mnt/st04fs/.lustrerepl/[0x200000400:0xa:0x0] 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Reproducer is simple&lt;br/&gt;
enable changelogs, create /src/dir run lustre_rsync from /src to /dst and see how /dst/dir is not created, but instead there&apos;s a dir with a fid name in /dst/.lustrerepl&lt;/p&gt;</description>
                <environment></environment>
        <key id="24559">LU-5005</key>
            <summary>lustre_rsync unable to replicate new files in root of the filesystem</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="niu">Niu Yawei</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 4 May 2014 17:41:07 +0000</created>
                <updated>Wed, 14 May 2014 22:35:53 +0000</updated>
                            <resolved>Fri, 9 May 2014 12:06:30 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="83141" author="pjones" created="Sun, 4 May 2014 18:46:52 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

&lt;p&gt;Could you please create a fix for this issue?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="83150" author="niu" created="Mon, 5 May 2014 03:41:57 +0000"  >&lt;p&gt;MDT assumes the path of ROOT is &apos;\0&apos;, see mdt_path():&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;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (lu_fid_eq(&amp;amp;mdt-&amp;gt;mdt_md_root_fid, mdt_object_fid(obj))) {
                path[0] = &lt;span class=&quot;code-quote&quot;&gt;&apos;\0&apos;&lt;/span&gt;;
                RETURN(0);
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However, lustre_rsync assumes the path of ROOT is &apos;/&apos;, see lr_create():&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;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (len == 1 &amp;amp;&amp;amp; info-&amp;gt;path[0] == &lt;span class=&quot;code-quote&quot;&gt;&apos;/&apos;&lt;/span&gt;)
                snprintf(info-&amp;gt;dest, PATH_MAX, &lt;span class=&quot;code-quote&quot;&gt;&quot;%s&quot;&lt;/span&gt;, info-&amp;gt;name);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I think all lustre components should consider the path of ROOT as &apos;/&apos;.&lt;/p&gt;</comment>
                            <comment id="83151" author="niu" created="Mon, 5 May 2014 03:44:55 +0000"  >&lt;p&gt;patch against master:  &lt;a href=&quot;http://review.whamcloud.com/10211&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10211&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="83613" author="pjones" created="Fri, 9 May 2014 12:06:30 +0000"  >&lt;p&gt;Landed for 2.6&lt;/p&gt;</comment>
                    </comments>
                    <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|hzwlrz:</customfieldvalue>

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