<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:49:30 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-19000] Extract a new ThreadPool class from repl::NetworkInterfaceImpl</title>
                <link>https://jira.mongodb.org/browse/SERVER-19000</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The thread pool implemented inside of repl::NetworkInterfaceImpl can adjust its size dynamically, and offers more extensibility than threadpool::ThreadPool. This task is to build a new ThreadPool class, use it instead of the hand-rolled thread pool in NetworkInterfaceImpl, and to replace the old ThreadPool class.&lt;/p&gt;</description>
                <environment></environment>
        <key id="211073">SERVER-19000</key>
            <summary>Extract a new ThreadPool class from repl::NetworkInterfaceImpl</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="schwerin@mongodb.com">Andy Schwerin</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Jun 2015 20:55:55 +0000</created>
                <updated>Wed, 25 Jan 2017 22:00:45 +0000</updated>
                            <resolved>Wed, 15 Jul 2015 17:02:02 +0000</resolved>
                                                    <fixVersion>3.1.6</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="966895" author="xgen-internal-githook" created="Wed, 15 Jul 2015 17:01:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19000&quot; title=&quot;Extract a new ThreadPool class from repl::NetworkInterfaceImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19000&quot;&gt;&lt;del&gt;SERVER-19000&lt;/del&gt;&lt;/a&gt; Implement NetworkInterfaceImpl in terms of ThreadPool.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/23963a5d822bfc8a3aa4754c2fe923cdcdaa1956&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/23963a5d822bfc8a3aa4754c2fe923cdcdaa1956&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="966611" author="xgen-internal-githook" created="Wed, 15 Jul 2015 13:27:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kaloianm&apos;, u&apos;name&apos;: u&apos;Kaloian Manassiev&apos;, u&apos;email&apos;: u&apos;kaloian.manassiev@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19000&quot; title=&quot;Extract a new ThreadPool class from repl::NetworkInterfaceImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19000&quot;&gt;&lt;del&gt;SERVER-19000&lt;/del&gt;&lt;/a&gt; Fix lint formatting error&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/02226e4eacd59bb911c61e3f5ba75dfabf4fad5f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/02226e4eacd59bb911c61e3f5ba75dfabf4fad5f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="966262" author="xgen-internal-githook" created="Tue, 14 Jul 2015 23:41:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19000&quot; title=&quot;Extract a new ThreadPool class from repl::NetworkInterfaceImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19000&quot;&gt;&lt;del&gt;SERVER-19000&lt;/del&gt;&lt;/a&gt; Introduce ThreadPoolInterface so that tests may use a mocked out implementation of ThreadPool&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c8d0fd742d708e82148ca728d4623cbfd507ab63&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c8d0fd742d708e82148ca728d4623cbfd507ab63&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="949465" author="xgen-internal-githook" created="Wed, 24 Jun 2015 17:11:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19000&quot; title=&quot;Extract a new ThreadPool class from repl::NetworkInterfaceImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19000&quot;&gt;&lt;del&gt;SERVER-19000&lt;/del&gt;&lt;/a&gt; Implement OldThreadPool in terms of ThreadPool.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/312cecc4361a93e25c35b554441e80da3daa7e83&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/312cecc4361a93e25c35b554441e80da3daa7e83&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="949378" author="xgen-internal-githook" created="Wed, 24 Jun 2015 16:03:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19000&quot; title=&quot;Extract a new ThreadPool class from repl::NetworkInterfaceImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19000&quot;&gt;&lt;del&gt;SERVER-19000&lt;/del&gt;&lt;/a&gt; Fix thread_pool_test.&lt;/p&gt;

&lt;p&gt;While joining a ThreadPool, the value of the &quot;numThreads&quot; stats value is locked&lt;br/&gt;
at the number of threads that existed when the join operation began, even if one&lt;br/&gt;
or more of those threads have since exited. This is because the numThreads value&lt;br/&gt;
is computed as the number of threads in the _threads container, which are the&lt;br/&gt;
threads that will be joined individually during a pool join operation.&lt;/p&gt;

&lt;p&gt;As such, it is not correct to make assertions about the value of numThreads&lt;br/&gt;
while ThreadPool::join is running, as it is in DestructionDuringDoubleJoins.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/728366e05a99058a2fb9530bf744fe7b4e5fda43&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/728366e05a99058a2fb9530bf744fe7b4e5fda43&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="948527" author="xgen-internal-githook" created="Tue, 23 Jun 2015 19:20:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19000&quot; title=&quot;Extract a new ThreadPool class from repl::NetworkInterfaceImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19000&quot;&gt;&lt;del&gt;SERVER-19000&lt;/del&gt;&lt;/a&gt; Implement a ThreadPool that dynamically adjusts the number of threads based on demand.&lt;/p&gt;

&lt;p&gt;This pool is derived from the one built into executor::NetworkInterfaceImpl.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/891e0b850200725dc73e1ac1cd803436cd6099bc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/891e0b850200725dc73e1ac1cd803436cd6099bc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="948526" author="xgen-internal-githook" created="Tue, 23 Jun 2015 19:19:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19000&quot; title=&quot;Extract a new ThreadPool class from repl::NetworkInterfaceImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19000&quot;&gt;&lt;del&gt;SERVER-19000&lt;/del&gt;&lt;/a&gt; Implement a ThreadPool that dynamically adjusts the number of threads based on demand.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 444b1859d1311fd5b775e1d4a0dba32c14d3c4f5.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b6057b08dc313ef372db05f5945dd23b9b1ed7cf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b6057b08dc313ef372db05f5945dd23b9b1ed7cf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="948505" author="xgen-internal-githook" created="Tue, 23 Jun 2015 19:01:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19000&quot; title=&quot;Extract a new ThreadPool class from repl::NetworkInterfaceImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19000&quot;&gt;&lt;del&gt;SERVER-19000&lt;/del&gt;&lt;/a&gt; Implement a ThreadPool that dynamically adjusts the number of threads based on demand.&lt;/p&gt;

&lt;p&gt;This pool is derived from the one built into executor::NetworkInterfaceImpl.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/444b1859d1311fd5b775e1d4a0dba32c14d3c4f5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/444b1859d1311fd5b775e1d4a0dba32c14d3c4f5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="943644" author="xgen-internal-githook" created="Wed, 17 Jun 2015 23:11:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;andy10gen&apos;, u&apos;name&apos;: u&apos;Andy Schwerin&apos;, u&apos;email&apos;: u&apos;schwerin@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19000&quot; title=&quot;Extract a new ThreadPool class from repl::NetworkInterfaceImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19000&quot;&gt;&lt;del&gt;SERVER-19000&lt;/del&gt;&lt;/a&gt; Rename threadpool::ThreadPool to OldThreadPool.&lt;/p&gt;

&lt;p&gt;This is in preparation for introducing a new ThreadPool that will subsume the old one.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4f525b4550a7c47438938c69459326390164018d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4f525b4550a7c47438938c69459326390164018d&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="211074">SERVER-19001</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 17 Jun 2015 23:11:11 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 31 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_14262" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 15 Jul 2015 23:59:59 +0000</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>crystal.horn@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 31 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl31z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrek5j:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="566">Sharding 5 06/26/16</customfieldvalue>
    <customfieldvalue id="576">Sharding 6 07/17/15</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 16 Jun 2015 00:00:00 +0000</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|hrmr67:</customfieldvalue>

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