<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:33:57 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-17258] socklnd connection type not established upon connection race</title>
                <link>https://jira.whamcloud.com/browse/LU-17258</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The following assertion was triggered on one of our clusters:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;socklnd_cb.c:1950:ksocknal_connect()) ASSERTION( (wanted &amp;amp; ((((1UL))) &amp;lt;&amp;lt; (3))) != 0 ) failed: &lt;br/&gt;
socklnd_cb.c:1950:ksocknal_connect()) LBUG&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;From crash dumps, we can see that the conn_cb has been set with:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;struct ksock_conn_cb {&lt;br/&gt;
...&lt;br/&gt;
  ksnr_scheduled = 1,&lt;br/&gt;
  ksnr_connecting = 1,&lt;br/&gt;
  ksnr_connected = 10,&lt;br/&gt;
  ksnr_deleted = 0,&lt;br/&gt;
  ksnr_ctrl_conn_count = 1,&lt;br/&gt;
  ksnr_blki_conn_count = 1,&lt;br/&gt;
  ksnr_blko_conn_count = 0,&lt;br/&gt;
  ksnr_conn_count = 2,&lt;br/&gt;
  ksnr_max_conns = 8,&lt;br/&gt;
  ksnr_busy_retry_count = 3&lt;br/&gt;
}&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The debug log shows that a connection race between the two peers is being hit three times, which causes the ksnr_busy_retry_count = 3 in the conn_cb.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=hornc&quot; class=&quot;user-hover&quot; rel=&quot;hornc&quot;&gt;hornc&lt;/a&gt; has suggested a fix for this, which we will be submitting in a bit.&lt;/p&gt;</description>
                <environment></environment>
        <key id="78758">LU-17258</key>
            <summary>socklnd connection type not established upon connection race</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="4" iconUrl="https://jira.whamcloud.com/images/icons/statuses/reopened.png" description="This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.">Reopened</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ssmirnov">Serguei Smirnov</assignee>
                                    <reporter username="nangelinas">Nikitas Angelinas</reporter>
                        <labels>
                    </labels>
                <created>Thu, 2 Nov 2023 19:41:21 +0000</created>
                <updated>Wed, 7 Feb 2024 22:30:06 +0000</updated>
                                                            <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="391534" author="gerrit" created="Thu, 2 Nov 2023 19:49:26 +0000"  >&lt;p&gt;&quot;Nikitas Angelinas &amp;lt;nikitas.angelinas@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52957&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52957&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17258&quot; title=&quot;socklnd connection type not established upon connection race&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17258&quot;&gt;LU-17258&lt;/a&gt; socklnd: ensure connection type established upon race&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 188a3a633dd2df8084722f95772831f46064fc12&lt;/p&gt;</comment>
                            <comment id="392326" author="gerrit" created="Wed, 8 Nov 2023 22:08:00 +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/+/52957/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52957/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17258&quot; title=&quot;socklnd connection type not established upon connection race&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17258&quot;&gt;LU-17258&lt;/a&gt; socklnd: ensure connection type established upon race&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5afe3b0538c533c3cca370bc9c0901abccca299a&lt;/p&gt;</comment>
                            <comment id="392360" author="pjones" created="Thu, 9 Nov 2023 00:57:01 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="403057" author="gerrit" created="Wed, 7 Feb 2024 18:49:29 +0000"  >&lt;p&gt;&quot;Serguei Smirnov &amp;lt;ssmirnov@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53955&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53955&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17258&quot; title=&quot;socklnd connection type not established upon connection race&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17258&quot;&gt;LU-17258&lt;/a&gt; socklnd: stop connecting on too many retries&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f3d666c9f05fa174365fdc3b032b84f50781f36c&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="80709">LU-17513</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80711">LU-17515</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|i040j3:</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>