<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:04:23 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>[DOCS-12096] Primaries journal much more frequently</title>
                <link>https://jira.mongodb.org/browse/DOCS-12096</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.com/manual/core/journaling/#journaling-process&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/core/journaling/#journaling-process&lt;/a&gt; currently suggests that we journal every 50 milliseconds. On a primary this does not hold true, as secondaries are only allowed to read writes that have been journaled on the Primary. As a result, its reasonable to expect that the journal constantly be flushed to disk.&lt;/p&gt;

&lt;p&gt;cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=geert.bosch&quot; class=&quot;user-hover&quot; rel=&quot;geert.bosch&quot;&gt;geert.bosch&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;&lt;a name=&quot;Scopeofchanges&quot;&gt;&lt;/a&gt;Scope of changes&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;ImpacttoOtherDocs&quot;&gt;&lt;/a&gt;Impact to Other Docs&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;MVP%28WorkandDate%29&quot;&gt;&lt;/a&gt;MVP (Work and Date)&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;Resources%28ScopeorDesignDocs%2CInvision%2Cetc.%29&quot;&gt;&lt;/a&gt;Resources (Scope or Design Docs, Invision, etc.)&lt;/h2&gt;
</description>
                <environment></environment>
        <key id="611427">DOCS-12096</key>
            <summary>Primaries journal much more frequently</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="13201">Fixed</resolution>
                                        <assignee username="kay.kim@mongodb.com">Kay Kim</assignee>
                                    <reporter username="kelsey.schubert@mongodb.com">Kelsey Schubert</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Sep 2018 16:38:12 +0000</created>
                <updated>Sun, 29 Oct 2023 13:57:14 +0000</updated>
                            <resolved>Tue, 12 Nov 2019 16:41:34 +0000</resolved>
                                                                        <due></due>
                            <votes>1</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="2537336" author="xgen-internal-githook" created="Tue, 12 Nov 2019 19:43:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-12096&quot; title=&quot;Primaries journal much more frequently&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-12096&quot;&gt;&lt;del&gt;DOCS-12096&lt;/del&gt;&lt;/a&gt;,&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13207&quot; title=&quot;Mongod Journaling docs are incomplete and/or incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13207&quot;&gt;&lt;del&gt;DOCS-13207&lt;/del&gt;&lt;/a&gt;: clarify journaling frequency (secondary)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/f6f579e0f7fc7fa0998e738c4f9d4c3f945c8eeb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/f6f579e0f7fc7fa0998e738c4f9d4c3f945c8eeb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2537333" author="xgen-internal-githook" created="Tue, 12 Nov 2019 19:43:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-12096&quot; title=&quot;Primaries journal much more frequently&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-12096&quot;&gt;&lt;del&gt;DOCS-12096&lt;/del&gt;&lt;/a&gt;,&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13207&quot; title=&quot;Mongod Journaling docs are incomplete and/or incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13207&quot;&gt;&lt;del&gt;DOCS-13207&lt;/del&gt;&lt;/a&gt;: clarify journaling frequency (secondary)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/7b3f3af433fed06f1de7f2c8e546c135ba85bf41&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/7b3f3af433fed06f1de7f2c8e546c135ba85bf41&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2537215" author="xgen-internal-githook" created="Tue, 12 Nov 2019 19:17:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;, &apos;name&apos;: &apos;Kay Kim&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-12096&quot; title=&quot;Primaries journal much more frequently&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-12096&quot;&gt;&lt;del&gt;DOCS-12096&lt;/del&gt;&lt;/a&gt;,&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13207&quot; title=&quot;Mongod Journaling docs are incomplete and/or incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13207&quot;&gt;&lt;del&gt;DOCS-13207&lt;/del&gt;&lt;/a&gt;: clarify journaling frequency (secondary)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/bb86dbe5e5b1dbade1108dc288a3ddaa94bc9905&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/bb86dbe5e5b1dbade1108dc288a3ddaa94bc9905&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2536860" author="xgen-internal-githook" created="Tue, 12 Nov 2019 16:38:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-12096&quot; title=&quot;Primaries journal much more frequently&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-12096&quot;&gt;&lt;del&gt;DOCS-12096&lt;/del&gt;&lt;/a&gt;,&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13207&quot; title=&quot;Mongod Journaling docs are incomplete and/or incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13207&quot;&gt;&lt;del&gt;DOCS-13207&lt;/del&gt;&lt;/a&gt;: clarify journaling frequency&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/c609c2cddd1bd221c3b0560ba5895a90a69c1c25&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/c609c2cddd1bd221c3b0560ba5895a90a69c1c25&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2536853" author="xgen-internal-githook" created="Tue, 12 Nov 2019 16:36:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-12096&quot; title=&quot;Primaries journal much more frequently&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-12096&quot;&gt;&lt;del&gt;DOCS-12096&lt;/del&gt;&lt;/a&gt;,&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13207&quot; title=&quot;Mongod Journaling docs are incomplete and/or incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13207&quot;&gt;&lt;del&gt;DOCS-13207&lt;/del&gt;&lt;/a&gt;: clarify journaling frequency&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/8fece02cd4b75d532a4f9385f3c4a9654d5c3d9a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/8fece02cd4b75d532a4f9385f3c4a9654d5c3d9a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2536778" author="xgen-internal-githook" created="Tue, 12 Nov 2019 16:18:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-12096&quot; title=&quot;Primaries journal much more frequently&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-12096&quot;&gt;&lt;del&gt;DOCS-12096&lt;/del&gt;&lt;/a&gt;,&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13207&quot; title=&quot;Mongod Journaling docs are incomplete and/or incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13207&quot;&gt;&lt;del&gt;DOCS-13207&lt;/del&gt;&lt;/a&gt;: clarify journaling frequency&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/a08ebfe5b32f636b0ba60fb7a261c4c5d8b9b3c7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/a08ebfe5b32f636b0ba60fb7a261c4c5d8b9b3c7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2244326" author="milkie" created="Mon, 13 May 2019 14:26:04 +0000"  >&lt;p&gt;Note that the Replicate before Journal project PM-1274 will change this logic.&lt;/p&gt;</comment>
                            <comment id="2097894" author="geert.bosch" created="Thu, 20 Dec 2018 23:17:53 +0000"  >&lt;p&gt;When a secondary is actively waiting for new oplog entries (it has an active &lt;tt&gt;getMore&lt;/tt&gt; on a tailable cursor on the oplog collection), it will cause immediate flushes. Since &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35657&quot; title=&quot;Do not delay journal flushes when operations are waiting for oplog visibility&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35657&quot;&gt;&lt;del&gt;SERVER-35657&lt;/del&gt;&lt;/a&gt;, which is backported to 4.0 and 3.6, this is also the case if threads are waiting for oplog entries to become visible. As secondaries lag, individual reads return larger amounts of data, so the frequency of oplog flushes will decrease.&lt;/p&gt;

&lt;p&gt;The journal frequency is given by the &lt;tt&gt;journalCommitInterval&lt;/tt&gt; server parameter, and defaults to 100ms. However, on replica sets, both the regular journal flushing and the oplog manager&apos;s journal flushing happen every 100ms. So you could expect to see journal writes on average at least once every 50ms, even if there are no oplog readers. Now, this is an implementation detail that I hope will go away soon (we want to support secondaries reading the oplog before it has been flushed), so I think it&apos;s fine to say every 100ms.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="656779">DOCS-12298</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="992515">DOCS-13207</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 28 Sep 2018 17:02:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 13 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-1769</customfieldvalue>
                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 13 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>geert.bosch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</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|hu948v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htzilb:</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_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu8qi7:</customfieldvalue>

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