<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:56:20 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-62885] Clarify Tenant Migration Recipient Op Observer access blocker removal condition(s)</title>
                <link>https://jira.mongodb.org/browse/SERVER-62885</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Should the Tenant Migration Recipient remove its access blocker on forget if the access blocker is in &lt;tt&gt;rejectBefore&lt;/tt&gt;, not just &lt;tt&gt;reject&lt;/tt&gt;?&lt;/p&gt;

&lt;p&gt;see &lt;a href=&quot;https://github.com/10gen/mongo/blob/b02796c77befd906e90ed7c1cd764c888d90524c/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp#L101-L109&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo/blob/b02796c77befd906e90ed7c1cd764c888d90524c/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp#L101-L109&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;do we need this mtab state check at all?&lt;/p&gt;</description>
                <environment></environment>
        <key id="1968747">SERVER-62885</key>
            <summary>Clarify Tenant Migration Recipient Op Observer access blocker removal condition(s)</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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-serverless">[DO NOT USE] Backlog - Server Serverless</assignee>
                                    <reporter username="christopher.caplinger@mongodb.com">Christopher Caplinger</reporter>
                        <labels>
                            <label>pos-improvements</label>
                    </labels>
                <created>Fri, 21 Jan 2022 21:24:01 +0000</created>
                <updated>Wed, 4 Oct 2023 18:14:53 +0000</updated>
                            <resolved>Wed, 4 Oct 2023 18:14:53 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5753036" author="JIRAUSER1262830" created="Wed, 4 Oct 2023 18:14:53 +0000"  >&lt;p&gt;Closing as we&apos;re planning to decommission TM .&lt;/p&gt;</comment>
                            <comment id="5644496" author="suganthi.mani" created="Fri, 18 Aug 2023 22:32:30 +0000"  >&lt;p&gt;&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; It&apos;s a issue only with legacy tenant migration protocol. In shard merge, the recipient know whether the migration is committed or aborted. So, it not a problem with shard merge.&lt;/p&gt;

&lt;p&gt;Just to add more context, not fixing this issue, will cause migration retry to fail unnecessarily due to presence of conflicting access blocker . It doesn&apos;t  affect tenant migration correctness (i.e, doesn&apos;t cause data corruption). so, I am ok of closing the ticket as &quot;Won&apos;t do&quot;.&lt;/p&gt;</comment>
                            <comment id="5644478" author="JIRAUSER1262830" created="Fri, 18 Aug 2023 22:17:18 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=suganthi.mani%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;suganthi.mani@mongodb.com&quot;&gt;suganthi.mani@mongodb.com&lt;/a&gt; could you take a look and check if this issue also applies to ShardMergeRecipientService ? If it does not I&apos;d close it as it only applies to Tenant Migration !&lt;/p&gt;</comment>
                            <comment id="4313547" author="christopher.caplinger" created="Tue, 25 Jan 2022 18:41:53 +0000"  >&lt;p&gt;chatted with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=esha.maharishi&quot; class=&quot;user-hover&quot; rel=&quot;esha.maharishi&quot;&gt;esha.maharishi&lt;/a&gt; more about this, came to the conclusion that we (likely) don&apos;t need &lt;a href=&quot;https://github.com/10gen/mongo/blob/b02796c77befd906e90ed7c1cd764c888d90524c/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp#L101-L109&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt; block of code at all, since it appears to be an optimization that ends up making things a bit more confusing.&lt;/p&gt;

&lt;p&gt;In the event of a retry, we end up &lt;a href=&quot;https://github.com/10gen/mongo/blob/b02796c77befd906e90ed7c1cd764c888d90524c/src/mongo/db/repl/tenant_migration_recipient_service.cpp#L2409-L2418&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; if the previous access blocker is still hanging around, we delete the existing state doc (that is, if the migration has in fact been aborted/marked as garbage... see &lt;tt&gt;deleteStateDocIfMarkedAsGarbageCollectable&lt;/tt&gt;), which will trigger &lt;a href=&quot;https://github.com/10gen/mongo/blob/b02796c77befd906e90ed7c1cd764c888d90524c/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp#L166-L180&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;TenantMigrationRecipientOpObserver::onDelete&lt;/a&gt;, which will end up cleaning up the blocker.&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>4.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 18 Aug 2023 22:17:18 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        18 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_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>didier.nadeau@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            18 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-serverless</customfieldvalue>
            <customfieldvalue>christopher.caplinger@mongodb.com</customfieldvalue>
            <customfieldvalue>didier.nadeau@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|i0honr:</customfieldvalue>

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

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