<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:22:17 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-50287] drop_index.js fails when run in passthrough suite with stepdown</title>
                <link>https://jira.mongodb.org/browse/SERVER-50287</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When the jsCore test drop_index.js is run in a replica set passthrough configuration, a stepdown occurring after &lt;a href=&quot;https://github.com/mongodb/mongo/blob/9e4e06d0a7db9d2c81ffb84f91708e2b2134dbfa/jstests/core/drop_index.js#L65&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;dropping multiple indexes&lt;/a&gt; may result in the subsequent &lt;a href=&quot;https://github.com/mongodb/mongo/blob/9e4e06d0a7db9d2c81ffb84f91708e2b2134dbfa/jstests/core/drop_index.js#L66&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;listIndexes command&lt;/a&gt; returning one of the dropped indexes. This could be caused by the listIndexes connected to a new primary that may not replicated the oplog entries for both dropped indexes (c_1 and d_1).&lt;/p&gt;

&lt;p&gt;According to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37727&quot; title=&quot;Enhance dropIndexes to accept multiple specific indexes to drop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37727&quot;&gt;&lt;del&gt;SERVER-37727&lt;/del&gt;&lt;/a&gt;, a successful dropIndexes command from the client for multiple indexes results in replicating &lt;b&gt;one dropIndexes oplog entry per index dropped&lt;/b&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1440767">SERVER-50287</key>
            <summary>drop_index.js fails when run in passthrough suite with stepdown</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="yuhong.zhang@mongodb.com">Yuhong Zhang</assignee>
                                    <reporter username="benety.goh@mongodb.com">Benety Goh</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Aug 2020 10:58:55 +0000</created>
                <updated>Sun, 29 Oct 2023 22:04:29 +0000</updated>
                            <resolved>Sat, 3 Jul 2021 00:26:04 +0000</resolved>
                                                    <fixVersion>4.4.8</fixVersion>
                    <fixVersion>5.0.2</fixVersion>
                    <fixVersion>5.1.0-rc0</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4108164" author="JIRAUSER1259052" created="Wed, 6 Oct 2021 18:58:53 +0000"  >&lt;p&gt;Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it&#8217;s been triggered. For more active release information, please keep an eye on #server-release. Thank you!&lt;/p&gt;</comment>
                            <comment id="3955903" author="xgen-internal-githook" created="Wed, 21 Jul 2021 19:06:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Yuhong Zhang&apos;, &apos;email&apos;: &apos;danielzhangyh@gmail.com&apos;, &apos;username&apos;: &apos;YuhongZhang98&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50287&quot; title=&quot;drop_index.js fails when run in passthrough suite with stepdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50287&quot;&gt;&lt;del&gt;SERVER-50287&lt;/del&gt;&lt;/a&gt; drop_index.js fails when run in passthrough suite with stepdown&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d8170c86a9b14687ca93df4e18241f05d058f780)&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/99014557d44ce94c173747d9d21d1016ffb8bc6a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/99014557d44ce94c173747d9d21d1016ffb8bc6a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3951001" author="xgen-internal-githook" created="Tue, 20 Jul 2021 03:22:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Yuhong Zhang&apos;, &apos;email&apos;: &apos;danielzhangyh@gmail.com&apos;, &apos;username&apos;: &apos;YuhongZhang98&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50287&quot; title=&quot;drop_index.js fails when run in passthrough suite with stepdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50287&quot;&gt;&lt;del&gt;SERVER-50287&lt;/del&gt;&lt;/a&gt; drop_index.js fails when run in passthrough suite with stepdown&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d8170c86a9b14687ca93df4e18241f05d058f780)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0b73de2892501d3569f13bb7e375e29f902884a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0b73de2892501d3569f13bb7e375e29f902884a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3915259" author="xgen-internal-githook" created="Fri, 2 Jul 2021 19:29:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Yuhong Zhang&apos;, &apos;email&apos;: &apos;danielzhangyh@gmail.com&apos;, &apos;username&apos;: &apos;YuhongZhang98&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-50287&quot; title=&quot;drop_index.js fails when run in passthrough suite with stepdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-50287&quot;&gt;&lt;del&gt;SERVER-50287&lt;/del&gt;&lt;/a&gt; drop_index.js fails when run in passthrough suite with stepdown&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d8170c86a9b14687ca93df4e18241f05d058f780&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d8170c86a9b14687ca93df4e18241f05d058f780&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3455167" author="benety.goh" created="Tue, 20 Oct 2020 20:22:04 +0000"  >&lt;p&gt;We have a preference for option 3.&lt;/p&gt;</comment>
                            <comment id="3338001" author="max.hirschhorn@10gen.com" created="Thu, 13 Aug 2020 18:03:43 +0000"  >&lt;p&gt;Here are what I see as the options:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Change the dropIndexes command to replicate atomically. Our stepdown suites &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ce9caa99865ed4c8008a9db567f74e9fcbfa1f4f/jstests/libs/override_methods/network_error_and_txn_override.js#L149-L150&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;rely on an IndexNotFound error response to mean the index has already been dropped&lt;/a&gt;. (It is uncommon for a test to drop a never existing index.) The fact that the dropIndexes command sometimes replicates atomically as an abortIndexBuild oplog entry and sometimes replicates non-atomically as a series of dropIndexes oplog entries is somewhat unusual.&lt;/li&gt;
	&lt;li&gt;Change the dropIndexes command with multiple indexes to be issued as a series of dropIndexes command each with a single index when running in our stepdown suites. It is likely too fancy to only unroll the dropIndexes command on a network error (although that&apos;s probably what an ordinary user would end up doing).&lt;/li&gt;
	&lt;li&gt;Accept the dropIndexes command with multiple indexes as not being retryable. &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ce9caa99865ed4c8008a9db567f74e9fcbfa1f4f/jstests/libs/override_methods/network_error_and_txn_override.js#L314&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;A &quot;Refusing to run a test&quot; case&lt;/a&gt; should be added to network_error_and_txn_override.js. The dropIndexes command with a single index must still be considered retryable.&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="3337209" author="benety.goh" created="Thu, 13 Aug 2020 15:56:08 +0000"  >&lt;p&gt;It&apos;s possible that we cannot retry this dropIndexes command. The object of this test case is to provide multiple index names in a single invocation. Unrolling the dropIndexes command seems counter to the what &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37727&quot; title=&quot;Enhance dropIndexes to accept multiple specific indexes to drop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37727&quot;&gt;&lt;del&gt;SERVER-37727&lt;/del&gt;&lt;/a&gt; is trying to do.&lt;/p&gt;
</comment>
                            <comment id="3335988" author="max.hirschhorn@10gen.com" created="Thu, 13 Aug 2020 11:32:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=benety.goh&quot; class=&quot;user-hover&quot; rel=&quot;benety.goh&quot;&gt;benety.goh&lt;/a&gt;, I&apos;d expect network&amp;#95;error&amp;#95;and&amp;#95;txn&amp;#95;override.js to be causing &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8ee28b24e37d42511f3e81c4e6283d1535d557a5/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_stepdown_jscore_passthrough.yml#L326-L335&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the replica_sets_multi_stmt_txn_stepdown_jscore_passthrough.yml test suite&lt;/a&gt; to be &lt;a href=&quot;https://github.com/mongodb/mongo/blob/39794a19f5e0d24260eea783db1312bd69077324/jstests/libs/override_methods/network_error_and_txn_override.js#L484&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;running the dropIndexes command with w=majority&lt;/a&gt;. Is the problem that dropIndexes with multiple indexes cannot be retried because it is possible IndexNotFound would be returned immediately without dropping the other indexes mentioned in the command? I think our stepdown suites are going to want to unroll a dropIndexes with multiple indexes into multiple dropIndexes command with a single index so they can be meaningfully retried then.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="623459">SERVER-37727</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>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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.4]]></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, 13 Aug 2020 11:32:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 18 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></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>
                            2 years, 18 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>20.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>benety.goh@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>vivian.ge@mongodb.com</customfieldvalue>
            <customfieldvalue>yuhong.zhang@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hy05uf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyw953:</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="4881">Execution Team 2021-07-12</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|hxzs3r:</customfieldvalue>

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