<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:29:19 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-52896] Handle compact during tenant migrations</title>
                <link>https://jira.mongodb.org/browse/SERVER-52896</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The&#160;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/command/compact/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;compact&lt;/a&gt; command rewrites and defragments all data and indexes in a collection. It does not generate oplog entries.&lt;/p&gt;

&lt;p&gt;Note that patch set 1 of &lt;a href=&quot;https://mongodbcr.appspot.com/644090001/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this CR&lt;/a&gt; for&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49174&quot; title=&quot;Make writes call MigratingTenantAccessBlocker::checkIfCanWriteOrThrow in op observer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49174&quot;&gt;&lt;del&gt;SERVER-49174&lt;/del&gt;&lt;/a&gt; contains the code for handling compact but it was decided that it should be tackled in a separate ticket.&lt;/p&gt;

&lt;p&gt;I don&apos;t think we need to support compact during tenant migrations, since the data will be written fresh on the recipient anyway.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1543485">SERVER-52896</key>
            <summary>Handle compact during tenant migrations</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="backlog-server-sharding">[DO NOT USE] Backlog - Sharding Team</assignee>
                                    <reporter username="esha.maharishi@mongodb.com">Esha Maharishi</reporter>
                        <labels>
                            <label>pm-1791_other_required</label>
                    </labels>
                <created>Mon, 16 Nov 2020 21:09:24 +0000</created>
                <updated>Wed, 14 Dec 2022 22:30:32 +0000</updated>
                            <resolved>Tue, 17 Nov 2020 02:54:43 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5056076" author="xgen-internal-githook" created="Wed, 14 Dec 2022 22:30:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Esha Maharishi&apos;, &apos;email&apos;: &apos;esha.maharishi@mongodb.com&apos;, &apos;username&apos;: &apos;EshaMaharishi&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52905&quot; title=&quot;Complete TODO listed in SERVER-49834&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52905&quot;&gt;&lt;del&gt;SERVER-52905&lt;/del&gt;&lt;/a&gt; Complete TODO listed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49834&quot; title=&quot;Handle fsync and fsyncUnlock during tenant migrations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49834&quot;&gt;&lt;del&gt;SERVER-49834&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are two TODO&apos;s on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49834&quot; title=&quot;Handle fsync and fsyncUnlock during tenant migrations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49834&quot;&gt;&lt;del&gt;SERVER-49834&lt;/del&gt;&lt;/a&gt; in jstests/replsets/tenant_migration_concurrent_writes_on_donor_util.js: one for unskipping the captrunc command and one for unskipping the compact command.&lt;/p&gt;

&lt;p&gt;However, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49834&quot; title=&quot;Handle fsync and fsyncUnlock during tenant migrations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49834&quot;&gt;&lt;del&gt;SERVER-49834&lt;/del&gt;&lt;/a&gt; is about fsyncLock and fsyncUnlock, not captrunc or compact.&lt;/p&gt;

&lt;p&gt;The TODO for captrunc was probably meant to be on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52895&quot; title=&quot;Handle captrunc and emptycapped during tenant migrations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52895&quot;&gt;&lt;del&gt;SERVER-52895&lt;/del&gt;&lt;/a&gt;, where we ultimately decided not to support captrunc or emptycapped in serverless. We later banned capped collections entirely in serverless in CLOUDP-106443. So, I just removed all testing for capped collections from this file.&lt;/p&gt;

&lt;p&gt;The TODO for compact was probably meant to be on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52896&quot; title=&quot;Handle compact during tenant migrations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52896&quot;&gt;&lt;del&gt;SERVER-52896&lt;/del&gt;&lt;/a&gt;, where we ultimately decided not to support compact in serverless. So, I similarly removed testing for compact from this file.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b23364e3a19b3821ee8a6735b304e5d7117a4930&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b23364e3a19b3821ee8a6735b304e5d7117a4930&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25141"><![CDATA[Sharding]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 14 Dec 2022 22:30:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 8 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1791</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>xgen-internal-githook</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 8 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding</customfieldvalue>
            <customfieldvalue>esha.maharishi@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyhm8v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hy3ngn:</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_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|hyh8i7:</customfieldvalue>

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