<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:18:16 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-15433] evicted client can corrupt mirrored file</title>
                <link>https://jira.whamcloud.com/browse/LU-15433</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;ul&gt;
	&lt;li&gt;with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14642&quot; title=&quot;transfer layout version to OST objects in layout change&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14642&quot;&gt;&lt;del&gt;LU-14642&lt;/del&gt;&lt;/a&gt; landed MDS doesn&apos;t transfer new layout to OST anymore&lt;/li&gt;
	&lt;li&gt;lfs mirror resync doesn&apos;t write to primary replica, so primary replica&apos;s object still has old layout version&lt;/li&gt;
	&lt;li&gt;evicted from MDS client thinks layout lock is still granted and sends OST_WRITE with old layout version to read primary replica&apos;s object which still has old version as well&lt;/li&gt;
	&lt;li&gt;OST modifies that object&lt;/li&gt;
	&lt;li&gt;replicas are out of sync&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="67914">LU-15433</key>
            <summary>evicted client can corrupt mirrored file</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="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="bzzz">Alex Zhuravlev</reporter>
                        <labels>
                            <label>flr-improvement</label>
                    </labels>
                <created>Tue, 11 Jan 2022 11:46:39 +0000</created>
                <updated>Tue, 26 Jul 2022 10:33:38 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="322283" author="adilger" created="Tue, 11 Jan 2022 12:46:33 +0000"  >&lt;p&gt;Is this really possible?  The MDS would mark the other replicas stale as soon as the client tried to write, so the client would have to be evicted, &quot;&lt;tt&gt;lfs mirror resync&lt;/tt&gt;&quot; run and finish on the file to clear the STALE flag from the mirrors, and &lt;b&gt;then&lt;/b&gt; the client would write to the primary before it detected that it was evicted?  It seems like a long time for the client to not detect that it is evicted?&lt;/p&gt;

&lt;p&gt;One possible solution would be for the MDS to bump the layout version of a file if it evicts a client that is writing to it.  Then the evicted client would have to re-fetch the layout before it could write again.  Alternately, flag the primary with an &quot;EVICTED&quot; flag that only triggers the layout version to be increased when &quot;&lt;tt&gt;lfs mirror resync&lt;/tt&gt;&quot; is actually run.  That would avoid bumping the version repeatedly and hurting other clients writing to the same file, without any danger that the STALE flag is cleared.&lt;/p&gt;</comment>
                            <comment id="322284" author="bzzz" created="Tue, 11 Jan 2022 13:14:45 +0000"  >&lt;p&gt;that&apos;s the point AFAIU - it takes time for an evicted client to notice eviction and this window is more than enough for something like resync if the file is small enough?&lt;br/&gt;
another important thing is that &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14642&quot; title=&quot;transfer layout version to OST objects in layout change&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14642&quot;&gt;&lt;del&gt;LU-14642&lt;/del&gt;&lt;/a&gt; changes the original model where layout version was distributed by MDS to the model where the distribution is done by client. I guess Bobi Jam can comment on this better.&lt;/p&gt;</comment>
                            <comment id="341446" author="JIRAUSER17312" created="Mon, 25 Jul 2022 14:46:19 +0000"  >&lt;p&gt;Given that most of the fixes for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14642&quot; title=&quot;transfer layout version to OST objects in layout change&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14642&quot;&gt;&lt;del&gt;LU-14642&lt;/del&gt;&lt;/a&gt; have now been merged into maste / master-next what do you guys want to do with this issue??&lt;/p&gt;</comment>
                            <comment id="341565" author="bzzz" created="Tue, 26 Jul 2022 10:33:38 +0000"  >&lt;p&gt;will try &lt;a href=&quot;https://review.whamcloud.com/#/c/46707/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/46707/&lt;/a&gt; again&lt;/p&gt;</comment>
                    </comments>
                    <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_10092" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>EX-4394</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02ebz:</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>