<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:19:21 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-28891] Move shard specific unit tests off of the ShardingMongodTestFixture onto the ShardServerTestFixture and refactor related scons bundles</title>
                <link>https://jira.mongodb.org/browse/SERVER-28891</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Shard specific unit tests using ShardingMongodTestFixture should be move onto the ShardServerTestFixture, so those tests no longer duplicate the set up code that ShardServerTestFixture would do for them.&lt;/p&gt;

&lt;p&gt;Several of these tests, which have heavy dependencies, are also being compiled into executables together with lightweight unit tests running on the unittest::Test fixture. These should be split into different executables, so the lightweight unit test build times aren&apos;t unnecessarily long.&lt;/p&gt;

&lt;p&gt;Unit tests using ShardingMongodTestFixture and setting up shard specific subsystems:&lt;br/&gt;
CollectionRangeDeleterTest&lt;br/&gt;
MetadataManagerTest&lt;/p&gt;

&lt;p&gt;Lightweight unit tests combined with heavyweight unit tests in a single executable:&lt;br/&gt;
collection_metadata_test.cpp &amp;#8211; unittest::Test&lt;br/&gt;
collection_sharding_state_test.cpp &amp;#8211; unittest::Test&lt;br/&gt;
active_migrations_registry_test.cpp &amp;#8211; unittest::Test&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/98b894b02685e9e02ef6e2b1ac3515d85c871439/src/mongo/db/s/SConscript#L228&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;This&lt;/a&gt; unit test should not include both sharding_mongod_test_fixture and shard_server_test_fixture, as the latter includes the former.&lt;/p&gt;</description>
                <environment></environment>
        <key id="376025">SERVER-28891</key>
            <summary>Move shard specific unit tests off of the ShardingMongodTestFixture onto the ShardServerTestFixture and refactor related scons bundles</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="13203">Gone away</resolution>
                                        <assignee username="backlog-server-sharding">[DO NOT USE] Backlog - Sharding Team</assignee>
                                    <reporter username="dianna.hohensee@mongodb.com">Dianna Hohensee</reporter>
                        <labels>
                            <label>MaxH</label>
                    </labels>
                <created>Thu, 20 Apr 2017 21:40:00 +0000</created>
                <updated>Fri, 27 Oct 2023 20:44:07 +0000</updated>
                            <resolved>Wed, 2 Nov 2022 18:34:10 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4949412" author="max.hirschhorn@10gen.com" created="Wed, 2 Nov 2022 18:34:10 +0000"  >&lt;p&gt;The CollectionRangeDeleterTest test cases were removed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45024&quot; title=&quot;Refactor the CollectionRangeDeleter to remove dependency on MetadataManager&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45024&quot;&gt;&lt;del&gt;SERVER-45024&lt;/del&gt;&lt;/a&gt; as part of the work to rewrite the range deleter in MongoDB 4.4. And the MetadataManagerTest was modified to use ShardServerTestFixture by the changes from &lt;a href=&quot;https://github.com/mongodb/mongo/commit/083647f38662195653b87b6a79ae1183d269f910#diff-75aae05b293e0843db86fa3c5d97c069f4eab91b52a658105c2681a0f2468731&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;083647f&lt;/a&gt; as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29908&quot; title=&quot;Libraries db/s/sharding and db/query/query are directly cyclic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29908&quot;&gt;&lt;del&gt;SERVER-29908&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Someone could do a similar type of analysis like Kevin Pulo did in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-51003&quot; title=&quot;Some replication unittests take much longer to run than others&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-51003&quot;&gt;&lt;del&gt;SERVER-51003&lt;/del&gt;&lt;/a&gt; for the sharding&amp;#45;related test cases. But I haven&apos;t personally heard complaints in the years since &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41809&quot; title=&quot;Reduce number of unit test binaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41809&quot;&gt;&lt;del&gt;SERVER-41809&lt;/del&gt;&lt;/a&gt; related to compilation/rebuild times given the +test&amp;#95;file&amp;#95;name.cpp syntax in ninja.&lt;/p&gt;</comment>
                            <comment id="1572585" author="nathan.myers" created="Tue, 16 May 2017 18:45:08 +0000"  >&lt;p&gt;Thank you, I was just thinking I needed to look at those.&lt;/p&gt;</comment>
                            <comment id="1572577" author="dianna.hohensee" created="Tue, 16 May 2017 18:42:24 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nathan.myers&quot; class=&quot;user-hover&quot; rel=&quot;nathan.myers&quot;&gt;nathan.myers&lt;/a&gt;, I have to move the ShardingStateTest and CollectionShardingStateTest onto the ShardServerTestFixture because my changes in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-28724&quot; title=&quot;Add onStepDown and onStepUp functionality to ShardServerCatalogCacheLoader&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-28724&quot;&gt;&lt;del&gt;SERVER-28724&lt;/del&gt;&lt;/a&gt; are breaking them. No need to worry about them &amp;#8211; apologies if you&apos;ve already started changing them.&lt;/p&gt;</comment>
                            <comment id="1567050" author="dianna.hohensee" created="Mon, 8 May 2017 18:04:03 +0000"  >&lt;p&gt;It would be nice to move &lt;b&gt;MigrationChunkClonerSourceLegacyTest&lt;/b&gt; and &lt;b&gt;ShardingStateTest&lt;/b&gt; off of ShardingMongodTestFixure as well. But these are old tests that were around before ShardServerTestFixture and I&apos;m unsure whether that would be easy or not. It would be nice to try it so as to see if they just move over to the new fixture easily.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25141"><![CDATA[Sharding]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 16 May 2017 18:45:08 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 14 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>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>
                            1 year, 14 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding</customfieldvalue>
            <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>nathan.myers</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht6573:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsyf1b:</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_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|hrkwen:</customfieldvalue>

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