<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:15: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-70119] Document usage of TenantId for Storage Execution</title>
                <link>https://jira.mongodb.org/browse/SERVER-70119</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The &lt;tt&gt;toString()&lt;/tt&gt; methods on &lt;tt&gt;DatabaseName&lt;/tt&gt; and &lt;tt&gt;NamespaceString&lt;/tt&gt; do not include the &lt;tt&gt;tenantId&lt;/tt&gt;. We usually deal with a namespace as &lt;tt&gt;db.coll&lt;/tt&gt;. However, in the &lt;tt&gt;__mdb_catalog&lt;/tt&gt; entries, and the per database views collection catalog entries, namespace is now &lt;tt&gt;&amp;lt;tenantId&amp;gt;_db.coll&lt;/tt&gt;. It&apos;s important that this is clearly documented so that new persisted data access methods that are written in future take into account the specially parsing needed to reconstruct the &lt;tt&gt;NamespaceString&lt;/tt&gt; from persisted state; also for namespace comparison.&lt;/p&gt;

&lt;p&gt;Documentation points would be class level, and the architecture guide.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2148397">SERVER-70119</key>
            <summary>Document usage of TenantId for Storage Execution</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="3">Duplicate</resolution>
                                        <assignee username="backlog-server-servicearch">Backlog - Service Architecture</assignee>
                                    <reporter username="dianna.hohensee@mongodb.com">Dianna Hohensee</reporter>
                        <labels>
                            <label>ntdi_must_have</label>
                    </labels>
                <created>Thu, 29 Sep 2022 20:23:25 +0000</created>
                <updated>Tue, 23 Jan 2024 19:24:46 +0000</updated>
                            <resolved>Tue, 23 Jan 2024 19:24:46 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="6035507" author="JIRAUSER1262830" created="Tue, 23 Jan 2024 19:24:46 +0000"  >&lt;p&gt;This documentation should be included in the larger arch guide to be created for NTDI.&lt;/p&gt;</comment>
                            <comment id="4907301" author="janna.golden" created="Mon, 17 Oct 2022 15:31:46 +0000"  >&lt;p&gt;Okay sounds good, I&apos;ll pull this ticket into our project so we&apos;ll get to it before closing it out. Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dianna.hohensee%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;dianna.hohensee@mongodb.com&quot;&gt;dianna.hohensee@mongodb.com&lt;/a&gt;!&lt;/p&gt;</comment>
                            <comment id="4903305" author="dianna.hohensee" created="Fri, 14 Oct 2022 13:17:36 +0000"  >&lt;p&gt;My thoughts were&lt;/p&gt;

&lt;p&gt;1) an addition to the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/catalog/README.md&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;storage execution architecture guide&lt;/a&gt; &#8211; probably add/modify &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/catalog/README.md#durable-catalog&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this section&lt;/a&gt; to include the new information.&lt;br/&gt;
2) and probably calls to &lt;tt&gt;NamespaceString::parseFromStringExpectTenantIdInMultitenancyMode&lt;/tt&gt; &amp;amp; &lt;tt&gt;toStringWithTenantId()&lt;/tt&gt; in the &lt;tt&gt;DurableCatalogImpl&lt;/tt&gt; should have descriptive in-line comments &lt;br/&gt;
3) the &lt;tt&gt;durable_catalog.h&lt;/tt&gt; header file should also generally be more informative about what the execution catalog looks like in persisted form: &lt;tt&gt;DurableCatalog&lt;/tt&gt; has little documentation. That&apos;s something storage execution should handle, as it&apos;s our tech-debt I think, but also this new information needs to go someplace.&lt;/p&gt;

&lt;p&gt;On further thought, &lt;tt&gt;_addEntry&lt;/tt&gt; and &lt;tt&gt;_replaceEntry&lt;/tt&gt; logic handling around &lt;tt&gt;toStringWithTenantId&lt;/tt&gt; and general entry construction can probably be refactored so the code and new comments aren&apos;t duplicated as much. The &lt;tt&gt;DurableCatalogImpl&lt;/tt&gt; code looks generally ripe for tightening up the code some at this point. But again, I think that&apos;s a storage execution problem, not serverless.&lt;/p&gt;</comment>
                            <comment id="4894703" author="JIRAUSER1253362" created="Tue, 11 Oct 2022 15:36:47 +0000"  >&lt;p&gt;CC: &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dianna.hohensee%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;dianna.hohensee@mongodb.com&quot;&gt;dianna.hohensee@mongodb.com&lt;/a&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1793322">SERVER-57961</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1793322">SERVER-57961</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2098530">SERVER-68267</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>1.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>Tue, 4 Oct 2022 15:25:35 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-servicearch</customfieldvalue>
            <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>didier.nadeau@mongodb.com</customfieldvalue>
            <customfieldvalue>fausto.leyva@mongodb.com</customfieldvalue>
            <customfieldvalue>janna.golden@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1c8rb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1sgwi:</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="7632">Server Serverless 2023-08-21</customfieldvalue>

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

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