<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:05:54 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-44409] Add FSM test for creating indexes/collections/databases in txns</title>
                <link>https://jira.mongodb.org/browse/SERVER-44409</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This test should do a mix of operations both inside and outside of transactions that stress concurrency of DDL operations both within and outside of transactions.&lt;/p&gt;

&lt;p&gt;Operations to test:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;update&lt;/tt&gt; with {{upsert : true }}&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;insert&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;createIndexes&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;create&lt;/tt&gt;, both with and without extra indexes beyond &lt;tt&gt;_id&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Conditions to test:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;database, collection and indexes exist&lt;/li&gt;
	&lt;li&gt;database exists, but collection and indexes don&apos;t&lt;/li&gt;
	&lt;li&gt;database doesn&apos;t exist&lt;/li&gt;
	&lt;li&gt;test multiple operations on the same collection inside a multi-document transaction&lt;/li&gt;
	&lt;li&gt;test multiple operations on multiple collections inside a multi-doc transaction&lt;/li&gt;
	&lt;li&gt;test operations outside a multi-doc transactions&lt;/li&gt;
	&lt;li&gt;concurrent &lt;tt&gt;drop&lt;/tt&gt; command (outside of transaction)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="989429">SERVER-44409</key>
            <summary>Add FSM test for creating indexes/collections/databases in txns</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="geert.bosch@mongodb.com">Geert Bosch</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Nov 2019 21:55:05 +0000</created>
                <updated>Sun, 29 Oct 2023 22:15:22 +0000</updated>
                            <resolved>Thu, 12 Mar 2020 17:07:55 +0000</resolved>
                                                    <fixVersion>4.4.0-rc0</fixVersion>
                    <fixVersion>4.7.0</fixVersion>
                                    <component>Catalog</component>
                    <component>Concurrency</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2976462" author="xgen-internal-githook" created="Thu, 12 Mar 2020 20:14:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Maria van Keulen&apos;, &apos;username&apos;: &apos;mvankeulen94&apos;, &apos;email&apos;: &apos;maria@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44409&quot; title=&quot;Add FSM test for creating indexes/collections/databases in txns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44409&quot;&gt;&lt;del&gt;SERVER-44409&lt;/del&gt;&lt;/a&gt; Add FSM and nice-to-have collection and index test cases&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 90c3f10389519068eb685db72b7ff13f93c71dc6)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/11fad729f6ad3d1b546d687bf4541f428de0d0bc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/11fad729f6ad3d1b546d687bf4541f428de0d0bc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2975117" author="xgen-internal-githook" created="Thu, 12 Mar 2020 16:12:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Maria van Keulen&apos;, &apos;username&apos;: &apos;mvankeulen94&apos;, &apos;email&apos;: &apos;maria@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44409&quot; title=&quot;Add FSM test for creating indexes/collections/databases in txns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44409&quot;&gt;&lt;del&gt;SERVER-44409&lt;/del&gt;&lt;/a&gt; Add FSM and nice-to-have collection and index test cases&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/90c3f10389519068eb685db72b7ff13f93c71dc6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/90c3f10389519068eb685db72b7ff13f93c71dc6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2955554" author="maria.vankeulen" created="Mon, 9 Mar 2020 20:42:28 +0000"  >&lt;p&gt;Removing &lt;tt&gt;renameCollection&lt;/tt&gt; from the list of cases to test, since our transactions override testing, which this FSM workload relies on, does not permit workloads that run &lt;a href=&quot;https://github.com/mongodb/mongo/blob/51c13694fbbcc5309abd39a4728a0920d6157db8/jstests/libs/override_methods/network_error_and_txn_override.js#L294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;non-blindly-retryable commands&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2946466" author="maria.vankeulen" created="Thu, 5 Mar 2020 19:21:22 +0000"  >&lt;p&gt;A fair amount of the test conditions in this ticket description are already encompassed in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ab2ec5c8d4f4b203c4ad9a39a20480a1fc9ff1d4/jstests/core/txns/create_collection_parallel.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;create_collection_parallel.js&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ab2ec5c8d4f4b203c4ad9a39a20480a1fc9ff1d4/jstests/core/txns/create_indexes_parallel.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;create_indexes_parallel.js&lt;/a&gt; as well as rollback_fuzzer (I found a number of bugs when doing &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45405&quot; title=&quot;Allow implicit collection creation inside multi-document transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45405&quot;&gt;&lt;del&gt;SERVER-45405&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="2882415" author="maria.vankeulen" created="Tue, 18 Feb 2020 16:02:46 +0000"  >&lt;p&gt;This ticket should also add targeted (non-FSM) test cases for collection creation inside prepared transactions (see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45945&quot; title=&quot;Prohibit collection/index creation inside prepared transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45945&quot;&gt;&lt;del&gt;SERVER-45945&lt;/del&gt;&lt;/a&gt;). It should add a targeted test for both a multi-write-shard transaction that ends in an abort decision because at least one participant attempts to create a collection and a multi-shard but single-write-shard transaction that succeeds when it includes collection creation.&lt;/p&gt;</comment>
                            <comment id="2710402" author="maria.vankeulen" created="Tue, 7 Jan 2020 18:51:27 +0000"  >&lt;p&gt;This test case would likely need to be blacklisted from the concurrency_sharded_multi_stmt_txn_kill_primary, concurrency_sharded_multi_stmt_txn_terminate_primary, and concurrency_sharded_multi_stmt_txn_with_stepdowns suites, since &lt;tt&gt;create&lt;/tt&gt; and &lt;tt&gt;createIndexes&lt;/tt&gt; are not commands that are blindly retryable.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=geert.bosch&quot; class=&quot;user-hover&quot; rel=&quot;geert.bosch&quot;&gt;geert.bosch&lt;/a&gt; and I discussed that we could add a test that only does idempotent implicit collection creations, such as upserts or createIndexes on the &lt;tt&gt;_id&lt;/tt&gt; index, in order to get testing coverage of collection creation inside transactions in these suites.&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="1233249">SERVER-46651</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1264221">SERVER-46796</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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 7 Jan 2020 18:51:27 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 47 weeks, 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1168</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, 47 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>geert.bosch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</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|hw0ian:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr5f1j:</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="3402">Execution Team 2019-12-30</customfieldvalue>
    <customfieldvalue id="3631">Execution Team 2020-03-09</customfieldvalue>
    <customfieldvalue id="3632">Execution Team 2020-03-23</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|hw04jz:</customfieldvalue>

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