<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:20:54 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-29450] Lower OplogFetcher and CollectionCloner batch sizes in tests by default</title>
                <link>https://jira.mongodb.org/browse/SERVER-29450</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We currently barely test our batching code. Lowering the batch sizes would improve this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="390326">SERVER-29450</key>
            <summary>Lower OplogFetcher and CollectionCloner batch sizes in tests by default</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="13201">Fixed</resolution>
                                        <assignee username="tess.avitabile@mongodb.com">Tess Avitabile</assignee>
                                    <reporter username="judah.schvimer@mongodb.com">Judah Schvimer</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Mon, 5 Jun 2017 20:03:26 +0000</created>
                <updated>Mon, 30 Oct 2023 23:16:23 +0000</updated>
                            <resolved>Tue, 28 Aug 2018 19:34:31 +0000</resolved>
                                                    <fixVersion>4.1.3</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1988094" author="xgen-internal-githook" created="Tue, 28 Aug 2018 19:34:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Tess Avitabile&apos;, &apos;email&apos;: &apos;tess.avitabile@mongodb.com&apos;, &apos;username&apos;: &apos;tessavitabile&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29450&quot; title=&quot;Lower OplogFetcher and CollectionCloner batch sizes in tests by default&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29450&quot;&gt;&lt;del&gt;SERVER-29450&lt;/del&gt;&lt;/a&gt; Lower OplogFetcher and CollectionCloner batch sizes in tests by default&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bf8b4ce9815b4514a72e4e547e5032806ab1d66e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bf8b4ce9815b4514a72e4e547e5032806ab1d66e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1986980" author="tess.avitabile" created="Mon, 27 Aug 2018 20:13:57 +0000"  >&lt;p&gt;We have some coverage for multiple batches in our unit tests. See&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/0fe87e465305a82419d49b71bb9618701222065b/src/mongo/db/repl/oplog_fetcher_test.cpp#L763-L771&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this &lt;tt&gt;OplogFetcher&lt;/tt&gt; test&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0fe87e465305a82419d49b71bb9618701222065b/src/mongo/db/repl/collection_cloner_test.cpp#L1210-L1300&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this &lt;tt&gt;CollectionCloner&lt;/tt&gt; test&lt;/a&gt;. For this ticket, I will change the&#160;replica_sets_initsync_jscore_passthrough&#160;and&#160;replica_sets_initsync_static_jscore_passthrough&#160;suites&#160;to use lower values for &lt;tt&gt;bgSyncOplogFetcherBatchSize&lt;/tt&gt; and &lt;tt&gt;initialSyncOplogFetcherBatchSize&lt;/tt&gt;. I will also update initial_sync_capped_index.js to take advantage of &lt;tt&gt;initialSyncOplogFetcherBatchSize&lt;/tt&gt;&#160;in order to use a smaller collection and document size.&lt;/p&gt;</comment>
                            <comment id="1970882" author="tess.avitabile" created="Wed, 8 Aug 2018 20:59:15 +0000"  >&lt;p&gt;Got it. Then I will leave this in the epic to make sure that not all results are returned in the first batch in our tests.&lt;/p&gt;</comment>
                            <comment id="1970758" author="judah.schvimer" created="Wed, 8 Aug 2018 19:29:28 +0000"  >&lt;p&gt;I think I was wrong. I still think we could benefit from testing our batching logic more since most of our batch sizes in initial sync and normal oplog fetching are bigger than anything we test.&lt;/p&gt;</comment>
                            <comment id="1970744" author="tess.avitabile" created="Wed, 8 Aug 2018 19:23:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=judah.schvimer&quot; class=&quot;user-hover&quot; rel=&quot;judah.schvimer&quot;&gt;judah.schvimer&lt;/a&gt;, how would this have helped us find &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34898&quot; title=&quot;Test that read concern majority is respected on secondaries in getMore&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34898&quot;&gt;&lt;del&gt;SERVER-34898&lt;/del&gt;&lt;/a&gt;? Oplog fetching and collection cloning is not done with readConcern majority, so I must be missing something.&lt;/p&gt;</comment>
                            <comment id="1891969" author="greg.mckeon" created="Tue, 15 May 2018 18:05:39 +0000"  >&lt;p&gt;Since we&apos;re likely to switch the OplogFetcher and CollectionCloner to use exhaust cursors, we may not do this.&lt;/p&gt;</comment>
                            <comment id="1888520" author="william.schultz" created="Thu, 10 May 2018 19:31:21 +0000"  >&lt;p&gt;Another alternative here is to add a separate passthrough suite that runs with lower batch sizes, if we still want to maintain test coverage of default batch sizes.&lt;/p&gt;</comment>
                            <comment id="1888513" author="judah.schvimer" created="Thu, 10 May 2018 19:26:22 +0000"  >&lt;p&gt;This may have caught&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34898&quot; title=&quot;Test that read concern majority is respected on secondaries in getMore&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34898&quot;&gt;&lt;del&gt;SERVER-34898&lt;/del&gt;&lt;/a&gt; sooner.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="383511">SERVER-29196</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="388416">SERVER-29400</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>1.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, 10 May 2018 19:31:21 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 24 weeks, 1 day 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-29196'>SERVER-29196</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-29400'>SERVER-29400</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 24 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
            <customfieldvalue>william.schultz@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht8ksf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht0mwv:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2483">Repl 2018-09-10</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|ht86uv:</customfieldvalue>

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