<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:08 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-1124] expose when fsync() happens in db.serverStatus()</title>
                <link>https://jira.mongodb.org/browse/SERVER-1124</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It would be great to expose the count of fsync() since server startup via the serverStatus() similar to how the number of inserts/updates/delete/querys are exposed.  I can/will modify mongostat to read it then.  We really want to be able to see fsync&apos;s in the output, and it would be cool to see them in all our metrics.  I have noticed in testing a &apos;stall&apos; at points and I am pretty sure it&apos;s fsync() based on iostat, but I would like to see it explicitly in mongo.&lt;/p&gt;</description>
                <environment></environment>
        <key id="11968">SERVER-1124</key>
            <summary>expose when fsync() happens in db.serverStatus()</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="kgorman">Kenny Gorman</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 May 2010 18:53:33 +0000</created>
                <updated>Tue, 29 May 2012 14:53:23 +0000</updated>
                            <resolved>Mon, 24 May 2010 15:26:45 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="14567" author="kgorman" created="Thu, 3 Jun 2010 12:40:34 +0000"  >&lt;p&gt;Got it.  thx!&lt;/p&gt;</comment>
                            <comment id="14566" author="eliot" created="Thu, 3 Jun 2010 12:39:08 +0000"  >&lt;p&gt;It only counts background fsyncs at this point.&lt;/p&gt;</comment>
                            <comment id="14564" author="kgorman" created="Thu, 3 Jun 2010 12:36:01 +0000"  >&lt;p&gt;Oh shoot.  I was looking at mongos.  I see flushes now.&lt;/p&gt;

&lt;p&gt;However, there is another question now.&lt;/p&gt;

&lt;p&gt;I an running:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://pastie.org/990729&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastie.org/990729&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I don&apos;t see flushes incrementing when I call fsync().  What am I missing?  It does appear to increment over time based on perhaps background fsync()&apos;s &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/help_16.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;
</comment>
                            <comment id="14546" author="eliot" created="Wed, 2 Jun 2010 21:45:10 +0000"  >&lt;p&gt;@kenny - looks like you&apos;re talking to a mongos - which doesn&apos;t do any flushing&lt;/p&gt;</comment>
                            <comment id="14545" author="kgorman" created="Wed, 2 Jun 2010 20:33:46 +0000"  >&lt;p&gt;Hmm, what am I missing.  I don&apos;t see it in 1.5.2.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://pastie.org/989863&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastie.org/989863&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-kg&lt;/p&gt;</comment>
                            <comment id="14416" author="kgorman" created="Mon, 24 May 2010 18:31:44 +0000"  >&lt;p&gt;excellent. thx.&lt;/p&gt;</comment>
                            <comment id="14410" author="redbeard0531" created="Mon, 24 May 2010 15:26:45 +0000"  >&lt;p&gt;This was added a while ago:&lt;/p&gt;

&lt;p&gt;in db.serverStatus():&lt;/p&gt;

&lt;p&gt;	&quot;backgroundFlushing&quot; : &lt;/p&gt;
{
		&quot;flushes&quot; : 7,
		&quot;total_ms&quot; : 501,
		&quot;average_ms&quot; : 71.57142857142857,
		&quot;last_ms&quot; : 143,
		&quot;last_finished&quot; : &quot;Mon May 24 2010 15:23:45 GMT-0400 (EDT)&quot;
	}
&lt;p&gt;,&lt;/p&gt;

&lt;p&gt;The stat you are asking for is in &quot;flushes&quot;.&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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 24 May 2010 15:26:45 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 37 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>eliot</customfieldvalue>
            <customfieldvalue>kgorman</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hriizr:</customfieldvalue>

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

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

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