<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:05:51 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-4392] split network thread out from worker thread for secondaries</title>
                <link>https://jira.mongodb.org/browse/SERVER-4392</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Exhaust is probably the right way to do it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25716">SERVER-4392</key>
            <summary>split network thread out from worker thread for secondaries</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="kristina">Kristina Chodorow</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Nov 2011 07:37:55 +0000</created>
                <updated>Mon, 11 Jul 2016 18:35:01 +0000</updated>
                            <resolved>Fri, 18 May 2012 21:07:50 +0000</resolved>
                                                    <fixVersion>2.1.2</fixVersion>
                                    <component>Replication</component>
                                        <votes>2</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="120242" author="auto" created="Wed, 16 May 2012 21:09:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Added comments and some better naming &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cf6a249630605d3e9f1bcb7ab83172413970a890&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cf6a249630605d3e9f1bcb7ab83172413970a890&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120241" author="auto" created="Wed, 16 May 2012 21:09:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Stop notifier thread from spinning &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/53671c4877320460a64949b214f0585dd8b5c7ff&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/53671c4877320460a64949b214f0585dd8b5c7ff&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120240" author="auto" created="Wed, 16 May 2012 21:09:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Made repl use BlockingQueue &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/235ea9fd797d8c41422f65602b307a39ded59cdb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/235ea9fd797d8c41422f65602b307a39ded59cdb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120239" author="auto" created="Wed, 16 May 2012 21:09:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: cleanup includes and tests &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/39629ff51d5f2b2361328681e63b742e601f307a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/39629ff51d5f2b2361328681e63b742e601f307a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120238" author="auto" created="Wed, 16 May 2012 21:09:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Separate thread for fetching oplog ops &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5ba5abbb01583e637e7d380ab869bf4d695848af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5ba5abbb01583e637e7d380ab869bf4d695848af&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120237" author="auto" created="Wed, 16 May 2012 21:09:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Better naming &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/adfe6f647fcbf7737c81fa747d8bf3599cc7d84c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/adfe6f647fcbf7737c81fa747d8bf3599cc7d84c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120236" author="auto" created="Wed, 16 May 2012 21:09:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Move w tracking to its own thread &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4d2b8d30f3f730a42cfaba7697b4acf19e339612&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4d2b8d30f3f730a42cfaba7697b4acf19e339612&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120235" author="auto" created="Wed, 16 May 2012 21:09:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Add rollback check to oplog reading file &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e6e92ac7aaf625c0fa12455118e522ae77ce2b51&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e6e92ac7aaf625c0fa12455118e522ae77ce2b51&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="120234" author="auto" created="Wed, 16 May 2012 21:09:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;kchodorow&apos;, u&apos;name&apos;: u&apos;Kristina&apos;, u&apos;email&apos;: u&apos;kristina@10gen.com&apos;}
&lt;p&gt;Message: Move oplog-related helpers to their own file &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/83447912f127019bf4e0270cdd3bec8fb9e483ea&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/83447912f127019bf4e0270cdd3bec8fb9e483ea&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="113258" author="auto" created="Tue, 24 Apr 2012 18:37:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;dwight&apos;, u&apos;name&apos;: u&apos;Dwight&apos;, u&apos;email&apos;: u&apos;dwight@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt; remapprivateview() more often&lt;br/&gt;
groupCommitWithLimitedLocks cannot do a remap as it lets people write for part of its work.  every Nth time&lt;br/&gt;
because of this we do a &quot;non-limited&quot; commit so that we can remap.&lt;/p&gt;

&lt;p&gt;on that invocation, if there was no writes pending, we would return early and not call remap.  thus in theory&lt;br/&gt;
if you had writes on the other times but not on the N times, remap wouldn&apos;t get called enough.&lt;/p&gt;

&lt;p&gt;in reality, this might be impossible statistically to happen.  however, this variation feels safer. please&lt;br/&gt;
review.  note there is some inefficiency here : we upgrade() our lock and then in remap we may decide to do&lt;br/&gt;
no work.  however, that will mean the performance is predictable : if you suddenly do trivial # of writes,&lt;br/&gt;
it doesn&apos;t start behaving wildly differently here.  that would be the argument for keeping it this way.&lt;/p&gt;

&lt;p&gt;there is a separate issue with insufficient remapping that has to do with commitIfNeeded.  that is still&lt;br/&gt;
outstanding.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a486732a251c80b4df9a04be3ef0ef34e7167e3b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a486732a251c80b4df9a04be3ef0ef34e7167e3b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="98713" author="auto" created="Wed, 14 Mar 2012 16:46:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;dwight&apos;, u&apos;name&apos;: u&apos;dwight&apos;, u&apos;email&apos;: u&apos;dwight@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4392&quot; title=&quot;split network thread out from worker thread for secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4392&quot;&gt;&lt;del&gt;SERVER-4392&lt;/del&gt;&lt;/a&gt; fix bug introduced in test&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/00f39a03ac068386464e96a5f44da7adb6d8062a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/00f39a03ac068386464e96a5f44da7adb6d8062a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="74553" author="dwight_10gen" created="Mon, 19 Dec 2011 23:03:45 +0000"  >&lt;p&gt;right, QueryOption_Exhaust is the way to go.  we use that in clone collection already&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="36963">SERVER-5685</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 19 Dec 2011 23:03:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 40 weeks 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>false</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>
                            11 years, 40 weeks 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>auto</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrokcv:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8075</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10154"><![CDATA[Complete]]></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|hrj1iv:</customfieldvalue>

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