<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:14: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>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-8029] Lustre_rsync does not sync files modified</title>
                <link>https://jira.whamcloud.com/browse/LU-8029</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Since changelog does not record the activity of append-writing a file properly, lustre_rsync does not sync files modified.&lt;/p&gt;

&lt;p&gt;To reproduce, do the following:&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;# echo bbb &amp;gt;&amp;gt; /lustre/file
# lfs changelog lustre-MDT0000
388 11CLOSE 09:51:49.93058314 2016.04.12 0x442 t=[0x200000405:0x45:0x0]
# cat /lustre/file
aaa
bbb
# lustre_rsync  --source=/lustre --target=/mnt/lustre-rsync --mdt=lustre-MDT0000 --user=cl1
# cat /mnt/lustre-rsync/file
aaa
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I see the changelog only register CLOSE event (no MTIME event) when a file is modified.&lt;br/&gt;
But, lustre_rysnc ignores this entry and does nothing.&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;                case CL_CLOSE:                                                                                                                                                    
                case CL_EXT:                                                                                                                                                      
                case CL_OPEN:                                                                                                                                                     
                case CL_LAYOUT:                                                                                                                                                   
                case CL_MARK:                                                                                                                                                     
                        /* Nothing needs to be done for these entries */                                                                                                          
                        /* fallthrough */ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I think lustre_rsync should detect file data changes by CLOSE event and CLOSE event should trigger file copying&lt;br/&gt;
(According to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2298&quot; title=&quot;Changelog does not register file modifications&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2298&quot;&gt;&lt;del&gt;LU-2298&lt;/del&gt;&lt;/a&gt;, it seems to be hard for changelog to register MTIME event by file data changes).&lt;/p&gt;</description>
                <environment></environment>
        <key id="36172">LU-8029</key>
            <summary>Lustre_rsync does not sync files modified</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="4">Incomplete</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="takamura">Tatsushi Takamura</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Apr 2016 08:26:10 +0000</created>
                <updated>Wed, 13 Oct 2021 02:28:38 +0000</updated>
                            <resolved>Wed, 13 Oct 2021 02:28:38 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                    <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|hzy86v:</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>