<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:12:45 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-46900] Prohibit operations on system.profile inside of transactions</title>
                <link>https://jira.mongodb.org/browse/SERVER-46900</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Presently, system.profile is the only non-replicated collection that can be read from in a multi-document transaction (we &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ce57a85479032380593268db65dfc9441c65cd9a/src/mongo/db/commands.cpp#L513&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;exclude operations on local&lt;/a&gt; from transactions).&lt;/p&gt;

&lt;p&gt;This collection &lt;a href=&quot;https://github.com/mongodb/mongo/blob/1ed541a15b22e3aea71e5c1efed421353762aa20/src/mongo/db/catalog/uncommitted_collections.cpp#L83&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;does not have a commit timestamp&lt;/a&gt; with which to set its minimum visible snapshot. This collection also does not &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ce57a85479032380593268db65dfc9441c65cd9a/src/mongo/db/catalog/collection_impl.cpp#L340&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;require an ID index build&lt;/a&gt;, hence will not have &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ce57a85479032380593268db65dfc9441c65cd9a/src/mongo/db/catalog/index_build_block.cpp#L192-L203&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;its minimum visible snapshot set to the cluster time&lt;/a&gt; via the ID index build. It can therefore not have a minimum visible snapshot be set.&lt;/p&gt;

&lt;p&gt;We believe the best solution for this is to prohibit operations on the system.profile collection inside of a transaction.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1276424">SERVER-46900</key>
            <summary>Prohibit operations on system.profile inside of transactions</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="13201">Fixed</resolution>
                                        <assignee username="maria.vankeulen@mongodb.com">Maria van Keulen</assignee>
                                    <reporter username="maria.vankeulen@mongodb.com">Maria van Keulen</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 Mar 2020 20:26:44 +0000</created>
                <updated>Sun, 29 Oct 2023 22:10:43 +0000</updated>
                            <resolved>Fri, 1 May 2020 16:40:17 +0000</resolved>
                                                    <fixVersion>4.4.0-rc6</fixVersion>
                    <fixVersion>4.7.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3096378" author="henrik.edin" created="Tue, 19 May 2020 22:32:20 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=maria.vankeulen&quot; class=&quot;user-hover&quot; rel=&quot;maria.vankeulen&quot;&gt;maria.vankeulen&lt;/a&gt;! I filed &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48309&quot; title=&quot;Remove &amp;#39;requires_fcv_46&amp;#39; tag from &amp;#39;banned_collection_reads_in_txn.js&amp;#39; and &amp;#39;jstests/core/txns/no_writes_to_system_collections_in_txn.js&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48309&quot;&gt;&lt;del&gt;SERVER-48309&lt;/del&gt;&lt;/a&gt; to do it.&lt;/p&gt;</comment>
                            <comment id="3090784" author="maria.vankeulen" created="Fri, 15 May 2020 21:33:22 +0000"  >&lt;p&gt;CC &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=henrik.edin&quot; class=&quot;user-hover&quot; rel=&quot;henrik.edin&quot;&gt;henrik.edin&lt;/a&gt; I think the &lt;tt&gt;requires_fcv_46&lt;/tt&gt; tag can be removed from &lt;a href=&quot;https://github.com/mongodb/mongo/blob/6b38c78843e7eb58dc344d88903727762d7d486d/jstests/core/txns/banned_collection_reads_in_txn.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/6b38c78843e7eb58dc344d88903727762d7d486d/jstests/core/txns/banned_collection_reads_in_txn.js&lt;/a&gt; in master now that &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46900&quot; title=&quot;Prohibit operations on system.profile inside of transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46900&quot;&gt;&lt;del&gt;SERVER-46900&lt;/del&gt;&lt;/a&gt; has been backported to 4.4.&lt;/p&gt;</comment>
                            <comment id="3076496" author="xgen-internal-githook" created="Fri, 8 May 2020 19:56:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Maria van Keulen&apos;, &apos;email&apos;: &apos;maria@mongodb.com&apos;, &apos;username&apos;: &apos;mvankeulen94&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46900&quot; title=&quot;Prohibit operations on system.profile inside of transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46900&quot;&gt;&lt;del&gt;SERVER-46900&lt;/del&gt;&lt;/a&gt; Prohibit transaction operations on system.profile&lt;/p&gt;

&lt;p&gt;(cherry picked from commit e4821bc15a083d1d156fa1ff7330ad5a1f985f9c)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ab533026f3c32a4305a641a9b9a389ce5f769890&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ab533026f3c32a4305a641a9b9a389ce5f769890&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3064361" author="xgen-internal-githook" created="Fri, 1 May 2020 13:53:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Maria van Keulen&apos;, &apos;email&apos;: &apos;maria@mongodb.com&apos;, &apos;username&apos;: &apos;mvankeulen94&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46900&quot; title=&quot;Prohibit operations on system.profile inside of transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46900&quot;&gt;&lt;del&gt;SERVER-46900&lt;/del&gt;&lt;/a&gt; Prohibit transaction operations on system.profile&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e4821bc15a083d1d156fa1ff7330ad5a1f985f9c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e4821bc15a083d1d156fa1ff7330ad5a1f985f9c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3059547" author="maria.vankeulen" created="Tue, 28 Apr 2020 21:35:42 +0000"  >&lt;p&gt;We already prohibit writes to system collections as of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34157&quot; title=&quot;Prevent writes to system collections from within transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34157&quot;&gt;&lt;del&gt;SERVER-34157&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47400&quot; title=&quot;createCollection/createIndexes are permitted to write to system collections inside transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47400&quot;&gt;&lt;del&gt;SERVER-47400&lt;/del&gt;&lt;/a&gt;. In order to prohibit reads, it should be fine to exclude all operations on &lt;tt&gt;system.profile&lt;/tt&gt; inside transactions, similarly to what we do for &lt;a href=&quot;https://github.com/mongodb/mongo/blob/f0cf2ca62b4957587e5fe3a897b35b9a54873e23/src/mongo/db/commands.cpp#L490-L495&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;collections in &lt;tt&gt;local&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2988164" author="connie.chen" created="Thu, 19 Mar 2020 19:40:05 +0000"  >&lt;p&gt;we believe we should prohibit reads from system.profile in multi-doc txns&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="1335939">DOCS-13625</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1333070">SERVER-47835</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1026517">SERVER-44854</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1356552">SERVER-48309</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>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="18953"><![CDATA[v4.4]]></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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001rZUEtQAO]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 19 Mar 2020 19:40:05 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 38 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>As of this ticket, it will not be possible to perform any operations on the {{systrem.profile}} collection of any database inside of a transaction.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[Needed]]></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>
                            3 years, 38 weeks, 1 day 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>connie.chen@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>henrik.edin@mongodb.com</customfieldvalue>
            <customfieldvalue>maria.vankeulen@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hx8vkv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr5emf:</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="3634">Execution Team 2020-04-20</customfieldvalue>
    <customfieldvalue id="3635">Execution Team 2020-05-04</customfieldvalue>
    <customfieldvalue id="3876">Execution Team 2020-05-18</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16944"><![CDATA[Docs]]></customfieldvalue>
    <customfieldvalue key="16945"><![CDATA[Drivers]]></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|hx8hu7:</customfieldvalue>

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