<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:27:05 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-2657] Shouldn&apos;t deleting objects in mds_lov_update_objids()</title>
                <link>https://jira.whamcloud.com/browse/LU-2657</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There is a code snippet from The code in mds_lov_update_objids():&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (id &amp;gt; data[idx]) {
#ifndef HAVE_DELAYED_RECOVERY
                        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; lost = id - data[idx] - 1;
                        &lt;span class=&quot;code-comment&quot;&gt;/* we might have lost precreated objects due to VBR */&lt;/span&gt;
                        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (lost &amp;gt; 0 &amp;amp;&amp;amp; obd-&amp;gt;obd_recovering) {
                                CDEBUG(D_HA, &lt;span class=&quot;code-quote&quot;&gt;&quot;GAP in objids is %u\n&quot;&lt;/span&gt;, lost);
                                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!obd-&amp;gt;obd_version_recov)
                                        CWARN(&lt;span class=&quot;code-quote&quot;&gt;&quot;Unexpected gap in objids\n&quot;&lt;/span&gt;);
                                &lt;span class=&quot;code-comment&quot;&gt;/* lsm is allocated &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; NULL */&lt;/span&gt;
                                mds_log_lost_precreated(obd, &amp;amp;lsm, &amp;amp;stripes,
                                                        data[idx] + 1, lost, i);
                        }
#endif
                        data[idx] = id;
                        cfs_bitmap_set(mds-&amp;gt;mds_lov_page_dirty, page);
                }
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Which is not quite right, because we can&apos;t guarantee the object id is always increased in transno order, and if the lov_objid file was removed by administrator (to fix the corrupted lov_objid file), many objects could be deleted mistakenly then.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17243">LU-2657</key>
            <summary>Shouldn&apos;t deleting objects in mds_lov_update_objids()</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="niu">Niu Yawei</assignee>
                                    <reporter username="niu">Niu Yawei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 20 Jan 2013 22:18:03 +0000</created>
                <updated>Wed, 20 Feb 2013 09:08:04 +0000</updated>
                            <resolved>Tue, 19 Feb 2013 21:51:49 +0000</resolved>
                                    <version>Lustre 1.8.8</version>
                                    <fixVersion>Lustre 2.1.5</fixVersion>
                    <fixVersion>Lustre 1.8.9</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="50878" author="niu" created="Mon, 21 Jan 2013 04:31:08 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/5137&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5137&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50933" author="adilger" created="Mon, 21 Jan 2013 15:20:59 +0000"  >&lt;p&gt;Niu, is this still a problem for 2.1 or 2.4?&lt;/p&gt;</comment>
                            <comment id="50952" author="niu" created="Mon, 21 Jan 2013 21:26:25 +0000"  >&lt;p&gt;Yes, it&apos;s still a problem for 2.1, but looks it has been fixed in ORI-692 for 2.4.&lt;/p&gt;</comment>
                            <comment id="51434" author="niu" created="Tue, 29 Jan 2013 21:27:11 +0000"  >&lt;p&gt;patch for b2_1: &lt;a href=&quot;http://review.whamcloud.com/5206&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5206&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52725" author="niu" created="Tue, 19 Feb 2013 21:51:49 +0000"  >&lt;p&gt;patches landed.&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|hzvfrj:</customfieldvalue>

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