<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:58:33 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>[DOCS-9518] Docs for SERVER-22577: mmapv1 should not allow creation of database names containing $</title>
                <link>https://jira.mongodb.org/browse/DOCS-9518</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Engineering Ticket Description:&lt;/p&gt;

&lt;p&gt;This was first discovered by &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jonathan.abrahams&quot; class=&quot;user-hover&quot; rel=&quot;jonathan.abrahams&quot;&gt;jonathan.abrahams&lt;/a&gt; in the linked ticket.&lt;/p&gt;

&lt;p&gt;When we do an insert, a DatabaseCatalogEntry is created implicitly before validating the namespace string (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/c827c55f02b3a97f001f9935ffc5ddef0520b07a/src/mongo/db/commands/write_commands/batch_executor.cpp#L963&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;batch_executor.cpp&lt;/a&gt;). The insert would fail after the DatbaseCatalogEntry is created.&lt;/p&gt;

&lt;p&gt;For KVEngines, creating a DatabaseCatalogEntry is basically a noop (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/c827c55f02b3a97f001f9935ffc5ddef0520b07a/src/mongo/db/storage/kv/kv_storage_engine.cpp#L197&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;kv_storage_engine.cpp&lt;/a&gt;), so no harm is done.&lt;/p&gt;

&lt;p&gt;For mmapv1, a data file with an invalid name would be created in (&lt;a href=&quot;https://github.com/mongodb/mongo/blob/c827c55f02b3a97f001f9935ffc5ddef0520b07a/src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.cpp#L171&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mmap_v1_database_catalog_entry.cpp&lt;/a&gt;). Subsequent calls to &lt;tt&gt;show dbs&lt;/tt&gt; would require getting the list of data files and this invalid one will show up.&lt;/p&gt;</description>
                <environment></environment>
        <key id="336314">DOCS-9518</key>
            <summary>Docs for SERVER-22577: mmapv1 should not allow creation of database names containing $</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="9">Done</resolution>
                                        <assignee username="andrew.feierabend@mongodb.com">Andrew Feierabend</assignee>
                                    <reporter username="emily.hall">Emily Hall</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Dec 2016 13:22:55 +0000</created>
                <updated>Mon, 30 Oct 2023 21:20:22 +0000</updated>
                            <resolved>Wed, 30 Oct 2019 16:32:53 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2508744" author="xgen-internal-githook" created="Wed, 30 Oct 2019 17:09:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Feierabend&apos;, &apos;username&apos;: &apos;andf-mongodb&apos;, &apos;email&apos;: &apos;andrew.feierabend@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-9518&quot; title=&quot;Docs for SERVER-22577: mmapv1 should not allow creation of database names containing $&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-9518&quot;&gt;&lt;del&gt;DOCS-9518&lt;/del&gt;&lt;/a&gt; clarify dbname and collection naming restriction&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/d720b0b6638c6872805ac987ffaf1a87826271c8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/d720b0b6638c6872805ac987ffaf1a87826271c8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2508739" author="xgen-internal-githook" created="Wed, 30 Oct 2019 17:07:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Feierabend&apos;, &apos;username&apos;: &apos;andf-mongodb&apos;, &apos;email&apos;: &apos;andrew.feierabend@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-9518&quot; title=&quot;Docs for SERVER-22577: mmapv1 should not allow creation of database names containing $&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-9518&quot;&gt;&lt;del&gt;DOCS-9518&lt;/del&gt;&lt;/a&gt; clarify dbname and collection naming restriction&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/6ff075fad95b737fd381f60f6dee78aa7e00e24d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/6ff075fad95b737fd381f60f6dee78aa7e00e24d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2508735" author="xgen-internal-githook" created="Wed, 30 Oct 2019 17:06:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Feierabend&apos;, &apos;username&apos;: &apos;andf-mongodb&apos;, &apos;email&apos;: &apos;andrew.feierabend@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-9518&quot; title=&quot;Docs for SERVER-22577: mmapv1 should not allow creation of database names containing $&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-9518&quot;&gt;&lt;del&gt;DOCS-9518&lt;/del&gt;&lt;/a&gt; clarify dbname and collection naming restriction&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/950ee82cd9b49734429245eeb7cb11bff2a8bda7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/950ee82cd9b49734429245eeb7cb11bff2a8bda7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2508679" author="andrew.feierabend" created="Wed, 30 Oct 2019 16:32:53 +0000"  >&lt;p&gt;Provided deprecation notice for $ character beginning in 3.4, and provided links to naming restrictions doc for naming and renaming commands.&lt;/p&gt;</comment>
                            <comment id="2437168" author="kay.kim@10gen.com" created="Fri, 27 Sep 2019 20:18:03 +0000"  >&lt;p&gt;We&apos;ll only do this for 3.4-4.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="264757">SERVER-22577</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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 27 Sep 2019 20:18:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 15 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>DOCSP-1769</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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 15 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.feierabend@mongodb.com</customfieldvalue>
            <customfieldvalue>emily.hall</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmarj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hssiy7:</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_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrz587:</customfieldvalue>

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