<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:09:49 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-45830] Add failpoint to allow InitialSyncTest fixture to pause initial syncing node after cloning some documents</title>
                <link>https://jira.mongodb.org/browse/SERVER-45830</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The initial sync fuzzer currently &lt;a href=&quot;https://github.com/mongodb/mongo/blob/c9b6ffbc8de0d865ebd1e9a196cee3516efa12e7/src/mongo/db/repl/base_cloner.cpp#L105-L108&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;pauses initial sync&lt;/a&gt; before running the &apos;listDatabases&apos;, &apos;listCollections&apos;, and &apos;listIndexes&apos;, for each database/collection that is being cloned. It does not, however, pause the syncing node at any time during the actual fetching of documents inside the CollectionCloner. This can prevent it from being able to deterministically reproduce certain bugs that may occur during the collection cloning process. For example, if the sync source contains a document {&lt;tt&gt;_id: 1&lt;/tt&gt;}, which is cloned by the initial syncing node, and then the sync source deletes {&lt;tt&gt;_id: 1&lt;/tt&gt;} and re-inserts it before the clone has finished for that collection, the syncing node may clone the document a second time. Being able to deterministically reproduce cases like this would be a helpful improvement to our initial sync test infrastructure.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1119195">SERVER-45830</key>
            <summary>Add failpoint to allow InitialSyncTest fixture to pause initial syncing node after cloning some documents</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="william.schultz@mongodb.com">William Schultz</reporter>
                        <labels>
                            <label>former-quick-wins</label>
                    </labels>
                <created>Tue, 28 Jan 2020 21:02:30 +0000</created>
                <updated>Tue, 6 Dec 2022 02:37:10 +0000</updated>
                                                                            <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2776657" author="william.schultz" created="Fri, 31 Jan 2020 14:20:03 +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; It&apos;s not strictly required for us to be able to catch the bug described in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32903&quot; title=&quot;Ambiguous field name error should be ignored during initial sync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32903&quot;&gt;&lt;del&gt;SERVER-32903&lt;/del&gt;&lt;/a&gt; in the initial sync fuzzer (you can see that the original bugs were produced in BF-7257), but, as discusssed with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=samy.lanka&quot; class=&quot;user-hover&quot; rel=&quot;samy.lanka&quot;&gt;samy.lanka&lt;/a&gt;, this additional failpoint would make more types of initial sync bugs &lt;em&gt;deterministically&lt;/em&gt; reproducible. For example, to repro the bug (2) described &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32903?focusedCommentId=2755519&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2755519&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; we must pause while fetching documents during collection clone (after we have run listIndexes). So, I would say this is a debuggability improvement i.e. we do have suites that can catch bugs like those in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32903&quot; title=&quot;Ambiguous field name error should be ignored during initial sync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32903&quot;&gt;&lt;del&gt;SERVER-32903&lt;/del&gt;&lt;/a&gt;, but it is harder to debug and reproduce them since they are non-deterministic.&lt;/p&gt;</comment>
                            <comment id="2776449" author="judah.schvimer" created="Fri, 31 Jan 2020 12:46:01 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=william.schultz&quot; class=&quot;user-hover&quot; rel=&quot;william.schultz&quot;&gt;william.schultz&lt;/a&gt;, is this ticket required for the initial sync fuzzer to catch bugs like &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32903&quot; title=&quot;Ambiguous field name error should be ignored during initial sync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32903&quot;&gt;&lt;del&gt;SERVER-32903&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="2769329" author="william.schultz" created="Tue, 28 Jan 2020 21:16:19 +0000"  >&lt;p&gt;Implementing both this change and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45827&quot; title=&quot;Expand initial sync fuzzer grammar to include all CRUD document shapes and index DDL ops&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45827&quot;&gt;SERVER-45827&lt;/a&gt; would hopefully allow the initial sync fuzzer to give us both the operational diversity of the existing &lt;tt&gt;jstestfuzz_replication_initsync&lt;/tt&gt; suites and a high degree of deterministic reproducibility. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=samy.lanka&quot; class=&quot;user-hover&quot; rel=&quot;samy.lanka&quot;&gt;samy.lanka&lt;/a&gt; noted that controlling the index building process in initial sync could be another source of potential non-determinism, but I believe that for bugs like the one described in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32903&quot; title=&quot;Ambiguous field name error should be ignored during initial sync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32903&quot;&gt;&lt;del&gt;SERVER-32903&lt;/del&gt;&lt;/a&gt;, the state of an index build during initial sync cloning doesn&apos;t affect whether we throw an error when inserting particular keys. That might be a detail of how the CollectionBulkLoader works, though, and I would have to verify my understanding there.&lt;/p&gt;</comment>
                            <comment id="2769302" author="william.schultz" created="Tue, 28 Jan 2020 21:04:03 +0000"  >&lt;p&gt;This improvement should allow the initial sync fuzzer to deterministically reproduce bugs like number (2) mentioned &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32903?focusedCommentId=2755519&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2755519&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32903&quot; title=&quot;Ambiguous field name error should be ignored during initial sync&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32903&quot;&gt;&lt;del&gt;SERVER-32903&lt;/del&gt;&lt;/a&gt;. Note that the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/50444adc39207f2f4b3bd261e6fe399fb3cb3a6d/src/mongo/db/repl/collection_cloner.cpp#L314-L329&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;initialSyncHangCollectionClonerAfterHandlingBatchResponse&lt;/a&gt; failpoint may already provide the necessary server functionality for this improvement.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="487436">SERVER-32903</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1119146">SERVER-45827</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 31 Jan 2020 12:46:01 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 1 week, 5 days 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 1 week, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-repl</customfieldvalue>
            <customfieldvalue>judah.schvimer@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|hwlwvb:</customfieldvalue>

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

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