<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:31:41 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-76040] Make mirrored requests to include tenant information in multitenancy environment</title>
                <link>https://jira.mongodb.org/browse/SERVER-76040</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;If a completed command request on primary is mirrorable, a&#160;mirrored&#160;request will be send to secondary.&lt;br/&gt;
In mutitenant environment, we should attach dollar tenant to the mirrored request, otherwise, it cannot be handled correctly by secondary nodes.&#160;&lt;/p&gt;

&lt;p&gt;We also need to create a new jstest to verify the modification in multitenancy environment. Today, there are some mirrored read no passthrough test cases (eg, &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/jstests/noPassthrough/mirror_reads.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;noPassthrough/mirror_reads.js&lt;/a&gt;). But, no core jstest cases for mirrored read. That&apos;s the reason the NTDI jscore passthrough test suit cannot cover it.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2313414">SERVER-76040</key>
            <summary>Make mirrored requests to include tenant information in multitenancy environment</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="sophia.tan@mongodb.com">Sophia Tan</reporter>
                        <labels>
                            <label>ntdi_drop_off_tenant</label>
                            <label>ntdi_must_have</label>
                    </labels>
                <created>Wed, 12 Apr 2023 22:35:26 +0000</created>
                <updated>Sun, 29 Oct 2023 21:23:06 +0000</updated>
                            <resolved>Tue, 27 Jun 2023 17:35:46 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="5526554" author="xgen-internal-githook" created="Tue, 27 Jun 2023 01:07:01 +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-76040&quot; title=&quot;Make mirrored requests to include tenant information in multitenancy environment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-76040&quot;&gt;&lt;del&gt;SERVER-76040&lt;/del&gt;&lt;/a&gt; Add $tenant to mirrored reads in clusters with multi-tenant&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/deef39f00755047f22faf410c9d051bacec0cdf4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/deef39f00755047f22faf410c9d051bacec0cdf4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5481265" author="janna.golden" created="Wed, 7 Jun 2023 14:20:18 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shameek.ray%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;shameek.ray@mongodb.com&quot;&gt;shameek.ray@mongodb.com&lt;/a&gt;, mirrored reads are actually currently allowed in Serverless - this project is changing the way the server handles requests for Serverless customers, and it&apos;s important the project maintains the same functionality as we have today. &lt;/p&gt;

&lt;p&gt;Just to clarify, there isn&apos;t actually a deadline for this ticket in the next two weeks, the intention of our ask was that if Service Arch had time to complete this in the 2 sprints (sometime between now and ~July 7) it would help us out. We&apos;re aiming to close out this project ASAP as it blocks Cloud from being able to start testing change streams in a Serverless env, and so we were hoping to get help from a few server teams on any remaining work that that team likely knows better/can complete faster than our team could alone, if the other team has bandwidth. I&apos;d expect this ticket to be relatively quick for a Service Arch engineer, but if you all don&apos;t have the bandwidth, we&apos;ll pull it back on our team.&lt;/p&gt;</comment>
                            <comment id="5478963" author="shameek.ray" created="Tue, 6 Jun 2023 18:12:11 +0000"  >&lt;p&gt;If Mirrored Reads isn&apos;t critical for the Serverless product, I&apos;d like to ask if we can disable mirrored reads for now, if the deadline is for the next two weeks.&lt;/p&gt;</comment>
                            <comment id="5478607" author="shameek.ray" created="Tue, 6 Jun 2023 16:23:57 +0000"  >&lt;p&gt;What&apos;s our perspective on the value this would unlock for Serverless customers? How does this rank up to the Serverless team&apos;s priorities? cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=chris.shum%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;chris.shum@mongodb.com&quot;&gt;chris.shum@mongodb.com&lt;/a&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5468222" author="JIRAUSER1262803" created="Thu, 1 Jun 2023 17:52:18 +0000"  >&lt;p&gt;To have the mirrored requests contain the tenant information, we need to append &quot;$tenant&quot; to the payload of the request (code is &lt;a href=&quot;https://github.com/10gen/mongo/blob/master/src/mongo/db/mirror_maestro.cpp#L394&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;). The tenant id can be grabbed from invocation object with function `CommandInvocation::ns()`.&#160;&lt;/p&gt;</comment>
                            <comment id="5343005" author="JIRAUSER1262803" created="Wed, 12 Apr 2023 22:39:08 +0000"  >&lt;p&gt;The mirrored requests get failed on secondary silently. It&apos;s an `massert` error `6972100` and only prints assert log without being noticed by evergreen. Once we use `tassert` in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-74907&quot; title=&quot;Use tassert in NamespaceStringUtil functions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74907&quot;&gt;&lt;del&gt;SERVER-74907&lt;/del&gt;&lt;/a&gt;, the assert will be uncovered.&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="2289366">SERVER-74907</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>6.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_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>Tue, 6 Jun 2023 16:23:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        32 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_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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2346</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>
                            32 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>janna.golden@mongodb.com</customfieldvalue>
            <customfieldvalue>jason.chan@mongodb.com</customfieldvalue>
            <customfieldvalue>shameek.ray@mongodb.com</customfieldvalue>
            <customfieldvalue>sophia.tan@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i24hq7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1mtcg:</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="7352">Service Arch 2023-06-26</customfieldvalue>
    <customfieldvalue id="7353">Service Arch 2023-07-10</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</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|i243vj:</customfieldvalue>

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