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

&lt;p&gt;This ticket should stop&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/5979f89f7d99f9bad5faa0d910cf90208555a266/src/mongo/db/repl/tenant_migration_donor_service.cpp#L267&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;calling createIndexes for the TTL index in TenantMigrationDonorService::_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="2124694">SERVER-69236</key>
            <summary>Remove TTL index on tenant migration donor 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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-servicearch">Backlog - Service Architecture</assignee>
                                    <reporter username="esha.maharishi@mongodb.com">Esha Maharishi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Aug 2022 21:30:26 +0000</created>
                <updated>Thu, 28 Sep 2023 17:39:03 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5541324" author="suganthi.mani" created="Mon, 3 Jul 2023 19:00:16 +0000"  >&lt;p&gt;Both &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; &amp;amp; &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; 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 &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; . 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 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 &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="5533995" author="suganthi.mani" created="Thu, 29 Jun 2023 14:47:52 +0000"  >&lt;p&gt;Flagging for scheduling as&#160;this would help &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; not to think of edge cases due to TTL logic.&lt;/p&gt;</comment>
                            <comment id="5030012" author="steven.vannelli" created="Mon, 5 Dec 2022 15:56:20 +0000"  >&lt;p&gt;Thanks for the heads up &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=didier.nadeau%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;didier.nadeau@mongodb.com&quot;&gt;didier.nadeau@mongodb.com&lt;/a&gt;. We&apos;ll keep it assigned to you at the top of the backlog for now but let me know if we should reassign/reschedule. &lt;/p&gt;</comment>
                            <comment id="5029902" author="JIRAUSER1262830" created="Mon, 5 Dec 2022 15:34:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=steven.vannelli%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;steven.vannelli@mongodb.com&quot;&gt;steven.vannelli@mongodb.com&lt;/a&gt; I have removed this ticket from the current sprint as I won&apos;t work on it (last week was focused on the tech design, this one is for merge work).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1932481">SERVER-61717</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2016366">SERVER-65236</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2124689">SERVER-69235</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25132"><![CDATA[Service Arch]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 5 Dec 2022 15:34:51 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        31 weeks, 2 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>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            31 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-servicearch</customfieldvalue>
            <customfieldvalue>didier.nadeau@mongodb.com</customfieldvalue>
            <customfieldvalue>esha.maharishi@mongodb.com</customfieldvalue>
            <customfieldvalue>steven.vannelli@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|i186kv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr411i:s</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="6599">Server Serverless 2022-11-14</customfieldvalue>
    <customfieldvalue id="6650">Server Serverless 2022-11-28</customfieldvalue>
    <customfieldvalue id="7612">Service Arch 2023-08-07</customfieldvalue>
    <customfieldvalue id="7613">Service Arch 2023-08-21</customfieldvalue>
    <customfieldvalue id="7614">Service Arch 2023-09-04</customfieldvalue>
    <customfieldvalue id="7615">Service Arch 2023-09-18</customfieldvalue>

                        </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|i17sq7:</customfieldvalue>

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