<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:10:25 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-14514] lod_declare_layout_del() does not check for deletion of last non stale mirror</title>
                <link>https://jira.whamcloud.com/browse/LU-14514</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The lod layer does not check that we are not deleting the last non stale mirror of a file.&lt;/p&gt;</description>
                <environment></environment>
        <key id="63304">LU-14514</key>
            <summary>lod_declare_layout_del() does not check for deletion of last non stale mirror</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>bjhpflr</label>
                    </labels>
                <created>Thu, 11 Mar 2021 22:22:01 +0000</created>
                <updated>Thu, 24 Mar 2022 19:49:43 +0000</updated>
                            <resolved>Mon, 13 Dec 2021 15:12:38 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="294837" author="jhammond" created="Fri, 12 Mar 2021 15:01:22 +0000"  >&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;# cd /mnt/lustre
# echo XXX &amp;gt; f0
# lfs mirror extend -N -c1 f0
# echo XXXX &amp;gt; f0
# lfs getstripe f0
f0
  lcm_layout_gen:    3
  lcm_mirror_count:  2
  lcm_entry_count:   2
    lcme_id:             65537
    lcme_mirror_id:      1
    lcme_flags:          init
    lcme_extent.e_start: 0
    lcme_extent.e_end:   EOF
      lmm_stripe_count:  1
      lmm_stripe_size:   1048576
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: 1
      lmm_objects:
      - 0: { l_ost_idx: 1, l_fid: [0x100010000:0x15:0x0] }

    lcme_id:             131073
    lcme_mirror_id:      2
    lcme_flags:          init,stale
    lcme_extent.e_start: 0
    lcme_extent.e_end:   EOF
      lmm_stripe_count:  1
      lmm_stripe_size:   1048576
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: 2
      lmm_objects:
      - 0: { l_ost_idx: 2, l_fid: [0x100020000:0x17:0x0] }

# lfs mirror split --mirror-id=1 f0
# lfs getstripe f0
f0
  lcm_layout_gen:    4
  lcm_mirror_count:  1
  lcm_entry_count:   1
    lcme_id:             131073
    lcme_mirror_id:      2
    lcme_flags:          init,stale
    lcme_extent.e_start: 0
    lcme_extent.e_end:   EOF
      lmm_stripe_count:  1
      lmm_stripe_size:   1048576
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: 2
      lmm_objects:
      - 0: { l_ost_idx: 2, l_fid: [0x100020000:0x17:0x0] }

# cat f0
cat: f0: Resource temporarily unavailable
#
# lfs setstripe --comp-set -I 2 --comp-flags=^stale f0
lfs setstripe: cannot clear &apos;stale&apos; flags from component. Please use lfs-mirror-resync(1) instead
# lfs mirror resync f0
lfs mirror: &apos;f0&apos; is not a FLR file.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="294841" author="jhammond" created="Fri, 12 Mar 2021 15:23:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=bobijam&quot; class=&quot;user-hover&quot; rel=&quot;bobijam&quot;&gt;bobijam&lt;/a&gt; could you take a look at this?&lt;/p&gt;</comment>
                            <comment id="294868" author="gerrit" created="Fri, 12 Mar 2021 18:29:44 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/42024&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/42024&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14514&quot; title=&quot;lod_declare_layout_del() does not check for deletion of last non stale mirror&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14514&quot;&gt;&lt;del&gt;LU-14514&lt;/del&gt;&lt;/a&gt; flr: mirror split should not make stale file&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ad24e6e727a5ff9328c62bbaad76a8c2ba6efe04&lt;/p&gt;</comment>
                            <comment id="320706" author="gerrit" created="Mon, 13 Dec 2021 03:52:10 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/42024/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/42024/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14514&quot; title=&quot;lod_declare_layout_del() does not check for deletion of last non stale mirror&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14514&quot;&gt;&lt;del&gt;LU-14514&lt;/del&gt;&lt;/a&gt; flr: mirror split should not make stale file&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 83c790cbf2f8f7452e1382051564af6f155b47cf&lt;/p&gt;</comment>
                            <comment id="320751" author="pjones" created="Mon, 13 Dec 2021 15:12:38 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                            <comment id="326797" author="gerrit" created="Sun, 20 Feb 2022 18:29:09 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46564&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46564&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14514&quot; title=&quot;lod_declare_layout_del() does not check for deletion of last non stale mirror&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14514&quot;&gt;&lt;del&gt;LU-14514&lt;/del&gt;&lt;/a&gt; tests: skip sanity-flr test_44b for interop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 66f0aafcae4fde3d6d1f4c934af33edffab0f480&lt;/p&gt;</comment>
                            <comment id="328201" author="gerrit" created="Sat, 5 Mar 2022 20:42:54 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/46564/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46564/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14514&quot; title=&quot;lod_declare_layout_del() does not check for deletion of last non stale mirror&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14514&quot;&gt;&lt;del&gt;LU-14514&lt;/del&gt;&lt;/a&gt; tests: skip sanity-flr test_44b for interop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c70b1b1e283d0a34527dc8353e3a66fabf2d9cdd&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="69254">LU-15691</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="63294">LU-14512</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|i01p7z:</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>