<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:36:27 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-34372] Drop collection command with majority write concern should wait until two-phase drop finishes</title>
                <link>https://jira.mongodb.org/browse/SERVER-34372</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Waiting for the drop command gets replicated to a majority doesn&apos;t guarantee the drop completes on the primary, so after the command returns, the drop-pending collection reaper will actually drop the collection, which takes the database lock in X mode. The asynchronous DB lock in X mode may be unexpected to users, especially transaction users, because it will block (or abort when &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33244&quot; title=&quot;Make all lock acquisitions for transactions have 0 second timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33244&quot;&gt;&lt;del&gt;SERVER-33244&lt;/del&gt;&lt;/a&gt; is done) transactions waiting for the DB lock.&lt;/p&gt;</description>
                <environment></environment>
        <key id="523439">SERVER-34372</key>
            <summary>Drop collection command with majority write concern should wait until two-phase drop finishes</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="13201">Fixed</resolution>
                                        <assignee username="benety.goh@mongodb.com">Benety Goh</assignee>
                                    <reporter username="siyuan.zhou@mongodb.com">Siyuan Zhou</reporter>
                        <labels>
                    </labels>
                <created>Fri, 6 Apr 2018 22:03:13 +0000</created>
                <updated>Sun, 29 Oct 2023 22:32:54 +0000</updated>
                            <resolved>Thu, 19 Apr 2018 20:39:58 +0000</resolved>
                                                    <fixVersion>3.7.6</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="1869396" author="xgen-internal-githook" created="Thu, 19 Apr 2018 20:39:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;, &apos;name&apos;: &apos;Benety Goh&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34372&quot; title=&quot;Drop collection command with majority write concern should wait until two-phase drop finishes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34372&quot;&gt;&lt;del&gt;SERVER-34372&lt;/del&gt;&lt;/a&gt; fix transaction test to rely on new write concern behavior for pending drops&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2c8fe56c6501035063871930eda192bb78928c74&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2c8fe56c6501035063871930eda192bb78928c74&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1867409" author="xgen-internal-githook" created="Wed, 18 Apr 2018 10:30:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;, &apos;name&apos;: &apos;Benety Goh&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34372&quot; title=&quot;Drop collection command with majority write concern should wait until two-phase drop finishes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34372&quot;&gt;&lt;del&gt;SERVER-34372&lt;/del&gt;&lt;/a&gt; awaiting majority write concern waits for pending drops to complete&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1eea6ecc4ac973a3bb81151482ca5451e38ab172&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1eea6ecc4ac973a3bb81151482ca5451e38ab172&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1867190" author="xgen-internal-githook" created="Wed, 18 Apr 2018 01:56:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34372&quot; title=&quot;Drop collection command with majority write concern should wait until two-phase drop finishes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34372&quot;&gt;&lt;del&gt;SERVER-34372&lt;/del&gt;&lt;/a&gt; add ReplicationCoordinator::signalDropPendingCollectionsRemovedFromStorage()&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a6411b4e7ac800272d7835fe77c6bc55516efa03&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a6411b4e7ac800272d7835fe77c6bc55516efa03&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1867176" author="xgen-internal-githook" created="Wed, 18 Apr 2018 01:04:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34372&quot; title=&quot;Drop collection command with majority write concern should wait until two-phase drop finishes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34372&quot;&gt;&lt;del&gt;SERVER-34372&lt;/del&gt;&lt;/a&gt; add ReplicationCoordinatorExternalState::getEarliestDropPendingOpTime()&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/91274b50a3f58f69ce9016e14628f490d1df29a2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/91274b50a3f58f69ce9016e14628f490d1df29a2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1867098" author="xgen-internal-githook" created="Tue, 17 Apr 2018 23:12:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34372&quot; title=&quot;Drop collection command with majority write concern should wait until two-phase drop finishes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34372&quot;&gt;&lt;del&gt;SERVER-34372&lt;/del&gt;&lt;/a&gt; add js test for checking drop pending collection behavior with write concern majority&lt;/p&gt;

&lt;p&gt;This commit also adds a dropPendingCollectionReaperHang fail point used in the test.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/84f56ce808fc985f2c340f05fc7f7e63ccbdb8e7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/84f56ce808fc985f2c340f05fc7f7e63ccbdb8e7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1863844" author="spencer" created="Fri, 13 Apr 2018 17:07:59 +0000"  >&lt;p&gt;We&apos;ve decided not to do &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34069&quot; title=&quot;Postpone 2nd phase of collection drop until drop timestamp is in the stable checkpoint&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34069&quot;&gt;&lt;del&gt;SERVER-34069&lt;/del&gt;&lt;/a&gt;, so re-opening this ticket to help enable testing efforts&lt;/p&gt;</comment>
                            <comment id="1863506" author="benety.goh" created="Fri, 13 Apr 2018 13:43:38 +0000"  >&lt;p&gt;The proposed fix, combined with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34069&quot; title=&quot;Postpone 2nd phase of collection drop until drop timestamp is in the stable checkpoint&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34069&quot;&gt;&lt;del&gt;SERVER-34069&lt;/del&gt;&lt;/a&gt;,  will impact performance on operations with majority write concern. We will fix the tests instead. See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34452&quot; title=&quot;Wait for 2-phase drop to finish in transaction tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34452&quot;&gt;&lt;del&gt;SERVER-34452&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1861852" author="greg.mckeon" created="Wed, 11 Apr 2018 19:45:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spencer&quot; class=&quot;user-hover&quot; rel=&quot;spencer&quot;&gt;spencer&lt;/a&gt;, this blocks a 3.7.4 ticket so I&apos;m bumping it to 3.7.4&lt;/p&gt;</comment>
                            <comment id="1858259" author="siyuan.zhou@10gen.com" created="Fri, 6 Apr 2018 22:04:21 +0000"  >&lt;p&gt;When this is done, we will be able to remove TwoPhaseDropCollectionTest.waitForDropToComplete() in transaction tests.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="495964">SERVER-33244</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="560037">SERVER-35613</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="522780">SERVER-34349</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="535304">SERVER-34717</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="660167">SERVER-38744</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="515200">SERVER-34069</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="526318">SERVER-34452</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>9.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>Wed, 11 Apr 2018 19:45:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 42 weeks, 6 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>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, 42 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.0</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>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>siyuan.zhou@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htumen:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htgstr:</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="2188">Repl 2018-04-23</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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htu8mv:</customfieldvalue>

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