<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:10:46 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-14554] Improve usability of &quot;lfs mirror&quot; commands</title>
                <link>https://jira.whamcloud.com/browse/LU-14554</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It should be possible to force the resync of a mirror with &quot;&lt;tt&gt;lfs mirror resync &amp;#45;&amp;#45;only N &amp;#45;&amp;#45;force&amp;#45;resync &amp;lt;file&amp;gt;&lt;/tt&gt;&quot; in order to resync an inconsistent component.  Otherwise, &quot;&lt;tt&gt;lfs mirror verify &amp;#45;v &amp;lt;file&amp;gt;&lt;/tt&gt;&quot; can show that two mirrors of a file are inconsistent with each other, but &quot;&lt;tt&gt;lfs mirror resync &amp;lt;file&amp;gt;&lt;/tt&gt;&quot; (with or without the &quot;&lt;tt&gt;&amp;#45;&amp;#45;only N&lt;/tt&gt;&quot; option) will not resync the file.&lt;/p&gt;

&lt;p&gt;It should be possible to use &quot;&lt;tt&gt;lfs setstripe &amp;#45;&amp;#45;comp-set &amp;#45;&amp;#45;comp&amp;#45;flags=stale &amp;#45;&amp;#45;mirror&amp;#45;id=N &amp;lt;file&amp;gt;&lt;/tt&gt;&quot; to mark at least one component of the mirror stale, without the user having to compute the value for &lt;tt&gt;&amp;#45;&amp;#45;comp&amp;#45;id=$(((mirror_id &amp;lt;&amp;lt; 16) | 1))&lt;/tt&gt;.  It probably makes sense to set the requested flags on all components of that mirror.  Alternately, we might consider &quot;&lt;tt&gt;lfs mirror stale &amp;#45;&amp;#45;mirror&amp;#45;id=N&lt;/tt&gt;&quot; or &quot;&lt;tt&gt;lfs mirror set_flags &amp;#45;&amp;#45;comp&amp;#45;flags=stale &amp;#45;&amp;#45;mirror&amp;#45;id=N&lt;/tt&gt;&quot; to do this, since at least it would be more visible within the &quot;&lt;tt&gt;lfs mirror&lt;/tt&gt;&quot; family of commands.&lt;/p&gt;

&lt;p&gt;It should be possible to have &quot;&lt;tt&gt;lfs mirror verify &amp;#45;&amp;#45;stale&lt;/tt&gt;&quot; (or similar) check the mirrors of a file and mark one of them stale based on best-guess information (e.g. if there are multiple mirrors and only one is different, based on timestamps from the objects, etc).&lt;/p&gt;

&lt;p&gt;Running &quot;&lt;tt&gt;lfs mirror verify &amp;lt;file&amp;gt;&lt;/tt&gt;&quot; with a stale component should print &lt;em&gt;something&lt;/em&gt; (e.g. &quot;&lt;tt&gt;Mirror 2: 0x8f5a8013 (stale)&lt;/tt&gt;&quot;) and at least return a non-zero error code, since it is otherwise misleading that &quot;&lt;tt&gt;lfs mirror verify&lt;/tt&gt;&quot; returns success when in fact the mirrors are not in sync.&lt;/p&gt;

&lt;p&gt;Running &quot;&lt;tt&gt;lfs mirror verify &amp;#45;&amp;#45;only=1,2 &amp;lt;file&amp;gt;&lt;/tt&gt;&quot; returns an unexpected error:&lt;/p&gt;
&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;lfs mirror verify: option &apos;--only=1,2,&amp;lt;file&amp;gt;&apos; unrecognized.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="63521">LU-14554</key>
            <summary>Improve usability of &quot;lfs mirror&quot; commands</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="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="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>FLR</label>
                            <label>lfs</label>
                            <label>medium</label>
                    </labels>
                <created>Thu, 25 Mar 2021 21:50:29 +0000</created>
                <updated>Mon, 15 May 2023 20:21:15 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="296790" author="adilger" created="Thu, 25 Mar 2021 21:59:58 +0000"  >&lt;p&gt;John, you have a better eye for user interface, feel free to comment/edit my proposals if you think they&apos;re going in the wrong direction.&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="25084">LU-5170</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="73859">LU-16446</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="76062">LU-16831</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|i01qjb:</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>