<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:44:29 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-11508] DoM file data missing after doing DNE dir migration</title>
                <link>https://jira.whamcloud.com/browse/LU-11508</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I understand that current DNE stripe dir migration doesn&apos;t support DoM, the test is aimed at checking if we handle this case gracefully and found following:&lt;/p&gt;

&lt;p&gt;1. the migration itself succeed without any error nor warning&lt;br/&gt;
2. after migration, the DoM file&apos;s data is gone&lt;/p&gt;

&lt;p&gt;I think we should stop the user from migrating at the first place to avoid the data losing.&lt;/p&gt;

&lt;p&gt;Here are the test steps:&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;[root@trevis-60vm3 lustre]# lfs getdirstripe test
lmv_stripe_count: 2 lmv_stripe_offset: 0 lmv_hash_type: fnv_1a_64
mdtidx		 FID[seq:oid:ver]
     0		 [0x200000400:0x8:0x0]		
     2		 [0x280000402:0x6:0x0]		
[root@trevis-60vm3 lustre]# cd test
[root@trevis-60vm3 test]# lfs getstripe -m test-f1 
0
[root@trevis-60vm3 test]# lfs getstripe -m test-dom 
0
[root@trevis-60vm3 test]# ls
test-dom  test-f1
[root@trevis-60vm3 test]# lfs setstripe -E 1M -L mdt -E EOF dom-2
[root@trevis-60vm3 test]# echo &quot;dfdsfdlsjfd&quot; &amp;gt; dom-2 
[root@trevis-60vm3 test]# cat dom-2 
dfdsfdlsjfd
[root@trevis-60vm3 test]# lfs getstripe -m dom-2 
0
[root@trevis-60vm3 test]# cd ..
[root@trevis-60vm3 lustre]# lfs migrate -m 1,3 test
[root@trevis-60vm3 lustre]# cd test
[root@trevis-60vm3 test]# lfs getstripe -m dom-2 
1
[root@trevis-60vm3 test]# cat dom-2 
[root@trevis-60vm3 test]# ls
dom-2  test-dom  test-f1
[root@trevis-60vm3 test]# ls -al
total 16
drwxr-xr-x 2 root root 8192 Oct 12 00:51 .
drwxr-xr-x 6 root root 4096 Oct 12 00:52 ..
-rw-r--r-- 1 root root   12 Oct 12 00:51 dom-2
-rw-r--r-- 1 root root    0 Oct 12 00:49 test-dom
-rw-r--r-- 1 root root   12 Oct  5 15:54 test-f1
[root@trevis-60vm3 test]# cat dom-2 
[root@trevis-60vm3 test]# ls
dom-2  test-dom  test-f1
[root@trevis-60vm3 test]# cat test-f1 
test1dkf;sa
[root@trevis-60vm3 test]# cd ..
[root@trevis-60vm3 lustre]# lfs getdirstripe test
lmv_stripe_count: 2 lmv_stripe_offset: 1 lmv_hash_type: fnv_1a_64
mdtidx		 FID[seq:oid:ver]
     1		 [0x240000400:0x7:0x0]		
     3		 [0x2c0000401:0x7:0x0]		
[root@trevis-60vm3 lustre]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="53581">LU-11508</key>
            <summary>DoM file data missing after doing DNE dir migration</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="sarah">Sarah Liu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Oct 2018 01:03:09 +0000</created>
                <updated>Wed, 28 Dec 2022 18:59:51 +0000</updated>
                            <resolved>Sat, 10 Nov 2018 10:30:12 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                            <comments>
                            <comment id="234802" author="pjones" created="Fri, 12 Oct 2018 03:37:21 +0000"  >&lt;p&gt;Lai&lt;/p&gt;

&lt;p&gt;Could you please advise&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="234806" author="adilger" created="Fri, 12 Oct 2018 08:08:01 +0000"  >&lt;p&gt;At a minimum we need to reject such a migration request. &#160;We can fix it in a later release.&#160;&lt;/p&gt;</comment>
                            <comment id="234889" author="laisiyao" created="Sat, 13 Oct 2018 08:41:00 +0000"  >&lt;p&gt;I&apos;ll add a fix to check dom in migration.&lt;/p&gt;</comment>
                            <comment id="235071" author="gerrit" created="Thu, 18 Oct 2018 04:17:30 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33394&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33394&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11508&quot; title=&quot;DoM file data missing after doing DNE dir migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11508&quot;&gt;&lt;del&gt;LU-11508&lt;/del&gt;&lt;/a&gt; mdt: reject DoM file migration&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5cdcbcf32e94c334cea74b48765ba9a050095316&lt;/p&gt;</comment>
                            <comment id="236772" author="gerrit" created="Sat, 10 Nov 2018 05:22:30 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33394/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33394/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11508&quot; title=&quot;DoM file data missing after doing DNE dir migration&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11508&quot;&gt;&lt;del&gt;LU-11508&lt;/del&gt;&lt;/a&gt; mdt: reject DoM file migration&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8deea7888c0c242e549e6a567f9aa5d1c7c3558e&lt;/p&gt;</comment>
                            <comment id="236791" author="pjones" created="Sat, 10 Nov 2018 10:30:12 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="73751">LU-16434</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="42343">LU-10177</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|i00433:</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>