<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:27:26 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-12039] I want to enable oplog on standalone mongod server ,not for single node replica set.</title>
                <link>https://jira.mongodb.org/browse/SERVER-12039</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi Team,&lt;br/&gt;
I want to enable oplog for a standalone mongod server  not for creating a single node replica set and enable oplog .&lt;/p&gt;

&lt;p&gt;like other RDBMS oracle,mysql ,we can enable binary log to a single node as well .&lt;br/&gt;
Please help me is there is any way to enable oplog for mongod server .&lt;/p&gt;</description>
                <environment>Ubuntu 12 </environment>
        <key id="101877">SERVER-12039</key>
            <summary>I want to enable oplog on standalone mongod server ,not for single node replica set.</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rajnish4mongodb">Rajnish Kumar</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Dec 2013 04:43:17 +0000</created>
                <updated>Thu, 12 Jul 2018 15:43:39 +0000</updated>
                            <resolved>Wed, 11 Dec 2013 04:48:23 +0000</resolved>
                                    <version>2.4.8</version>
                                                    <component>Stability</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="1945614" author="ramon.fernandez" created="Thu, 12 Jul 2018 15:43:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=chiruuzumaki&quot; class=&quot;user-hover&quot; rel=&quot;chiruuzumaki&quot;&gt;chiruuzumaki&lt;/a&gt;, please see Dan&apos;s last comment: you can configure a one-node replica set; see &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/deploy-replica-set/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the documentation&lt;/a&gt;. You can also use &lt;a href=&quot;https://github.com/rueckstiess/mtools&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mtools&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1944149" author="chiruuzumaki" created="Wed, 11 Jul 2018 13:15:43 +0000"  >&lt;p&gt;there is no use of adding true for me&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="1261051" author="dan@10gen.com" created="Tue, 10 May 2016 18:09:07 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mallikarjuna.siraguppi%40hpe.com&quot; class=&quot;user-hover&quot; rel=&quot;mallikarjuna.siraguppi@hpe.com&quot;&gt;mallikarjuna.siraguppi@hpe.com&lt;/a&gt;,&lt;br/&gt;
There is no way to set the &lt;tt&gt;--master&lt;/tt&gt; flag using the yaml configuration files.  You can use the &lt;a href=&quot;https://docs.mongodb.com/v2.4/reference/configuration-options/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;legacy configuration file format&lt;/a&gt; if you need to set this option.  For example, in your config file add the following line:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;master=true&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;However, if you want to enable the oplog, you should be able to configure a single node replset as well, which would be the better approach.&lt;/p&gt;</comment>
                            <comment id="1260390" author="mallikarjuna.siraguppi@hpe.com" created="Tue, 10 May 2016 09:51:55 +0000"  >&lt;p&gt;I am using a YAML file as configuration file, and an error is thrown at the database start. MongoDB version 2.6&lt;br/&gt;
&quot;Unrecognised option master: true&quot;&lt;/p&gt;</comment>
                            <comment id="1128288" author="wathmal" created="Thu, 7 Jan 2016 04:10:50 +0000"  >&lt;p&gt;adding master: true in mongod.conf in mongodb 3.x doesn&apos;t work!!&lt;br/&gt;
can anybody help me with this?&lt;/p&gt;</comment>
                            <comment id="1044392" author="dan@10gen.com" created="Sun, 27 Sep 2015 15:48:46 +0000"  >&lt;p&gt;you can just include the following in your config file:&lt;br/&gt;
master=true&lt;/p&gt;</comment>
                            <comment id="1044374" author="vshtashu" created="Sun, 27 Sep 2015 14:33:24 +0000"  >&lt;p&gt;Hi Eliot &lt;/p&gt;

&lt;p&gt;How can I get the same result using config file ? &lt;br/&gt;
I uncommitted following parameters : &lt;/p&gt;

&lt;p&gt;replSet=rs0&lt;br/&gt;
oplogSize=1024&lt;/p&gt;

&lt;p&gt;which is giving error in log file  : &lt;br/&gt;
allocator: tcmalloc&lt;br/&gt;
2015-09-27T19:40:42.124+0530 I CONTROL  &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; options: { config: &quot;mongo_dbs/configs/oplogDemo_mongod.conf&quot;, replication: &lt;/p&gt;
{ oplogSizeMB: 1024, replSet: &quot;rs0&quot; }
&lt;p&gt;, storage: &lt;/p&gt;
{ dbPath: &quot;/home/lxg/mongo_dbs/oplog_demo&quot; }
&lt;p&gt;, systemLog: &lt;/p&gt;
{ destination: &quot;file&quot;, logAppend: true, path: &quot;/home/lxg/mongo_dbs/logs/mongod.log&quot; }
&lt;p&gt; }&lt;br/&gt;
2015-09-27T19:40:42.132+0530 I REPL     &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Did not find local replica set configuration document at startup;  NoMatchingDocument Did not find replica set configuration document in local.system.replset&lt;br/&gt;
2015-09-27T19:40:42.132+0530 I CONTROL  &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; now exiting&lt;br/&gt;
2015-09-27T19:40:42.132+0530 I NETWORK  &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to close listening sockets...&lt;br/&gt;
2015-09-27T19:40:42.132+0530 I NETWORK  &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to flush diaglog...&lt;br/&gt;
2015-09-27T19:40:42.132+0530 I NETWORK  &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: going to close sockets...&lt;br/&gt;
2015-09-27T19:40:42.132+0530 I STORAGE  &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: waiting for fs preallocator...&lt;br/&gt;
2015-09-27T19:40:42.132+0530 I STORAGE  &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; shutdown: final commit...&lt;/p&gt;


</comment>
                            <comment id="469097" author="rajnish4mongodb" created="Wed, 11 Dec 2013 05:17:40 +0000"  >&lt;p&gt;Hi Eliot,&lt;br/&gt;
Its Working ,thanks &lt;/p&gt;</comment>
                            <comment id="469095" author="rajnish4mongodb" created="Wed, 11 Dec 2013 05:09:49 +0000"  >&lt;p&gt;Thanks For your Quick Response .&lt;/p&gt;</comment>
                            <comment id="469088" author="eliot" created="Wed, 11 Dec 2013 04:48:16 +0000"  >&lt;p&gt;You can use &quot;--master&quot; to get an oplog on a standalone server.&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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 11 Dec 2013 04:48:16 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 30 weeks, 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>vshtashu</customfieldvalue>
            <customfieldvalue>chiruuzumaki</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>mallikarjuna.siraguppi@hpe.com</customfieldvalue>
            <customfieldvalue>rajnish4mongodb</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>wathmal</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm5qn:</customfieldvalue>

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

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

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