<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:34:26 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-33738] Create a runCommand() override method to perform operations inside a transaction</title>
                <link>https://jira.mongodb.org/browse/SERVER-33738</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The override should make it so that consecutive &quot;insert&quot;, &quot;update&quot;, &quot;delete&quot;, &quot;findAndModify&quot; / &quot;findandmodify&quot;, &quot;find&quot;, and &quot;getMore&quot; commands occur in the same transaction by specifying &lt;tt&gt;autocommit=false&lt;/tt&gt; and using the same &lt;tt&gt;txnNumber&lt;/tt&gt;. The &quot;commitTransaction&quot; command should be executed when there&apos;s an uncommitted transaction associated with the session and &lt;tt&gt;Mongo.prototype.runCommand()&lt;/tt&gt; is called for any other command.&lt;/p&gt;

&lt;p&gt;In order to handle the case where the last statement executed by the JavaScript test performs a command supported by multi-statement transactions, the test should be executed via a static JavaScript runner file that users a call to &lt;tt&gt;load()&lt;/tt&gt; to execute the actual test and has a command such as &quot;ping&quot; run afterwards in order to commit the uncommitted transaction.&lt;/p&gt;</description>
                <environment></environment>
        <key id="507624">SERVER-33738</key>
            <summary>Create a runCommand() override method to perform operations inside a transaction</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="robert.guo@mongodb.com">Robert Guo</assignee>
                                    <reporter username="max.hirschhorn@mongodb.com">Max Hirschhorn</reporter>
                        <labels>
                            <label>tig-skip-pointing</label>
                    </labels>
                <created>Thu, 8 Mar 2018 04:46:08 +0000</created>
                <updated>Sun, 29 Oct 2023 22:34:01 +0000</updated>
                            <resolved>Thu, 24 May 2018 13:29:42 +0000</resolved>
                                                    <fixVersion>4.0.0-rc1</fixVersion>
                    <fixVersion>4.1.1</fixVersion>
                                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2141402" author="judah.schvimer" created="Thu, 7 Feb 2019 18:21:21 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=william.schultz&quot; class=&quot;user-hover&quot; rel=&quot;william.schultz&quot;&gt;william.schultz&lt;/a&gt;, I think that is a good idea in general for test suite config files.&lt;/p&gt;</comment>
                            <comment id="2140023" author="william.schultz" created="Wed, 6 Feb 2019 18:15:43 +0000"  >&lt;p&gt;I can probably just add such a comment myself. &lt;/p&gt;</comment>
                            <comment id="2139860" author="william.schultz" created="Wed, 6 Feb 2019 17:41:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=robert.guo&quot; class=&quot;user-hover&quot; rel=&quot;robert.guo&quot;&gt;robert.guo&lt;/a&gt; In reviewing the various transactions related test suites, I noticed that &lt;tt&gt;replica_sets_multi_stmt_txn_jscore_passthrough.yml&lt;/tt&gt; doesn&apos;t have a comment at the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/961b7181588a2dbd9eee67e4f5fcd569602d59b5/buildscripts/resmokeconfig/suites/replica_sets_multi_stmt_txn_jscore_passthrough.yml#L1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;top of the YAML suite file&lt;/a&gt; describing what the test suite does. I think it would be helpful to add a short comment, since it is becoming harder to keep track of all our various passthrough suites and how they override and modify default behaviors. Would you recommend I file a ticket for this or is this something that could maybe be done as an auxiliary change as part of some other work?&lt;/p&gt;</comment>
                            <comment id="1900603" author="xgen-internal-githook" created="Thu, 24 May 2018 13:29:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;guoyr&apos;, &apos;name&apos;: &apos;Robert Guo&apos;, &apos;email&apos;: &apos;robert.guo@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33738&quot; title=&quot;Create a runCommand() override method to perform operations inside a transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33738&quot;&gt;&lt;del&gt;SERVER-33738&lt;/del&gt;&lt;/a&gt; Create a runCommand() override method to perform operations inside a transaction&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 29c8f66e4396c7b68535d644638f2a81592e3081)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3ae0777cfe3e467df6edafd1af6d8d64c4bc93db&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3ae0777cfe3e467df6edafd1af6d8d64c4bc93db&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1900599" author="xgen-internal-githook" created="Thu, 24 May 2018 13:28:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;guoyr&apos;, &apos;name&apos;: &apos;Robert Guo&apos;, &apos;email&apos;: &apos;robert.guo@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33738&quot; title=&quot;Create a runCommand() override method to perform operations inside a transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33738&quot;&gt;&lt;del&gt;SERVER-33738&lt;/del&gt;&lt;/a&gt; Create a runCommand() override method to perform operations inside a transaction&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/29c8f66e4396c7b68535d644638f2a81592e3081&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/29c8f66e4396c7b68535d644638f2a81592e3081&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1856131" author="robert.guo" created="Thu, 5 Apr 2018 13:03:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie&quot; class=&quot;user-hover&quot; rel=&quot;milkie&quot;&gt;milkie&lt;/a&gt; I think this ticket is only useful for running existing workloads through the shell. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33218&quot; title=&quot;Implement shell API for transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33218&quot;&gt;&lt;del&gt;SERVER-33218&lt;/del&gt;&lt;/a&gt; is intended to provide the public shell API for multi-document transactions. If you think there&apos;s value in this ticket beyond &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33218&quot; title=&quot;Implement shell API for transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33218&quot;&gt;&lt;del&gt;SERVER-33218&lt;/del&gt;&lt;/a&gt; for end users, let me know; I&apos;d be interested in making it more publicly visible.&lt;/p&gt;</comment>
                            <comment id="1853744" author="milkie" created="Tue, 3 Apr 2018 18:00:13 +0000"  >&lt;p&gt;Would this override be of value to external users?  The syntax is pretty friendly for someone trying to build up a multi-document transaction in the shell.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="546467">SERVER-35089</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="537217">SERVER-34772</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="537293">SERVER-34774</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.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>Wed, 28 Mar 2018 21:17:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 6 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-988</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>
                            5 years, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>robert.guo@mongodb.com</customfieldvalue>
            <customfieldvalue>william.schultz@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hts187:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htk4x3:</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="2184">TIG 2018-03-26</customfieldvalue>
    <customfieldvalue id="2205">TIG 2018-04-09</customfieldvalue>
    <customfieldvalue id="2236">TIG 2018-04-23</customfieldvalue>
    <customfieldvalue id="2237">TIG 2018-05-07</customfieldvalue>
    <customfieldvalue id="2271">TIG 2018-05-21</customfieldvalue>
    <customfieldvalue id="2306">TIG 2018-06-04</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|htrnev:</customfieldvalue>

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