<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:41: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-36062] Mobile SE: Stop running parallel and concurrent suites on mobile variants</title>
                <link>https://jira.mongodb.org/browse/SERVER-36062</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;tt&gt;parallel&lt;/tt&gt;, &lt;tt&gt;parallel_compatibility&lt;/tt&gt;, &lt;tt&gt;concurrency&lt;/tt&gt; and &lt;tt&gt;concurrency_simultaneous&lt;/tt&gt; test suites are not adding much to the coverage for mobile while adding to the time it takes to run the variants. Mobile SE is not intended to run parallel and concurrent operations and hence running these suites over it isn&apos;t building confidence in it&apos;s stability any more than the other core tests.&lt;/p&gt;

&lt;p&gt;For instance, on RHEL 6.2 (mobile), following are the runtimes during my trial runs when excluding map_reduce tests (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35473&quot; title=&quot;Mobile SE: Fix writeConflictRetry loop with map-reduce jstests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35473&quot;&gt;&lt;del&gt;SERVER-35473&lt;/del&gt;&lt;/a&gt;):&lt;br/&gt;
&lt;tt&gt;concurrency&lt;/tt&gt;                          &amp;#8211;  1.5 hours&lt;br/&gt;
&lt;tt&gt;concurrency_simultaneous&lt;/tt&gt;   &amp;#8211;  3.5 hours&lt;/p&gt;</description>
                <environment></environment>
        <key id="570136">SERVER-36062</key>
            <summary>Mobile SE: Stop running parallel and concurrent suites on mobile variants</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="sulabh.mahajan@mongodb.com">Sulabh Mahajan</assignee>
                                    <reporter username="sulabh.mahajan@mongodb.com">Sulabh Mahajan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Jul 2018 05:53:17 +0000</created>
                <updated>Sun, 29 Oct 2023 22:29:57 +0000</updated>
                            <resolved>Wed, 25 Jul 2018 01:39:23 +0000</resolved>
                                                    <fixVersion>4.0.2</fixVersion>
                    <fixVersion>4.1.2</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1968631" author="xgen-internal-githook" created="Tue, 7 Aug 2018 06:33:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;sulabhM&apos;, &apos;name&apos;: &apos;Sulabh Mahajan&apos;, &apos;email&apos;: &apos;sulabh.mahajan@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36062&quot; title=&quot;Mobile SE: Stop running parallel and concurrent suites on mobile variants&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36062&quot;&gt;&lt;del&gt;SERVER-36062&lt;/del&gt;&lt;/a&gt; Stop running parallel; enable concurrent test suites on mobile&lt;/p&gt;

&lt;p&gt;(cherry picked from commit f165a6aac867472f38bd0d6f52fcf39e2be17ce6)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c9a2e9b4427f8ffe37667f6ed7d8ec50d8dfba68&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c9a2e9b4427f8ffe37667f6ed7d8ec50d8dfba68&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1955842" author="sulabh.mahajan" created="Wed, 25 Jul 2018 01:38:45 +0000"  >&lt;p&gt;We had a meeting to discuss this ticket and it was decided to do the following:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Stop running parallel, parallel_compatibility and concurrency_simultaneous&lt;/li&gt;
	&lt;li&gt;Keep running concurrency with two index related tests disabled (these tests take a long time to run because index operations are slow, issue tracked by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32709&quot; title=&quot;Mobile SE: Index creation takes a long time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32709&quot;&gt;&lt;del&gt;SERVER-32709&lt;/del&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1955836" author="xgen-internal-githook" created="Wed, 25 Jul 2018 01:33:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Sulabh Mahajan&apos;, &apos;email&apos;: &apos;sulabh.mahajan@mongodb.com&apos;, &apos;username&apos;: &apos;sulabhM&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36062&quot; title=&quot;Mobile SE: Stop running parallel and concurrent suites on mobile variants&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36062&quot;&gt;&lt;del&gt;SERVER-36062&lt;/del&gt;&lt;/a&gt; Stop running parallel; enable concurrent test suites on mobile&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f165a6aac867472f38bd0d6f52fcf39e2be17ce6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f165a6aac867472f38bd0d6f52fcf39e2be17ce6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1947281" author="max.hirschhorn@10gen.com" created="Fri, 13 Jul 2018 21:41:36 +0000"  >&lt;p&gt;Just because today&apos;s implementation of concurrency of the mobile storage engine matches what SQLite expects doesn&apos;t mean that we won&apos;t accidentally break it in the future. We&apos;re currently depending on a handful of tests that use &lt;tt&gt;startParallelShell()&lt;/tt&gt; and the &lt;tt&gt;jstestfuzz_concurrent&lt;/tt&gt; suite to find any futures issues when using multiple clients. Are we confident that those tests / test suites are sufficient enough to have caught the problematic behavior we&apos;d seen before with SQLite?&lt;/p&gt;</comment>
                            <comment id="1945478" author="acm" created="Thu, 12 Jul 2018 14:52:17 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sulabh.mahajan&quot; class=&quot;user-hover&quot; rel=&quot;sulabh.mahajan&quot;&gt;sulabh.mahajan&lt;/a&gt;, that sounds reasonable.&lt;/p&gt;</comment>
                            <comment id="1945129" author="sulabh.mahajan" created="Thu, 12 Jul 2018 07:08:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=acm&quot; class=&quot;user-hover&quot; rel=&quot;acm&quot;&gt;acm&lt;/a&gt;,&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Or are you saying that it doesn&apos;t matter given the locking model of the underlying storage engine in use&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yes, the locking model is different, so the testing requirements are lower. The concurrent/parallel operations (unless just reads) end up being serialised by the lock manager. Hence, I believe that beyond lock manager, we are only testing mobile under the same scenarios that other test suites should have already done, while greatly increasing the testing time and resources consumed.&lt;/p&gt;

&lt;p&gt;Here are my reasons why we shouldn&apos;t run these suites on mobile:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;tt&gt;concurrency&lt;/tt&gt; &#8211; As I said, we wouldn&apos;t really be running these tests concurrently from the storage engine perspectives. If we think there are certain operations unique to this suite that the storage engine gets to be tested with, we should enhance the core testing to include them instead, eg: I do not see map_reduce tests anywhere else other than in concurrency suite. map_reduce at storage engine would itself run single operation at a time, so it already doesn&apos;t make much sense. Because mobile throttles them to single operation at a time, it takes really long to execute them wasting time and compute resources.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;concurrency_simultaneous&lt;/tt&gt; &#8211; It makes even lesser sense to run concurrent tests together.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;parallel&lt;/tt&gt; &#8211; As I understand, individually almost all of these tests are available in core and this suite ends up running them in parallel. Since mobile is anyways going to serialise them past the lock manager, it doesn&apos;t make sense to run them at all.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;parallel_compatibility&lt;/tt&gt; &#8211; compatibility tests are not relevant to the mobile storage engine because it&#8217;s related to server level compatibility mechanism that isn&#8217;t used by mobile.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note: I don&apos;t know time taken for &lt;tt&gt;parallel&lt;/tt&gt; and &lt;tt&gt;parallel_compatibility&lt;/tt&gt;, because &lt;tt&gt;basic&lt;/tt&gt; and &lt;tt&gt;basicPlus&lt;/tt&gt; are ignoring the tags on the tests and I haven&apos;t been able to run with these tests turned on. I end up running and failing on capped collection/profiling tests.&lt;/p&gt;</comment>
                            <comment id="1944282" author="acm" created="Wed, 11 Jul 2018 14:34:55 +0000"  >&lt;p&gt;Can you clarify a bit what you mean about &quot;not intended to run parallel and concurrent operations&quot;? The invoking application can certainly have multiple threads &quot;connected&quot; to embedded that are executing concurrent database operations. Or are you saying that it doesn&apos;t matter given the locking model of the underlying storage engine in use?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </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>2.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, 11 Jul 2018 14:34:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 27 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-821</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, 27 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>0.0</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htt4k7:</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="2397">Storage Non-NYC 2018-07-16</customfieldvalue>
    <customfieldvalue id="2436">Storage Engines 2018-07-30</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|hu20pj:</customfieldvalue>

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