<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:32:31 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-33161] Postpone WiredTigerKVEngine table drops until the _mdb_catalog change is checkpointed</title>
                <link>https://jira.mongodb.org/browse/SERVER-33161</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Some prerequisite knowledge is documented in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33159&quot; title=&quot;RTT storage recovery from unclean shutdown expects all WT tables to exist&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33159&quot;&gt;&lt;del&gt;SERVER-33159&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Recover to a stable timestamp introduces a case, in crash recovery, where an `_mdb_catalog` collection document may exist without a corresponding WT table. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33159&quot; title=&quot;RTT storage recovery from unclean shutdown expects all WT tables to exist&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33159&quot;&gt;&lt;del&gt;SERVER-33159&lt;/del&gt;&lt;/a&gt; describes how that can happen.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33159&quot; title=&quot;RTT storage recovery from unclean shutdown expects all WT tables to exist&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33159&quot;&gt;&lt;del&gt;SERVER-33159&lt;/del&gt;&lt;/a&gt; is a short-term fix that accepts this state can exist. This ticket is to return the happens-before relationship between catalog entries and their on-disk WT tables, in the face of stable timestamp + logging changes for 4.0+ replica set members. &lt;/p&gt;

&lt;p&gt;This patch is for glue code to postpone performing the WT table drop until it is sure the collection drop has been persisted in a stable checkpoint.&lt;/p&gt;</description>
                <environment></environment>
        <key id="493826">SERVER-33161</key>
            <summary>Postpone WiredTigerKVEngine table drops until the _mdb_catalog change is checkpointed</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="3">Duplicate</resolution>
                                        <assignee username="xiangyu.yao@mongodb.com">Xiangyu Yao</assignee>
                                    <reporter username="daniel.gottlieb@mongodb.com">Daniel Gottlieb</reporter>
                        <labels>
                            <label>nyc</label>
                    </labels>
                <created>Wed, 7 Feb 2018 16:44:28 +0000</created>
                <updated>Tue, 29 Jan 2019 18:55:56 +0000</updated>
                            <resolved>Tue, 29 Jan 2019 18:55:56 +0000</resolved>
                                                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="2130972" author="xiangyu.yao" created="Tue, 29 Jan 2019 18:55:31 +0000"  >&lt;p&gt;Closing this as a duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38962&quot; title=&quot;The second phase of two-phase drop should occur when the drop becomes both checkpointed and older than the oldest timestamp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38962&quot;&gt;&lt;del&gt;SERVER-38962&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2116073" author="dianna.hohensee" created="Tue, 15 Jan 2019 19:13:44 +0000"  >&lt;p&gt;This was reverted because there must be in-memory storage engine handling. The in-mem engine does not take persisted checkpoints, so the idents would never be dropped. Perhaps oldest_timestamp is required for in-memory &amp;#8211; I can&apos;t quite remember what we do for recover to a stable timestamp with the in-memory storage engine, I think the oplog history might be truncated based on oldest_timestamp or something.&lt;/p&gt;</comment>
                            <comment id="2115910" author="xgen-internal-githook" created="Tue, 15 Jan 2019 17:41:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;DiannaHohensee&apos;, &apos;email&apos;: &apos;dianna.hohensee@10gen.com&apos;, &apos;name&apos;: &apos;Dianna Hohensee&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33161&quot; title=&quot;Postpone WiredTigerKVEngine table drops until the _mdb_catalog change is checkpointed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33161&quot;&gt;&lt;del&gt;SERVER-33161&lt;/del&gt;&lt;/a&gt; make the second phase of index two-phase drop occur when drop reaches checkpointed instead of oldest&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 2f67f3c66271e724b48afa2db88e8b6c3317f6ab.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a5921570e5eb22cbacbe80d9ee153a2257b15bd1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a5921570e5eb22cbacbe80d9ee153a2257b15bd1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2114164" author="benety.goh" created="Mon, 14 Jan 2019 16:10:16 +0000"  >&lt;p&gt;The remaining work is described in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38985&quot; title=&quot;assume all tables exist in storage engine after unclean shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38985&quot;&gt;&lt;del&gt;SERVER-38985&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2112652" author="daniel.gottlieb@10gen.com" created="Fri, 11 Jan 2019 18:42:41 +0000"  >&lt;p&gt;Re-opening to note there are still some changes worth doing, notably removing the short-term fix introduced by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33159&quot; title=&quot;RTT storage recovery from unclean shutdown expects all WT tables to exist&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33159&quot;&gt;&lt;del&gt;SERVER-33159&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2112562" author="xgen-internal-githook" created="Fri, 11 Jan 2019 18:06:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;DiannaHohensee&apos;, &apos;email&apos;: &apos;dianna.hohensee@10gen.com&apos;, &apos;name&apos;: &apos;Dianna Hohensee&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33161&quot; title=&quot;Postpone WiredTigerKVEngine table drops until the _mdb_catalog change is checkpointed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33161&quot;&gt;&lt;del&gt;SERVER-33161&lt;/del&gt;&lt;/a&gt; make the second phase of index two-phase drop occur when drop reaches checkpointed instead of oldest&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2f67f3c66271e724b48afa2db88e8b6c3317f6ab&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2f67f3c66271e724b48afa2db88e8b6c3317f6ab&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1820559" author="judah.schvimer" created="Thu, 1 Mar 2018 22:36:47 +0000"  >&lt;p&gt;Per discussion with &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; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.gottlieb&quot; class=&quot;user-hover&quot; rel=&quot;daniel.gottlieb&quot;&gt;daniel.gottlieb&lt;/a&gt;, we could alternatively do this in replication by having the reaper/ dropDatabase only perform the actual collection drop (as opposed to the rename) after a stable checkpoint is taken a timestamp after the drop oplog entry. This will make it so replication recovery never sees an oplog entry that references the collection, and it is safe to just drop the collection at startup recovery without relaxing idempotency constraints during replication recovery.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="668212">SERVER-38910</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="670594">SERVER-38962</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="672760">SERVER-39007</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="383656">SERVER-29213</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="493820">SERVER-33159</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="670594">SERVER-38962</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="672000">SERVER-38985</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>7.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 1 Mar 2018 22:36:47 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 2 weeks, 1 day 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1114</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>xiangyu.yao@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 2 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.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>daniel.gottlieb@mongodb.com</customfieldvalue>
            <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>xiangyu.yao@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htptuv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr8fa7:</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="2761">Storage NYC 2019-02-11</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|htpfzj:</customfieldvalue>

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