<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:56:50 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-41107] Create concurrency test that accesses a collection in a transaction after catalog changes</title>
                <link>https://jira.mongodb.org/browse/SERVER-41107</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Transactions with local readConcern perform untimestamped reads and do not check the min visible snapshot for collections, so they can access collections whose catalog information does not match the state of the collection in the transaction&apos;s snapshot. We will write a concurrency test to exercise this behavior and ensure it cannot cause crashes.&lt;/p&gt;

&lt;p&gt;Transaction thread: This thread must perform transactions using local readConcern. It starts the transaction with an operation on a collection &lt;tt&gt;startcoll&lt;/tt&gt;. Then it performs operations on a collection &lt;tt&gt;ddlcoll&lt;/tt&gt;, which may have had catalog changes since the transaction&apos;s snapshot was opened. These operations must include all operations that are supported in transactions (except &lt;tt&gt;killCursors&lt;/tt&gt;, which does not touch data) and must make use of indexes:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;find&lt;/tt&gt; (collection scan)&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;find&lt;/tt&gt; (index scan on &lt;tt&gt;_id&lt;/tt&gt;)&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;find&lt;/tt&gt; (index scan on secondary index)&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;aggregate&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;delete&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;distinct&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;findAndModify&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;geoSearch&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;getMore&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;insert&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;update&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;DDL thread: This thread must perform the following operations on &lt;tt&gt;ddlcoll&lt;/tt&gt;:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Create&lt;/li&gt;
	&lt;li&gt;Drop&lt;/li&gt;
	&lt;li&gt;Rename&lt;/li&gt;
	&lt;li&gt;Create secondary index&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="766367">SERVER-41107</key>
            <summary>Create concurrency test that accesses a collection in a transaction after catalog changes</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="tess.avitabile@mongodb.com">Tess Avitabile</assignee>
                                    <reporter username="tess.avitabile@mongodb.com">Tess Avitabile</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 May 2019 14:22:38 +0000</created>
                <updated>Sun, 29 Oct 2023 22:21:07 +0000</updated>
                            <resolved>Tue, 28 May 2019 13:27:06 +0000</resolved>
                                                    <fixVersion>4.1.13</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2261719" author="xgen-internal-githook" created="Tue, 28 May 2019 13:25:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Tess Avitabile&apos;, &apos;email&apos;: &apos;tess.avitabile@mongodb.com&apos;, &apos;username&apos;: &apos;tessavitabile&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41107&quot; title=&quot;Create concurrency test that accesses a collection in a transaction after catalog changes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41107&quot;&gt;&lt;del&gt;SERVER-41107&lt;/del&gt;&lt;/a&gt; Create concurrency test that accesses a collection in a transaction after catalog changes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f70fb4c734e342afe6561960edd53667f16e9eb1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f70fb4c734e342afe6561960edd53667f16e9eb1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2249686" author="max.hirschhorn@10gen.com" created="Thu, 16 May 2019 22:12:28 +0000"  >&lt;p&gt;All threads running the same FSM workload file receive the same &lt;tt&gt;db[collName]&lt;/tt&gt; namespace to operate on. It is separate FSM workload files that receive different &lt;tt&gt;db[collName]&lt;/tt&gt; namespaces to operate on when running in the &lt;tt&gt;concurrency_simultaneous*.yml&lt;/tt&gt; test suites.&lt;/p&gt;

&lt;p&gt;Drawing some inspiration from &lt;a href=&quot;https://github.com/mongodb/mongo/blob/41b24ead1f55009652e8e4aec64fd3226f1ba233/jstests/concurrency/fsm_workloads/agg_out.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the &lt;tt&gt;agg_out.js&lt;/tt&gt; FSM workload&lt;/a&gt;, you could use &lt;tt&gt;db[collName]&lt;/tt&gt; for one of the collections and then make up another collection name (the pattern is to base it around the FSM workload name) as the other collection. You could also ignore &lt;tt&gt;collName&lt;/tt&gt; entirely and make up both collection names.&lt;/p&gt;

&lt;p&gt;As mentioned in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41061?focusedCommentId=2245199&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2245199&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;SERVER-41061&lt;/a&gt;, it seems unlikely that we&apos;ll ever run different FSM workloads on the same collection (to increase contention) though it was a goal of the framework originally. Realistically each FSM workload is going to keep receiving its own collection but you may as well continue the pattern of using the FSM workload name as the uniquifier.&lt;/p&gt;</comment>
                            <comment id="2249544" author="tess.avitabile" created="Thu, 16 May 2019 20:38:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn&quot;&gt;max.hirschhorn&lt;/a&gt;, do you think it will be possible for me to have different threads in the FSM test act on the same collection? Looking at other FSM tests, I see that the states take the collection name as input, and I don&apos;t see a way to express that certain operations should act on the same collection.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="723599">SERVER-40352</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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.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>Thu, 16 May 2019 22:12:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 37 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_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>
                            4 years, 37 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>50.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huz8rz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huokzj:</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="2920">Repl 2019-05-20</customfieldvalue>
    <customfieldvalue id="2999">Repl 2019-06-03</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|huyv1b:</customfieldvalue>

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