<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:04: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-13772] mdt: changelog_deregister takes too long</title>
                <link>https://jira.whamcloud.com/browse/LU-13772</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We recently had the case of an MDT whose changelog records were not being processed and cleared as they should have been. We quickly reached a point where the whole catalog was full, and we had little choice but to deregister the changelog reader to resume production.&lt;/p&gt;

&lt;p&gt;We used &lt;tt&gt;lctl --device lustre-MDT0000 changelog_deregister cl1&lt;/tt&gt; for that, and it took 3 days to complete. Considering we only had a single changelog reader registered, and our goal was to simply garbage collect every changelog record, it feels wasteful that we should wait 3 days for something that essentially deletes a few files on the MDT.&lt;/p&gt;

&lt;p&gt;Would it be possible to speed up this process?&lt;/p&gt;

&lt;p&gt;It would be nice that this works by special-casing &lt;tt&gt;lctl changelog_deregister&lt;/tt&gt; when there is only one reader registered, but I think a new command (eg. &lt;tt&gt;lctl changelog_delete_everything&lt;/tt&gt;, &lt;tt&gt;lctl changelog_reset&lt;/tt&gt;, ...) would also be satisfying.&lt;/p&gt;</description>
                <environment></environment>
        <key id="59905">LU-13772</key>
            <summary>mdt: changelog_deregister takes too long</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="bougetq">Quentin Bouget</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Jul 2020 09:42:59 +0000</created>
                <updated>Thu, 9 Sep 2021 18:45:57 +0000</updated>
                            <resolved>Thu, 9 Sep 2021 18:45:57 +0000</resolved>
                                    <version>Upstream</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="274856" author="bougetq" created="Thu, 9 Jul 2020 09:47:04 +0000"  >&lt;p&gt;This is important to us, because we use robinhood, and during those 3 days, robinhood essentially works in the dark.&lt;/p&gt;

&lt;p&gt;We could launch periodic scans on our filesystem, but scans take a while, and they can still miss things.&lt;/p&gt;</comment>
                            <comment id="274990" author="pjones" created="Fri, 10 Jul 2020 16:39:16 +0000"  >&lt;p&gt;Quentin&lt;/p&gt;

&lt;p&gt;Is this something that you plan to work on or just a suggestion for someone else to work on?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="275474" author="bougetq" created="Wed, 15 Jul 2020 11:46:05 +0000"  >&lt;p&gt;Hi Peter,&lt;/p&gt;

&lt;p&gt;Just a suggestion. Although it may become a request one day.&lt;br/&gt;
We will sort this out with our support team when/if the time comes.&lt;/p&gt;</comment>
                            <comment id="301381" author="jhammond" created="Wed, 12 May 2021 17:49:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=tappro&quot; class=&quot;user-hover&quot; rel=&quot;tappro&quot;&gt;tappro&lt;/a&gt; could you look at this after &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13055&quot; title=&quot;add ability for named Changelog consumers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13055&quot;&gt;&lt;del&gt;LU-13055&lt;/del&gt;&lt;/a&gt; and in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13338&quot; title=&quot;add changelog mask per registered user&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13338&quot;&gt;&lt;del&gt;LU-13338&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="301557" author="adilger" created="Fri, 14 May 2021 00:56:17 +0000"  >&lt;p&gt;It makes sense to have a fast-path for deleting changelog records.  If the last index in the changelog is less than the lowest user, then all of the records should be deleted, and the whole file can be removed immediately.  That would speed up changelog removal by 50000x or so (a few writes to delete the file, instead of 64000 writes to cancel every record.&lt;/p&gt;</comment>
                            <comment id="302297" author="adilger" created="Fri, 21 May 2021 23:56:43 +0000"  >&lt;p&gt;It looks like this will coincidentally be fixed by patch &lt;a href=&quot;https://review.whamcloud.com/43719&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/43719&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14688&quot; title=&quot;Changelog cancel improvement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14688&quot;&gt;&lt;del&gt;LU-14688&lt;/del&gt;&lt;/a&gt; mdt: changelog purge deletes plain llog&lt;/tt&gt;&quot; that was just pushed a few days ago.&lt;/p&gt;</comment>
                            <comment id="312400" author="adilger" created="Thu, 9 Sep 2021 18:45:57 +0000"  >&lt;p&gt;The patch &lt;a href=&quot;https://review.whamcloud.com/43719&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/43719&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14688&quot; title=&quot;Changelog cancel improvement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14688&quot;&gt;&lt;del&gt;LU-14688&lt;/del&gt;&lt;/a&gt; mdt: changelog purge deletes plain llog&lt;/tt&gt;&quot; has been landed for 2.14.52.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="64369">LU-14699</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="64300">LU-14688</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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>changelog</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i014sn:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>