<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:33:20 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-17184] remove corrupted local config llog</title>
                <link>https://jira.whamcloud.com/browse/LU-17184</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;damaged local config llog can stay on target and prevent it from mount. This happens because &lt;tt&gt;mgc_llog_local_copy()&lt;/tt&gt; uses &lt;tt&gt;llog_erase()&lt;/tt&gt; to remove llogs which can&apos;t do the job if llog header is damaged. Such situation can be resolved by manual cleanup via ldiskfs mount only.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;mgc_llog_local_copy()&lt;/tt&gt; should be reworked to remove local llog and its backup if they are not valid.&lt;/p&gt;</description>
                <environment></environment>
        <key id="78353">LU-17184</key>
            <summary>remove corrupted local config llog</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="1">Fixed</resolution>
                                        <assignee username="tappro">Mikhail Pershin</assignee>
                                    <reporter username="tappro">Mikhail Pershin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Oct 2023 19:22:45 +0000</created>
                <updated>Tue, 14 Nov 2023 22:37:44 +0000</updated>
                            <resolved>Thu, 9 Nov 2023 01:09:09 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="389300" author="gerrit" created="Fri, 13 Oct 2023 22:21:17 +0000"  >&lt;p&gt;&quot;Mikhail Pershin &amp;lt;mpershin@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52697&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52697&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17184&quot; title=&quot;remove corrupted local config llog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17184&quot;&gt;&lt;del&gt;LU-17184&lt;/del&gt;&lt;/a&gt; mgc: remove damaged local configs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 82da0b05798b4ef367a26fbe9a4fdaca3aac797f&lt;/p&gt;</comment>
                            <comment id="389301" author="tappro" created="Fri, 13 Oct 2023 22:28:56 +0000"  >&lt;p&gt;The &lt;tt&gt;llog_erase()&lt;/tt&gt; analysis showed that is can work without calling &lt;tt&gt;llog_init_handle()&lt;/tt&gt; which validates&#160; llog header and fails if it is damaged. So &lt;tt&gt;llog_erase()&lt;/tt&gt; can just destroy llog as file without checking its internals. That resolves the part of issue about removal of damaged configs. The second part of solution is to avoid exiting with error when local config can&apos;t be copied to backup, there is no need to prevent mount. Instead we just proceed with remote llog copying and refresh local config.&lt;/p&gt;</comment>
                            <comment id="392329" author="gerrit" created="Wed, 8 Nov 2023 22:17:08 +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/c/fs/lustre-release/+/52697/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52697/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17184&quot; title=&quot;remove corrupted local config llog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17184&quot;&gt;&lt;del&gt;LU-17184&lt;/del&gt;&lt;/a&gt; mgc: remove damaged local configs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6a6e4ee20fe5aaad4beab5477e1c7d05e4e702e2&lt;/p&gt;</comment>
                            <comment id="392365" author="pjones" created="Thu, 9 Nov 2023 01:09:09 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </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|i03y4n:</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>