<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:03:55 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-3740] Supplying --fastsync with --master silently locks server</title>
                <link>https://jira.mongodb.org/browse/SERVER-3740</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;mongod will start with --fastsync and --master, despite these options being a contradiction. The server will then silently not accept any connections - the logs show it having stopped at &quot;no journal files present, no recovery needed&quot;. Supplying --fastsync and --master should error out with a message that these arguments are mutually exclusive.&lt;/p&gt;

&lt;p&gt;db version v2.0.0-rc0, pdfile version 4.5&lt;br/&gt;
Thu Sep  1 14:41:28 git version: 8d4bf50111352cee5a4f1abf25b63442d6c45dc4&lt;/p&gt;

&lt;p&gt;==== Example ====&lt;/p&gt;

&lt;p&gt;/tmp/mongodb-linux-x86_64-2.0.0-rc0/bin &amp;gt; pgrep -lf mongo&lt;br/&gt;
17541 ./mongod --master --fastsync --dbpath /tmp/ --fork --logpath /tmp/md.log&lt;/p&gt;

&lt;p&gt;/tmp/mongodb-linux-x86_64-2.0.0-rc0/bin &amp;gt; cat /tmp/md.log &lt;br/&gt;
Thu Sep  1 14:59:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=17630 port=27017 dbpath=/tmp/ master=1 64-bit host=XXXXXXXX&lt;br/&gt;
Thu Sep  1 14:59:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v2.0.0-rc0, pdfile version 4.5&lt;br/&gt;
Thu Sep  1 14:59:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: 8d4bf50111352cee5a4f1abf25b63442d6c45dc4&lt;br/&gt;
Thu Sep  1 14:59:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build info: Linux bs-linux64.10gen.cc 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;
Thu Sep  1 14:59:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options: &lt;/p&gt;
{ dbpath: &quot;/tmp/&quot;, fastsync: true, fork: true, logpath: &quot;/tmp/md.log&quot;, master: true }
&lt;p&gt;Thu Sep  1 14:59:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; journal dir=/tmp/journal&lt;br/&gt;
Thu Sep  1 14:59:34 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; recover : no journal files present, no recovery needed&lt;/p&gt;

&lt;p&gt;/tmp/mongodb-linux-x86_64-2.0.0-rc0/bin &amp;gt; ./mongo&lt;br/&gt;
MongoDB shell version: 2.0.0-rc0&lt;br/&gt;
connecting to: test&lt;br/&gt;
Thu Sep  1 14:58:38 Error: couldn&apos;t connect to server 127.0.0.1 shell/mongo.js:84&lt;br/&gt;
exception: connect failed&lt;/p&gt;

&lt;p&gt;/tmp/mongodb-linux-x86_64-2.0.0-rc0/bin &amp;gt; pkill mongo&lt;/p&gt;

&lt;p&gt;/tmp/mongodb-linux-x86_64-2.0.0-rc0/bin &amp;gt; ./mongod --master --dbpath /tmp/ --fork --logpath /tmp/md.log&lt;br/&gt;
forked process: 17604&lt;br/&gt;
all output going to: /tmp/md.log&lt;/p&gt;

&lt;p&gt;/tmp/mongodb-linux-x86_64-2.0.0-rc0/bin &amp;gt; cat /tmp/md.log &lt;br/&gt;
Thu Sep  1 15:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; MongoDB starting : pid=17659 port=27017 dbpath=/tmp/ master=1 64-bit host=XXXXXXX&lt;br/&gt;
Thu Sep  1 15:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; db version v2.0.0-rc0, pdfile version 4.5&lt;br/&gt;
Thu Sep  1 15:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; git version: 8d4bf50111352cee5a4f1abf25b63442d6c45dc4&lt;br/&gt;
Thu Sep  1 15:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; build info: Linux bs-linux64.10gen.cc 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;
Thu Sep  1 15:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options: &lt;/p&gt;
{ dbpath: &quot;/tmp/&quot;, fork: true, logpath: &quot;/tmp/md.log&quot;, master: true }
&lt;p&gt;Thu Sep  1 15:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; journal dir=/tmp/journal&lt;br/&gt;
Thu Sep  1 15:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; recover : no journal files present, no recovery needed&lt;br/&gt;
Thu Sep  1 15:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; waiting for connections on port 27017&lt;br/&gt;
Thu Sep  1 15:00:00 &lt;span class=&quot;error&quot;&gt;&amp;#91;websvr&amp;#93;&lt;/span&gt; admin web console waiting for connections on port 28017&lt;/p&gt;

&lt;p&gt;/tmp/mongodb-linux-x86_64-2.0.0-rc0/bin &amp;gt; ./mongo&lt;br/&gt;
MongoDB shell version: 2.0.0-rc0&lt;br/&gt;
connecting to: test&lt;br/&gt;
&amp;gt; &lt;br/&gt;
bye&lt;/p&gt;</description>
                <environment>linux-x86_64</environment>
        <key id="21769">SERVER-3740</key>
            <summary>Supplying --fastsync with --master silently locks server</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="9">Done</resolution>
                                        <assignee username="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="lee.j">Lee Johnson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Sep 2011 14:02:52 +0000</created>
                <updated>Tue, 6 Dec 2022 05:41:11 +0000</updated>
                            <resolved>Thu, 8 Feb 2018 20:54:06 +0000</resolved>
                                    <version>2.0.0-rc0</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1800001" author="greg.mckeon" created="Thu, 8 Feb 2018 20:54:06 +0000"  >&lt;p&gt;As of 3.6, master/slave is deprecated, so we won&apos;t be fixing this.&lt;/p&gt;</comment>
                            <comment id="242754" author="eliot" created="Thu, 17 Jan 2013 18:30:53 +0000"  >&lt;p&gt;We should only allow --fastsync with --slave.&lt;br/&gt;
--master or --replSet should make it quit immediately.&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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 17 Jan 2013 18:30:53 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 6 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 6 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>backlog-server-repl</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>lee.j</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hros2n:</customfieldvalue>

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

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

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