<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:59:18 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-22070] log of config replica is too verbose</title>
                <link>https://jira.mongodb.org/browse/SERVER-22070</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I setup a v3.2 replica set with 3 members, and let it work as a config server of my mongos. When I check the log, I see a lot of &quot;update&quot; commands while these operations look successful within 1 second. I believe they should not be there, because I already set all log verbosity to 0, and &quot;operationProfiling.mode&quot; to &quot;off&quot;, in my config file. My normal replicas seems don&apos;t have this problem.&lt;/p&gt;</description>
                <environment></environment>
        <key id="245871">SERVER-22070</key>
            <summary>log of config replica is too verbose</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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Hoyt Ren">Hoyt Ren</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Jan 2016 04:12:20 +0000</created>
                <updated>Wed, 13 Jan 2016 02:11:27 +0000</updated>
                            <resolved>Tue, 12 Jan 2016 22:49:12 +0000</resolved>
                                    <version>3.2.0</version>
                                                    <component>Logging</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1133192" author="hoyt ren" created="Wed, 13 Jan 2016 02:11:27 +0000"  >&lt;p&gt;Hi Thomas,&lt;/p&gt;

&lt;p&gt;Thank you very much for your patience. I&apos;m clear now. This is due to my configuration. I will think about is it necessary to be twisted.&lt;/p&gt;</comment>
                            <comment id="1133042" author="thomas.schubert" created="Tue, 12 Jan 2016 22:49:12 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=Hoyt+Ren&quot; class=&quot;user-hover&quot; rel=&quot;Hoyt Ren&quot;&gt;Hoyt Ren&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;I wanted to clarify that this is the expected behavior on any replica set regardless of whether it is set up as a config replica set: &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://docs.mongodb.org/manual/reference/configuration-options/#operationProfiling.slowOpThresholdMs&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;operationProfiling.slowOpThresholdMillis&lt;/a&gt; is the threshold in milliseconds of what the server considers to be a slow operation.&lt;/li&gt;
	&lt;li&gt;Mongod records queries that take longer than the slowOpThresholdMs to the server log even when the database profiler is not active.&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://docs.mongodb.org/manual/reference/configuration-options/#operationProfiling.mode&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;operationProfiling.mode&lt;/a&gt; only determines whether operations are written to the &lt;a href=&quot;https://docs.mongodb.org/manual/reference/command/profile/#dbcmd.profile&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;system.profile&lt;/a&gt; collection.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;As Dan mentioned, slowOpThresholdMillis can be modified. However, it is not necessary in this case.&lt;/p&gt;

&lt;p&gt;If you have additional questions on profiling and logging please post on the &lt;a href=&quot;http://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-users group&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                            <comment id="1132354" author="hoyt ren" created="Tue, 12 Jan 2016 15:17:48 +0000"  >&lt;p&gt;Hi Dan,&lt;/p&gt;

&lt;p&gt;Yes&#65292;each host has multiple mongod. Maybe we will separate them later.&lt;/p&gt;

&lt;p&gt;Do you mean when the rs is config rs. The &quot;operationProfiling.mode&quot; will be ignored and the &quot;operationProfiling.slowOpThresholdMs&quot; always be 100ms as designed? I&apos;m ok with it, just want to confirm. As you said, it&apos;s usually fast. It&apos;s slow because I was importing data, then no problem, thanks&#12290;&lt;/p&gt;</comment>
                            <comment id="1132228" author="dan@10gen.com" created="Tue, 12 Jan 2016 13:40:13 +0000"  >&lt;p&gt;Hi Hoyt,&lt;br/&gt;
Those log messages are normal, but they are important to log because they indicate that an operation took longer than expected.  They are logged because they took &amp;gt; 100ms.  See the documentation on the &lt;a href=&quot;https://docs.mongodb.org/manual/reference/configuration-options/#operationProfiling.slowOpThresholdMs&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;slowOpThresholdMillis&lt;/a&gt;.  I would recommend against changing this setting.&lt;/p&gt;

&lt;p&gt;Are you running any other applications or mongodb instances on the same hosts as your config server?  In general, those operations should be quite fast on your config server replica set.&lt;/p&gt;</comment>
                            <comment id="1128341" author="hoyt ren" created="Thu, 7 Jan 2016 06:19:24 +0000"  >&lt;p&gt;Attached file config01.log.&lt;/p&gt;

&lt;p&gt;When it happens, I was importing a lot of data with mongoimport to mongos.&lt;/p&gt;</comment>
                            <comment id="1127399" author="dan@10gen.com" created="Wed, 6 Jan 2016 13:25:54 +0000"  >&lt;p&gt;Can you attach the log file from your server to this ticket?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="104355" name="config01.log" size="16720" author="Hoyt Ren" created="Thu, 7 Jan 2016 06:19:24 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 6 Jan 2016 13:25:54 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 5 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>Hoyt Ren</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 5 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>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>Hoyt Ren</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkl9j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsf99j:</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_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|hsfc3r:</customfieldvalue>

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