<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:57:51 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-6167] endless loop in lustre_rsync</title>
                <link>https://jira.whamcloud.com/browse/LU-6167</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When test lustre_rsync combined with racer, some strange behavior come out.&lt;br/&gt;
1. follw is the test case i use:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Test 13 - lustre_rsync, use racer test suite&lt;br/&gt;
test_13() {&lt;br/&gt;
        init_src&lt;br/&gt;
        init_changelog&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;        local rrc=0&lt;br/&gt;
        local rc=0&lt;br/&gt;
        local clients=$CLIENTS&lt;br/&gt;
        local RDIRS&lt;br/&gt;
        local i&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;1. init racer directories&lt;br/&gt;
        for d in ${RACERDIRS}; do&lt;br/&gt;
                is_mounted $d || continue&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;                RDIRS=&quot;$RDIRS $d/racer&quot; &lt;br/&gt;
                mkdir -p $d/racer&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;lfs setstripe $d/racer -c -1&lt;br/&gt;
                if [ $MDSCOUNT -ge 2 ]; then&lt;br/&gt;
                        for i in $(seq $((MDSCOUNT - 1))); do&lt;br/&gt;
                                RDIRS=&quot;$RDIRS $d/racer$i&quot; &lt;br/&gt;
                                if [ ! -e $d/racer$i ]; then&lt;br/&gt;
                                        $LFS mkdir -i $i $d/racer$i ||&lt;br/&gt;
                                                error &quot;lfs mkdir $i failed&quot; &lt;br/&gt;
                                fi&lt;br/&gt;
                        done&lt;br/&gt;
                fi&lt;br/&gt;
        done&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;2. racer start&lt;br/&gt;
        local rpids=&quot;&quot; &lt;br/&gt;
        for rdir in $RDIRS; do&lt;br/&gt;
                do_nodes $clients &quot;DURATION=$DURATION MDSCOUNT=$MDSCOUNT \&lt;br/&gt;
                                   $racer $rdir $NUM_RACER_THREADS&quot; &amp;amp;&lt;br/&gt;
                pid=$!&lt;br/&gt;
                rpids=&quot;$rpids $pid&quot; &lt;br/&gt;
        done&lt;br/&gt;
        for pid in $rpids; do&lt;br/&gt;
                wait $pid&lt;br/&gt;
                rc=$?&lt;br/&gt;
                echo &quot;pid=$pid rc=$rc&quot; &lt;br/&gt;
                if [ $rc != 0 ]; then&lt;br/&gt;
                    rrc=$((rrc + 1))&lt;br/&gt;
                fi&lt;br/&gt;
        done&lt;/li&gt;
	&lt;li&gt;8. Replicate the changes to $TGT and TGT2&lt;br/&gt;
        $LRSYNC -s $DIR -t $TGT -t $TGT2 -m $MDT0 -u $CL_USER -l $LREPL_LOG \&lt;br/&gt;
                -D $LRSYNC_LOG $EXTRA_FLAGS&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;9. check difference&lt;br/&gt;
        check_diff $DIR $TGT&lt;br/&gt;
        check_diff $DIR $TGT2&lt;br/&gt;
        echo &quot;check difference on target dir&quot; &lt;br/&gt;
        sleep 120&lt;br/&gt;
        fini_changelog&lt;br/&gt;
        cleanup_src_tgt&lt;br/&gt;
        return 0&lt;br/&gt;
}&lt;br/&gt;
run_test 13 &quot;lustre_rsync, use racer test suite&quot; &lt;br/&gt;
It will cause lustre_rsync run in a endless loop, and never come out.&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment>CentOS</environment>
        <key id="28423">LU-6167</key>
            <summary>endless loop in lustre_rsync</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="ys">Yang Sheng</assignee>
                                    <reporter username="gnlwlb">wu libin</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Wed, 28 Jan 2015 05:08:22 +0000</created>
                <updated>Sun, 8 Feb 2015 04:54:23 +0000</updated>
                            <resolved>Sun, 8 Feb 2015 04:54:23 +0000</resolved>
                                    <version>Lustre 2.5.3</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="104936" author="gnlwlb" created="Wed, 28 Jan 2015 05:43:50 +0000"  >&lt;p&gt;The script i used to test.&lt;/p&gt;</comment>
                            <comment id="104937" author="gnlwlb" created="Wed, 28 Jan 2015 05:43:56 +0000"  >&lt;p&gt;also core dump, the stack is like:&lt;br/&gt;
 bt&lt;br/&gt;
#0  0x0000003566232925 in raise () from /lib64/libc.so.6&lt;br/&gt;
#1  0x0000003566234105 in abort () from /lib64/libc.so.6&lt;br/&gt;
#2  0x0000003566270837 in __libc_message () from /lib64/libc.so.6&lt;br/&gt;
#3  0x0000003566276166 in malloc_printerr () from /lib64/libc.so.6&lt;br/&gt;
#4  0x0000003566278f81 in _int_free () from /lib64/libc.so.6&lt;br/&gt;
#5  0x0000000000404375 in lr_cascade_move (fid=0x250a630 &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000401:0x37a:0x0&amp;#93;&lt;/span&gt;&quot;, dest=0x2511d20 &quot;/home/target/racer/11/3/11&quot;, info=0x24e0340) at lustre_rsync.c:682&lt;br/&gt;
#6  0x000000000040435a in lr_cascade_move (fid=0x250d960 &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000400:0x366:0x0&amp;#93;&lt;/span&gt;&quot;, dest=0x2512e30 &quot;/home/target/racer/11/3&quot;, info=0x24e0340) at lustre_rsync.c:677&lt;br/&gt;
#7  0x000000000040435a in lr_cascade_move (fid=0x24e0454 &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200000400:0x37a:0x0&amp;#93;&lt;/span&gt;&quot;, dest=0x24e1755 &quot;/home/target/racer/11&quot;, info=0x24e0340) at lustre_rsync.c:677&lt;br/&gt;
#8  0x0000000000405369 in lr_move (info=0x24e0340) at lustre_rsync.c:964&lt;br/&gt;
#9  0x0000000000406eb8 in lr_replicate () at lustre_rsync.c:1552&lt;br/&gt;
#10 0x000000000040751b in main (argc=18, argv=&amp;lt;value optimized out&amp;gt;) at lustre_rsync.c:1776&lt;/p&gt;

&lt;p&gt;the attached file is the test script i used.&lt;/p&gt;</comment>
                            <comment id="104939" author="gerrit" created="Wed, 28 Jan 2015 06:05:41 +0000"  >&lt;p&gt;Wu Libin (gnlwlb@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13545&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13545&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6167&quot; title=&quot;endless loop in lustre_rsync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6167&quot;&gt;&lt;del&gt;LU-6167&lt;/del&gt;&lt;/a&gt; utils: fix bugs in lustre_sync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: bb7871a24da289df3b0755508c3f307b21fdbdb0&lt;/p&gt;</comment>
                            <comment id="104941" author="gnlwlb" created="Wed, 28 Jan 2015 06:09:40 +0000"  >&lt;p&gt;I think this patch can solve this problem, but really not sure the root cause.&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/13545/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/13545/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="105289" author="pjones" created="Sat, 31 Jan 2015 00:08:06 +0000"  >&lt;p&gt;Yang Sheng&lt;/p&gt;

&lt;p&gt;Could you please take care of this patch?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="106173" author="gerrit" created="Sun, 8 Feb 2015 02:40:49 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13545/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13545/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6167&quot; title=&quot;endless loop in lustre_rsync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6167&quot;&gt;&lt;del&gt;LU-6167&lt;/del&gt;&lt;/a&gt; utils: fix bugs in lustre_sync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: dcf2a82d148797b4ac204a65ec795cde141e1d3b&lt;/p&gt;</comment>
                            <comment id="106189" author="pjones" created="Sun, 8 Feb 2015 04:54:23 +0000"  >&lt;p&gt;Landed for 2.7&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="16768" name="lustre-rsync-bug.sh" size="4998" author="gnlwlb" created="Wed, 28 Jan 2015 05:43:50 +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|hzx52f:</customfieldvalue>

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