<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:26:06 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-16336] LFSCK should fix inconsistencies caused by recovery abort</title>
                <link>https://jira.whamcloud.com/browse/LU-16336</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16159&quot; title=&quot;remove update logs after recovery abort&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16159&quot;&gt;LU-16159&lt;/a&gt;, the update logs are canceled upon recovery, which will cause inconsistencies in the filesystem. LFSCK should be able to fix these inconsistencies.&lt;/p&gt;

&lt;p&gt;This is visible in tests like replay-single test_70b that sometimes leave an undeletable directory behind after test completion  (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10616&quot; title=&quot;replay-single test_70b fails with &amp;#39;rundbench load on &amp;lt;hostname(s)&amp;gt; failed!&amp;#39; &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10616&quot;&gt;LU-10616&lt;/a&gt;).  There are various workarounds (e.g. &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16335&quot; title=&quot;&amp;quot;lfs rm_entry&amp;quot; failed to remove broken directories&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16335&quot;&gt;&lt;del&gt;LU-16335&lt;/del&gt;&lt;/a&gt; to use &quot;&lt;tt&gt;lfs rm_entry&lt;/tt&gt;&quot; to unlink the directory from the namespace, or EX-6692 to reformat the filesystem), but it would be much better to have LFSCK fix these directories and/or allow them to actually be unlinked from the filesystem.&lt;/p&gt;</description>
                <environment></environment>
        <key id="73365">LU-16336</key>
            <summary>LFSCK should fix inconsistencies caused by recovery abort</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="laisiyao">Lai Siyao</assignee>
                                    <reporter username="laisiyao">Lai Siyao</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Nov 2022 07:10:01 +0000</created>
                <updated>Thu, 30 Mar 2023 09:16:01 +0000</updated>
                                            <version>Lustre 2.16.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="367827" author="adilger" created="Thu, 30 Mar 2023 04:21:55 +0000"  >&lt;p&gt;We&apos;ve seen that the &lt;tt&gt;rm_entry&lt;/tt&gt; workaround to &quot;hide&quot; the bad entry is only temporary, and running LFSCK on the filesystem will restore the broken entry back to &lt;tt&gt;.lustre/lost+found/&amp;lt;fsname&amp;gt;-MDT0000&lt;/tt&gt; where it will again be undeletable.&lt;/p&gt;

&lt;p&gt;We either need to be able to delete such a directory with missing stripes using &quot;&lt;tt&gt;rmdir&lt;/tt&gt;&quot; if we are sure the MDT is available but the the stripe is missing, or have LFSCK fix the missing stripe in the directory so that it can be removed normally.&lt;/p&gt;

&lt;p&gt;Is it possible that patch &lt;a href=&quot;https://review.whamcloud.com/47385&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47385&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14470&quot; title=&quot;striped directory layout mismatch after failover&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14470&quot;&gt;LU-14470&lt;/a&gt; dne: striped mkdir replay by request&lt;/tt&gt;&quot; will avoid such recovery failures by allowing the client to recover the broken directory even when the MDT recovery is aborted?&lt;/p&gt;</comment>
                            <comment id="367839" author="laisiyao" created="Thu, 30 Mar 2023 09:16:01 +0000"  >&lt;p&gt;Yes, &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14470&quot; title=&quot;striped directory layout mismatch after failover&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14470&quot;&gt;LU-14470&lt;/a&gt; can help create failure, and beyond that, we need to consider other distributed transaction replay as well, e.g. migration and restripe. Besides, if client replay is aborted as well, it may still leave dangling name entries.&lt;/p&gt;

&lt;p&gt;I didn&apos;t test yet, IMHO LFSCK won&apos;t simply move dangling name entries to lost+found.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="63015">LU-14470</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="50612">LU-10616</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="68986">LU-15624</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="71583">LU-16065</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="72350">LU-16159</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="73364">LU-16335</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|i036db:</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>