<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:12:56 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-69235] Remove TTL index on tenant migration recipient state document namespace</title>
                <link>https://jira.mongodb.org/browse/SERVER-69235</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-67372&quot; title=&quot;Make tenant migration recipient delete its state document in its run method&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-67372&quot;&gt;&lt;del&gt;SERVER-67372&lt;/del&gt;&lt;/a&gt; will make the tenant migration recipient directly delete its state document from its run() method, so the TTL index on the state document namespace is no longer needed.&lt;/p&gt;

&lt;p&gt;This ticket should stop &lt;a href=&quot;https://github.com/mongodb/mongo/blob/5979f89f7d99f9bad5faa0d910cf90208555a266/src/mongo/db/repl/tenant_migration_recipient_service.cpp#L307-L315&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;calling createIndexes for the TTL index in TenantMigrationRecipientService::_rebuildService&lt;/a&gt;, and should instead call dropIndexes there to drop the TTL index if it exists because an earlier deployment was upgraded to the newer binaries.&lt;/p&gt;

&lt;p&gt;This ticket should also add an upgrade/downgrade test under jstests/multiVersion that an existing TTL index gets deleted on upgrade.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2124689">SERVER-69235</key>
            <summary>Remove TTL index on tenant migration recipient state document namespace</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="jason.chan@mongodb.com">Jason Chan</assignee>
                                    <reporter username="esha.maharishi@mongodb.com">Esha Maharishi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Aug 2022 21:28:19 +0000</created>
                <updated>Sun, 29 Oct 2023 21:33:51 +0000</updated>
                            <resolved>Thu, 27 Jul 2023 17:40:32 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5596235" author="xgen-internal-githook" created="Thu, 27 Jul 2023 17:28:23 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Jason Chan&apos;, &apos;email&apos;: &apos;jason.chan@mongodb.com&apos;, &apos;username&apos;: &apos;jasonjhchan&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69235&quot; title=&quot;Remove TTL index on tenant migration recipient state document namespace&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69235&quot;&gt;&lt;del&gt;SERVER-69235&lt;/del&gt;&lt;/a&gt; Remove TTL index from TenantMigrationRecipient state doc&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/09d4dd71cd39087292af3c6072657d257ba17e94&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/09d4dd71cd39087292af3c6072657d257ba17e94&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5541325" author="suganthi.mani" created="Mon, 3 Jul 2023 19:00:29 +0000"  >&lt;p&gt;Both&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69236&quot; title=&quot;Remove TTL index on tenant migration donor state document namespace&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69236&quot;&gt;SERVER-69236&lt;/a&gt;&#160;&amp;amp;&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69235&quot; title=&quot;Remove TTL index on tenant migration recipient state document namespace&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69235&quot;&gt;&lt;del&gt;SERVER-69235&lt;/del&gt;&lt;/a&gt;&#160;should be straight-forward. As part of those tickets we should update TenantMigration&lt;span class=&quot;error&quot;&gt;&amp;#91;Donor|Recipient&amp;#93;&lt;/span&gt;Service::rebuildService() to create collection with ttl (&lt;a href=&quot;https://github.com/10gen/mongo/blob/afddfadddac33935ac665854e134720e6e40766c/src/mongo/db/repl/shard_merge_recipient_service.cpp#L455&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;similar to shard merge recipient service)&lt;/a&gt;. And, delete this test - tenant_migration_recipient_ttl.js which we don&apos;t need after&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69235&quot; title=&quot;Remove TTL index on tenant migration recipient state document namespace&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69235&quot;&gt;&lt;del&gt;SERVER-69235&lt;/del&gt;&lt;/a&gt;&#160;. FYI, we have test coverage for deleting state doc directly by instance run method, see tenant_migration&lt;span class=&quot;error&quot;&gt;&amp;#91;recipient|donor&amp;#93;&lt;/span&gt;_directly_deletes_its_state_doc.js.&lt;/p&gt;

&lt;p&gt;Both donor and recipient creates external key collection with ttl index, for storing signing keys. I don&apos;t recall why we need ttl index for the external key collection and if it can be cleaned in-line by the instance run() method.&#160; In either case, any work for external key collection, can be done as a separate ticket by Serverless team and shouldn&apos;t affect &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61717&quot; title=&quot;Ensure a POS instance remains in the POS map until the instance&amp;#39;s run() is complete&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61717&quot;&gt;SERVER-61717&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;CC&#160;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jason.chan%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;jason.chan@mongodb.com&quot;&gt;jason.chan@mongodb.com&lt;/a&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5533979" author="suganthi.mani" created="Thu, 29 Jun 2023 14:45:18 +0000"  >&lt;p&gt;We might need to fix this as after &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61717&quot; title=&quot;Ensure a POS instance remains in the POS map until the instance&amp;#39;s run() is complete&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61717&quot;&gt;SERVER-61717&lt;/a&gt; can cause some evergreen noises. so reopening this ticket and flagging for scheduling.&lt;/p&gt;</comment>
                            <comment id="5366792" author="JIRAUSER1262830" created="Fri, 21 Apr 2023 17:46:19 +0000"  >&lt;p&gt;Tenant Migration recipient code is not used by Shard Merge anymore. As we&apos;re sunsetting Tenant Migration, the code will be removed and we don&apos;t need to invest time to remove the TTL.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2119320">SERVER-69050</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1932481">SERVER-61717</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2124694">SERVER-69236</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2071823">SERVER-67372</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25131"><![CDATA[Serverless]]></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>Fri, 21 Apr 2023 17:46:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        27 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_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>
                            27 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>didier.nadeau@mongodb.com</customfieldvalue>
            <customfieldvalue>esha.maharishi@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jason.chan@mongodb.com</customfieldvalue>
            <customfieldvalue>suganthi.mani@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i186jz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr411i:q</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7354">Service Arch 2023-07-24</customfieldvalue>
    <customfieldvalue id="7612">Service Arch 2023-08-07</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|i17spb:</customfieldvalue>

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