<!-- 
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-19001] Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface</title>
                <link>https://jira.mongodb.org/browse/SERVER-19001</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This should be an executor that uses a pool of threads to execute work items.&lt;/p&gt;</description>
                <environment></environment>
        <key id="211074">SERVER-19001</key>
            <summary>Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface</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:56:35 +0000</created>
                <updated>Wed, 25 Jan 2017 22:00:45 +0000</updated>
                            <resolved>Thu, 16 Jul 2015 14:11:38 +0000</resolved>
                                                    <fixVersion>3.1.6</fixVersion>
                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="968764" author="xgen-internal-githook" created="Fri, 17 Jul 2015 14:21: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-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; Move RemoteCommandRequest/RemoteCommandResponse into task_executor_interface library.&lt;/p&gt;

&lt;p&gt;Also, move those types into the executor namespace and remove the&lt;br/&gt;
RemoteCommandRunner interface type.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a104bc1eab07388a4dc5b9930ecdd355ea93dd87&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a104bc1eab07388a4dc5b9930ecdd355ea93dd87&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="967735" author="xgen-internal-githook" created="Thu, 16 Jul 2015 14:09:05 +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-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; Implementation of ThreadPoolTaskExecutor and basic tests.&lt;/p&gt;

&lt;p&gt;In order to support deterministic unit testing, it was also necessary to&lt;br/&gt;
introduce a mock implementation of ThreadPool, executor::ThreadPoolMock,&lt;br/&gt;
that is tightly integrated with NetworkInterfaceMock to allow for&lt;br/&gt;
deterministic unit testing of things that use TaskExecutors.&lt;/p&gt;

&lt;p&gt;To keep the ThreadPoolTaskExecutor from having to keep a dedicated&lt;br/&gt;
thread for handling scheduleAt(Date_t, ...) processing, a new method,&lt;br/&gt;
setAlarm, is introduced to NetworkInterface. setAlarm offers an&lt;br/&gt;
extremely relaxed contract, to maximize the number of legal implementations.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/48f79b30ff75c6310869ea8d0e34925d5f63252f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/48f79b30ff75c6310869ea8d0e34925d5f63252f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="962778" author="xgen-internal-githook" created="Thu, 9 Jul 2015 22:22:02 +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-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; Eliminate unnecessary potential race in the CallbackHandleComparsion executor unit test.&lt;/p&gt;

&lt;p&gt;The test as previously written has a race condition if the executor is allowed&lt;br/&gt;
to execute multiple callbacks concurrently, since both completion callbacks set&lt;br/&gt;
the same status object. However, for this test, there is no need for them to set&lt;br/&gt;
the same status object.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7ec946113a15d80f0ace356451e7c3bb8e55819a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7ec946113a15d80f0ace356451e7c3bb8e55819a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="962777" author="xgen-internal-githook" created="Thu, 9 Jul 2015 22:21:34 +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-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; Minor changes to TaskExecutor::CallbackHandle etc.&lt;/p&gt;

&lt;p&gt;Removal of unused methods, minor changes to method signatures.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a816f73752598789780ea7456ce6f9ded3a3a386&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a816f73752598789780ea7456ce6f9ded3a3a386&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="955188" author="xgen-internal-githook" created="Tue, 30 Jun 2015 22:40:55 +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-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; Missing changes from prior commit&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2f79ff09cce53743a34ee9fdfa99981d4b12fd13&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2f79ff09cce53743a34ee9fdfa99981d4b12fd13&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="955185" author="xgen-internal-githook" created="Tue, 30 Jun 2015 22:40: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-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; Create common test infrastructure for testing TaskExecutor implementations.&lt;/p&gt;

&lt;p&gt;This includes:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;a common suite of tests that pass on all TaskExecutors&lt;/li&gt;
	&lt;li&gt;a common base class for task executor test fixtures&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9e1c6c7ee1d1c419341363e336b95729659aeffa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9e1c6c7ee1d1c419341363e336b95729659aeffa&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="952369" author="xgen-internal-githook" created="Fri, 26 Jun 2015 22:17:14 +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-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; Make the replication executor own its thread pool&lt;/p&gt;

&lt;p&gt;This change makes the replication executor manage its own thread. It also&lt;br/&gt;
adds uses of the replication executor to the shard registry as a temporary&lt;br/&gt;
workaround until ticket &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; has been resolved.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/649f043eaa8a1a984625a474f0134487fad9031b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/649f043eaa8a1a984625a474f0134487fad9031b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="952368" author="xgen-internal-githook" created="Fri, 26 Jun 2015 22:17:13 +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-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; Make the replication executor own its thread pool&lt;/p&gt;

&lt;p&gt;This change makes the replication executor manage its own thread. It also&lt;br/&gt;
adds uses of the replication executor to the shard registry as a temporary&lt;br/&gt;
workaround until ticket &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19001&quot; title=&quot;Implement a ThreadPoolExecutor that satisfies the TaskExecutor interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19001&quot;&gt;&lt;del&gt;SERVER-19001&lt;/del&gt;&lt;/a&gt; has been resolved.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/649f043eaa8a1a984625a474f0134487fad9031b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/649f043eaa8a1a984625a474f0134487fad9031b&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="211073">SERVER-19000</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="216193">SERVER-19359</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_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>Thu, 25 Jun 2015 20:25:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 30 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-19000'>SERVER-19000</a></s>]]></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>Thu, 16 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>false</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, 30 weeks, 5 days ago
                        </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|hrl31r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsayjb:</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="620">Sharding 7 08/10/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|hsfxkf:</customfieldvalue>

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