<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58: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>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-1862] server does not start in time in pair7.js test</title>
                <link>https://jira.mongodb.org/browse/SERVER-1862</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&amp;lt;&lt;a href=&quot;http://buildbot.mongodb.org/builders/Linux%2064-bit/builds/2017/steps/test_3/logs/stdio&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://buildbot.mongodb.org/builders/Linux%2064-bit/builds/2017/steps/test_3/logs/stdio&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;m31002| Mon Sep 27 01:35:21 MongoDB starting : pid=11078 port=31002 dbpath=/data/db/jstests_pair7test-right 64-bit &lt;br/&gt;
m31002| &lt;br/&gt;
m31002| ** NOTE: This is a development version (1.7.1-pre-) of MongoDB.&lt;br/&gt;
m31002| **       Not recommended for production.&lt;br/&gt;
m31002| &lt;br/&gt;
m31002| Mon Sep 27 01:35:21 db version v1.7.1-pre-, pdfile version 4.5&lt;br/&gt;
m31002| Mon Sep 27 01:35:21 git version: eb74c84814a1f0aceb7cd335e1296d419550ae23&lt;br/&gt;
m31002| Mon Sep 27 01:35:21 sys info: Linux domU-12-31-39-06-79-A1 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41&lt;br/&gt;
assert.soon failed: function () {&lt;br/&gt;
    try &lt;/p&gt;
{
        m = new Mongo(&quot;127.0.0.1:&quot; + port);
        return true;
    }
&lt;p&gt; catch (e) {&lt;br/&gt;
    }&lt;br/&gt;
    return false;&lt;br/&gt;
}, msg:unable to connect to mongo program on port 31002&lt;br/&gt;
Error(&quot;Printing Stack Trace (lines are 0-based in spidermonkey)&quot;)@:0&lt;br/&gt;
()@shell/utils.js:20&lt;br/&gt;
(&quot;assert.soon failed: function () {\n    try &lt;/p&gt;
{\n        m = new Mongo(\&quot;127.0.0.1:\&quot; + port);\n        return true;\n    }
&lt;p&gt; catch (e) &lt;/p&gt;
{\n    }
&lt;p&gt;\n    return false;\n}, msg:unable to connect to mongo program on port 31002&quot;)@shell/utils.js:31&lt;br/&gt;
((function () {try &lt;/p&gt;
{m = new Mongo(&quot;127.0.0.1:&quot; + port);return true;}
&lt;p&gt; catch (e) {}return false;}),&quot;unable to connect to mongo program on port 31002&quot;,60000)@shell/utils.js:117&lt;br/&gt;
(&quot;mongod&quot;,&quot;-&lt;del&gt;port&quot;,31002,&quot;&lt;/del&gt;&lt;del&gt;dbpath&quot;,&quot;/data/db/jstests_pair7test-right&quot;,&quot;&lt;/del&gt;&lt;del&gt;nohttpinterface&quot;,&quot;&lt;/del&gt;-bind_ip&quot;,&quot;127.0.0.1&quot;)@shell/servers.js:136&lt;br/&gt;
apply(null,&lt;span class=&quot;error&quot;&gt;&amp;#91;object Array&amp;#93;&lt;/span&gt;)@:0&lt;br/&gt;
(&quot;-&lt;del&gt;port&quot;,31002,&quot;&lt;/del&gt;&lt;del&gt;dbpath&quot;,&quot;/data/db/jstests_pair7test-right&quot;,&quot;&lt;/del&gt;&lt;del&gt;nohttpinterface&quot;,&quot;&lt;/del&gt;-bind_ip&quot;,&quot;127.0.0.1&quot;)@shell/servers.js:102&lt;br/&gt;
apply(null,&lt;span class=&quot;error&quot;&gt;&amp;#91;object Object&amp;#93;&lt;/span&gt;)@:0&lt;br/&gt;
(&quot;-&lt;del&gt;port&quot;,31002,&quot;&lt;/del&gt;&lt;del&gt;dbpath&quot;,&quot;/data/db/jstests_pair7test-right&quot;,&quot;&lt;/del&gt;&lt;del&gt;nohttpinterface&quot;,&quot;&lt;/del&gt;-bind_ip&quot;,&quot;127.0.0.1&quot;)@shell/servers.js:106&lt;br/&gt;
(15)@/mnt/home/buildbot/slave/Linux_64bit/mongo/jstests/repl/pair7.js:22&lt;br/&gt;
@/mnt/home/buildbot/slave/Linux_64bit/mongo/jstests/repl/pair7.js:83&lt;/p&gt;

&lt;p&gt;Mon Sep 27 01:36:22 uncaught exception: assert.soon failed: function () {&lt;br/&gt;
    try &lt;/p&gt;
{
        m = new Mongo(&quot;127.0.0.1:&quot; + port);
        return true;
    }
&lt;p&gt; catch (e) {&lt;br/&gt;
    }&lt;br/&gt;
    return false;&lt;br/&gt;
}, msg:unable to connect to mongo program on port 31002&lt;br/&gt;
failed to load: /mnt/home/buildbot/slave/Linux_64bit/mongo/jstests/repl/pair7.js&lt;/p&gt;</description>
                <environment></environment>
        <key id="13201">SERVER-1862</key>
            <summary>server does not start in time in pair7.js test</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="aaron">Aaron Staple</assignee>
                                    <reporter username="aaron">Aaron Staple</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Sep 2010 20:48:18 +0000</created>
                <updated>Mon, 19 May 2014 22:09:29 +0000</updated>
                            <resolved>Tue, 14 Jun 2011 01:16:17 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="37418" author="aaron" created="Tue, 14 Jun 2011 01:16:17 +0000"  >&lt;p&gt;we phased out replica pairs&lt;/p&gt;</comment>
                            <comment id="22411" author="eliot" created="Sun, 16 Jan 2011 06:31:35 +0000"  >&lt;p&gt;pairs are deprecated, so probably not worth looking at&lt;/p&gt;</comment>
                            <comment id="18594" author="aaron" created="Mon, 27 Sep 2010 20:54:22 +0000"  >&lt;p&gt;more log from above:&lt;/p&gt;

&lt;p&gt;m31002| Mon Sep 27 01:36:22 got kill or ctrl c or hup signal 15 (Terminated), will terminate after current cmd ends&lt;br/&gt;
m31002| Mon Sep 27 01:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;interruptThread&amp;#93;&lt;/span&gt; now exiting&lt;br/&gt;
m31002| Mon Sep 27 01:36:22 dbexit: &lt;br/&gt;
m31002| Mon Sep 27 01:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;interruptThread&amp;#93;&lt;/span&gt; shutdown: going to close listening sockets...&lt;br/&gt;
m31002| Mon Sep 27 01:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;interruptThread&amp;#93;&lt;/span&gt; shutdown: going to flush oplog...&lt;br/&gt;
m31002| Mon Sep 27 01:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;interruptThread&amp;#93;&lt;/span&gt; shutdown: going to close sockets...&lt;br/&gt;
m31002| Mon Sep 27 01:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;interruptThread&amp;#93;&lt;/span&gt; shutdown: waiting for fs preallocator...&lt;br/&gt;
m31002| Mon Sep 27 01:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;interruptThread&amp;#93;&lt;/span&gt; shutdown: closing all files...&lt;br/&gt;
m31002| Mon Sep 27 01:36:22 closeAllFiles() finished&lt;br/&gt;
m31002| Mon Sep 27 01:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;interruptThread&amp;#93;&lt;/span&gt; shutdown: removing fs lock...&lt;br/&gt;
m31002| Mon Sep 27 01:36:25 dbexit: really exiting now&lt;/p&gt;


&lt;p&gt;The shell was unable to connect to the spawned mongod instance.  Since the log message &quot;waiting for connections...&quot; was not printed, the db apparently had not completed its initialization after 60 seconds.&lt;/p&gt;

&lt;p&gt;From looking at passing runs of pair7 on the same machine, it appears that certain mongod instances take 10 seconds to initialize.  I logged on to the machine to run some tests, and it appears that the delay is occurring when we fsync a new lock file, in particular when we have just cleared that lock file&apos;s dbpath.&lt;/p&gt;

&lt;p&gt;There&apos;s a big difference between 10 sec and 60 sec, but potentially the fsync issue is related to the pair7 test failure.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 16 Jan 2011 06:31:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 36 weeks, 2 days 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 36 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </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>aaron</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpe5j:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21851</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_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|hszudr:</customfieldvalue>

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