<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:15:22 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-47835] Un-blacklist txn_passthrough_runner_selftest.js system.profile read</title>
                <link>https://jira.mongodb.org/browse/SERVER-47835</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;As of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33548&quot; title=&quot;Enable profiling for batch writes within transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33548&quot;&gt;&lt;del&gt;SERVER-33548&lt;/del&gt;&lt;/a&gt;, when profiling is enabled, we expect profile writes for operations inside of transactions to appear in &lt;tt&gt;system.profile&lt;/tt&gt; independently of whether the transaction commits. This transactions override &lt;a href=&quot;https://github.com/mongodb/mongo/blob/98427b7a2228f6a8d54475adc9df3991c1c60314/jstests/libs/txns/txn_passthrough_runner_selftest.js#L18-L20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;test&lt;/a&gt; asserts that the operations are not visible in &lt;tt&gt;system.profile&lt;/tt&gt;, and seems to have been passing because of visibility rules for reads inside transactions (see my comment).&lt;/p&gt;

&lt;p&gt;As of &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;, it&apos;s not possible to read from &lt;tt&gt;system.profile&lt;/tt&gt; inside of a transaction. Upon modifying the transactions override framework to not run the read to &lt;tt&gt;system.profile&lt;/tt&gt; inside of a transaction, the jstests/libs/txns/txn_passthrough_runner_selftest.js fails because this read returns nonempty results, as expected.&lt;/p&gt;

&lt;p&gt;&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; will blacklist the offending &lt;a href=&quot;https://github.com/mongodb/mongo/blob/98427b7a2228f6a8d54475adc9df3991c1c60314/jstests/libs/txns/txn_passthrough_runner_selftest.js#L18-L20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;find&lt;/a&gt; and any other dependent portions in the test. &lt;/p&gt;</description>
                <environment></environment>
        <key id="1333070">SERVER-47835</key>
            <summary>Un-blacklist txn_passthrough_runner_selftest.js system.profile read</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-devplatform">[DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP)</assignee>
                                    <reporter username="maria.vankeulen@mongodb.com">Maria van Keulen</reporter>
                        <labels>
                            <label>sdp-backlog-purge</label>
                    </labels>
                <created>Wed, 29 Apr 2020 17:47:14 +0000</created>
                <updated>Wed, 21 Jun 2023 07:35:14 +0000</updated>
                            <resolved>Mon, 19 Jun 2023 18:35:10 +0000</resolved>
                                                                    <component>Shell</component>
                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5509955" author="JIRAUSER1268551" created="Mon, 19 Jun 2023 18:35:10 +0000"  >&lt;p&gt;This has been identified as work that the SDP team won&apos;t do in the near term. Please reopen with a comment if you feel this work should be reprioritized and explain why.&lt;/p&gt;</comment>
                            <comment id="4539973" author="steven.vannelli" created="Tue, 10 May 2022 21:32:07 +0000"  >&lt;p&gt;Moving this ticket to the Backlog and removing the &quot;Backlog&quot; fixVersion as per our latest policy for using fixVersions. &lt;/p&gt;</comment>
                            <comment id="3061133" author="maria.vankeulen" created="Wed, 29 Apr 2020 19:05:43 +0000"  >&lt;p&gt;I think the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/98427b7a2228f6a8d54475adc9df3991c1c60314/jstests/libs/txns/txn_passthrough_runner_selftest.js#L18-L20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;find&lt;/a&gt; on &lt;tt&gt;system.profile&lt;/tt&gt; was passing prior to &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; because profile writes for transaction write operations occur in a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/52a73692175cad37f942ff5e6f3d70aacbbb113d/src/mongo/db/ops/write_ops_exec.cpp#L145-L147&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;side transaction&lt;/a&gt;. The &lt;a href=&quot;https://github.com/mongodb/mongo/blob/98427b7a2228f6a8d54475adc9df3991c1c60314/jstests/libs/txns/txn_passthrough_runner_selftest.js#L18&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;find&lt;/a&gt; on &lt;tt&gt;system.profile&lt;/tt&gt; would have been running in the same transaction as the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/98427b7a2228f6a8d54475adc9df3991c1c60314/jstests/libs/txns/txn_passthrough_runner_selftest.js#L17&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;insert&lt;/a&gt; operation that got profiled, so the find wouldn&apos;t have been able to see the writes to &lt;tt&gt;system.profile&lt;/tt&gt;, since those writes occurred outside of the transaction&apos;s snapshot. Running the find on &lt;tt&gt;system.profile&lt;/tt&gt; outside of a transaction does not have this visibility restriction. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2373400">SERVER-78266</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1276424">SERVER-46900</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25130"><![CDATA[Server Development Platform]]></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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 10 May 2022 21:32:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        33 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_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>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            33 weeks, 2 days 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-devplatform</customfieldvalue>
            <customfieldvalue>alex.neben@mongodb.com</customfieldvalue>
            <customfieldvalue>maria.vankeulen@mongodb.com</customfieldvalue>
            <customfieldvalue>steven.vannelli@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxidaf:</customfieldvalue>

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

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