<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:26:29 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-51803] Please backport SERVER-43641</title>
                <link>https://jira.mongodb.org/browse/SERVER-51803</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have many mongos (v4.0.20) instances running in a pod in kubernetes. And there is a lot of such pods in every node.&lt;/p&gt;

&lt;p&gt;Occasionally we got strange error:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&#160;2020-10-19T07:37:08.257+0000 E - &lt;span class=&quot;error&quot;&gt;&amp;#91;TaskExecutorPool-0&amp;#93;&lt;/span&gt; cannot open /dev/urandom Operation not permitted&lt;br/&gt;
&#160;2020-10-19T07:37:08.257+0000 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;TaskExecutorPool-0&amp;#93;&lt;/span&gt; Fatal Assertion 28839 at src/mongo/platform/random.cpp 161&lt;br/&gt;
&#160;2020-10-19T07:37:08.280+0000 F - &lt;span class=&quot;error&quot;&gt;&amp;#91;TaskExecutorPool-0&amp;#93;&lt;/span&gt; Got signal: 6 (Aborted).&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;(Sometimes it is &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;conn-nnn&amp;#93;&lt;/span&gt;&lt;/tt&gt; instead of &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;TaskExecutorPool-0&amp;#93;&lt;/span&gt;&lt;/tt&gt;)&lt;/p&gt;

&lt;p&gt;Looks like there some kernel bug or limitation concerning too many openings of /dev/urandom (probably, in conjunction with lxc environment).&lt;/p&gt;

&lt;p&gt;Looks like patch for&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43641&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-43641&lt;/a&gt;&#160;fixes it by opening /dev/urandom just once in a process (while it was not main intention of a patch)&lt;br/&gt;
 &lt;a href=&quot;https://github.com/mongodb/mongo/commit/e1f433d2c47f623ceb5d1d1aee7605fefb71b846#diff-e00f3865e22fbd4dfd1c2e65cbac4e9e53e5e008e79260a1b6a333c67de64f36L154-R184&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e1f433d2c47f623ceb5d1d1aee7605fefb71b846#diff-e00f3865e22fbd4dfd1c2e65cbac4e9e53e5e008e79260a1b6a333c67de64f36L154-R184&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Could you backport this patch to 4.0.x and 4.2.x, please? Or just make similar thing: open /dev/urandom once per process.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1521796">SERVER-51803</key>
            <summary>Please backport SERVER-43641</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="12300">Won&apos;t Do</resolution>
                                        <assignee username="spencer.jackson@mongodb.com">Spencer Jackson</assignee>
                                    <reporter username="funny.falcon@gmail.com">&#1070;&#1088;&#1080;&#1081; &#1057;&#1086;&#1082;&#1086;&#1083;&#1086;&#1074;</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Oct 2020 02:38:09 +0000</created>
                <updated>Tue, 10 Nov 2020 23:33:34 +0000</updated>
                            <resolved>Tue, 10 Nov 2020 23:33:34 +0000</resolved>
                                    <version>4.0.20</version>
                    <version>4.2.9</version>
                                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="3484594" author="spencer.jackson@10gen.com" created="Tue, 10 Nov 2020 23:33:34 +0000"  >&lt;p&gt;Unfortunately, I do not believe backporting &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43641&quot; title=&quot;platform/random.h causing bugs, upgrade overdue&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43641&quot;&gt;&lt;del&gt;SERVER-43641&lt;/del&gt;&lt;/a&gt; would be feasible. Random number generation is integral to several server components, and to our test infrastructure. The initial work done in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43641&quot; title=&quot;platform/random.h causing bugs, upgrade overdue&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43641&quot;&gt;&lt;del&gt;SERVER-43641&lt;/del&gt;&lt;/a&gt; resulted in follow-on work to upgrade some usage of non-cryptographic PRNGs to tolerate different outputs from the generators. These changes relied on newer APIs that existed in the server, and so cannot be backported. My recommendation would be to file an upstream issue with your containerization services to figure out why opening /dev/urandom results in &quot;operation not permitted&quot;, or upgrade to a newer version of MongoDB that contains &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43641&quot; title=&quot;platform/random.h causing bugs, upgrade overdue&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43641&quot;&gt;&lt;del&gt;SERVER-43641&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3463307" author="eric.sedor" created="Mon, 26 Oct 2020 16:05:58 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;We do have &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-25659&quot; title=&quot;InputStreamSecureRandom should open the urandom device file descriptor once at the start&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-25659&quot;&gt;&lt;del&gt;SERVER-25659&lt;/del&gt;&lt;/a&gt; open, which looks like it may help. But we are passing this ticket on to an appropriate team to comment on the feasibility of backporting &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43641&quot; title=&quot;platform/random.h causing bugs, upgrade overdue&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43641&quot;&gt;&lt;del&gt;SERVER-43641&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                                                <inwardlinks description="backports">
                                        <issuelink>
            <issuekey id="940083">SERVER-43641</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="309559">SERVER-25659</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 22 Oct 2020 05:04:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 13 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>spencer.jackson@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 13 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer.jackson@mongodb.com</customfieldvalue>
            <customfieldvalue>funny.falcon@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hydxun:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hy057z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4229">Security 2020-11-16</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hydk3z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>