<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:51:36 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-19630] FSM tests - capability to run against existing clusters</title>
                <link>https://jira.mongodb.org/browse/SERVER-19630</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The FSM test suite is loosely coupled to run its workloads in various modes:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;standalone&lt;/li&gt;
	&lt;li&gt;replica set&lt;/li&gt;
	&lt;li&gt;sharded cluster&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;It turns out the FSM workloads are very good test clients for performing a lot of various DB operations. New tests that use FSM workloads would benefit if the FSM workloads could be exercised in those modes. Presently the replica set &amp;amp; sharded cluster modes start up their own mongod and mongos. Adding options to be able to use the FSM workloads against a running replica set or sharded cluster would be worthwhile.&lt;/p&gt;</description>
                <environment></environment>
        <key id="223037">SERVER-19630</key>
            <summary>FSM tests - capability to run against existing clusters</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="9">Done</resolution>
                                        <assignee username="robert.guo@mongodb.com">Robert Guo</assignee>
                                    <reporter username="jonathan.abrahams">Jonathan Abrahams</reporter>
                        <labels>
                            <label>tig-concurrency</label>
                    </labels>
                <created>Tue, 28 Jul 2015 16:25:10 +0000</created>
                <updated>Wed, 18 Jan 2023 15:33:52 +0000</updated>
                            <resolved>Mon, 30 Apr 2018 14:02:32 +0000</resolved>
                                                    <fixVersion>4.0.0-rc0</fixVersion>
                                    <component>Testing Infrastructure</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1877655" author="xgen-internal-githook" created="Mon, 30 Apr 2018 14:01:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;robert.guo@10gen.com&apos;, &apos;username&apos;: &apos;guoyr&apos;, &apos;name&apos;: &apos;Robert Guo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-19630&quot; title=&quot;FSM tests - capability to run against existing clusters&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-19630&quot;&gt;&lt;del&gt;SERVER-19630&lt;/del&gt;&lt;/a&gt; allow FSM tests to connect to an existing cluster&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/39622745cd5258d40924c8e44be73b5c2e1b4ca4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/39622745cd5258d40924c8e44be73b5c2e1b4ca4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1876076" author="robert.guo" created="Fri, 27 Apr 2018 13:40:56 +0000"  >&lt;p&gt;Capturing Max&apos;s comment from the code review for easier future reference. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A couple minor comments. I also wanted to summarize some of the changes that&lt;br/&gt;
happened in patch set 13 and beyond in our future selves need to refer back to&lt;br/&gt;
this code review.&lt;/p&gt;

&lt;p&gt;1. The concurrency_sharded*.yml test suites rely on the namespace for each FSM&lt;br/&gt;
workload being unique in order to avoid collection lifecycle issues. An initial&lt;br/&gt;
attempt at using the FSM workload&apos;s name as the database prefix was made, but it&lt;br/&gt;
was ultimately dropped in favor of using a global incrementing counter in&lt;br/&gt;
fsm_workload_test.py as the database name for certain FSM workloads grew beyond&lt;br/&gt;
64 characters otherwise.&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/blob/b57eee5a295ede1fd67299dc9990c272c1f66ea&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/b57eee5a295ede1fd67299dc9990c272c1f66ea&lt;/a&gt;...&lt;/p&gt;

&lt;p&gt;2. The sharded_mergeChunks_partitioned.js, sharded_moveChunk_partitioned.js, and&lt;br/&gt;
sharded_splitChunk_partitioned.js FSM workloads implicitly assumed that there is&lt;br/&gt;
only data in the &quot;config.chunks&quot; collection for the collection associated with&lt;br/&gt;
the FSM workload that&apos;s executing. This assumption was violated by having&lt;br/&gt;
resmoke_runner.js not call the cleanupWorkloadData() function in order to have&lt;br/&gt;
data for resmoke.py to run the data consistency checks on. The FSM workloads and&lt;br/&gt;
the chunks.js helper were updated to plumb the &quot;ns&quot; field into the queries they&lt;br/&gt;
perform on the &quot;config.chunks&quot; collection to eliminate this assumption.&lt;/p&gt;

&lt;p&gt;3. The concurrency_sharded_causal_consistency*.yml test suites use the&lt;br/&gt;
set_read_preference_secondary.js override in order to avoid using&lt;br/&gt;
readPreference=&lt;/p&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {mode}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt; for the &quot;admin&quot; and &quot;config&quot; databases in a&lt;br/&gt;
sharded cluster because we&apos;re running with a 1-node CSRS. However, changing&lt;br/&gt;
Mongo.prototype.runCommand() to inject a read preference now means that we&apos;re&lt;br/&gt;
using readPreference=&lt;/p&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {mode}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt; for the connections in the connection&lt;br/&gt;
cache when we had only been setting the read preference on the `db.getMongo()`&lt;br/&gt;
connection before. We can use the _DelegatingDriverSession object to share the&lt;br/&gt;
same session for different Mongo connection objects to ensure that we&apos;re reading&lt;br/&gt;
from a secondary only at a time after the effect of the sharding metadata&lt;br/&gt;
operations have been applied.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="1089757" author="jonathan.abrahams" created="Mon, 16 Nov 2015 21:31:54 +0000"  >&lt;p&gt;Improvements of this nature require that &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21485&quot; title=&quot;Capability to bind an existing cluster to ShardingTest&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21485&quot;&gt;&lt;del&gt;SERVER-21485&lt;/del&gt;&lt;/a&gt; is implemented. The cluster object (cluster.js) has too many dependencies on ReplSetTest &amp;amp; ShardingTest, such that it depends on those objects to permit a connection to bind to them. Otherwise, there will be a lot of duplicate code.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="521459">SERVER-34289</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2236129">SERVER-72985</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="235627">SERVER-22091</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="217562">SERVER-19488</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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15141"><![CDATA[v3.6]]></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>Mon, 2 Nov 2015 22:01:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 41 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-34289'>SERVER-34289</a></s>]]></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-385</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>max.hirschhorn@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 41 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jonathan.abrahams</customfieldvalue>
            <customfieldvalue>robert.guo@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkz93:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hre23z:</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="2236">TIG 2018-04-23</customfieldvalue>
    <customfieldvalue id="2237">TIG 2018-05-07</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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsft9r:</customfieldvalue>

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