<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:25:55 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>[DRIVERS-2577] Add runCommand specification and remove readConcern and writeConcern options from unified test runCommand operation</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2577</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #fafbfc;border-color: #21313c;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #fafbfc;&quot;&gt;
&lt;h3&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;Add a runCommand specification based on the runCommand requirements called out by other specs. &lt;/p&gt;

&lt;p&gt;Additionally,&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/unified-test-format/unified-test-format.rst#runcommand&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;unified test format runCommand operation&lt;/a&gt; states that readConcern and writeConcern are supported options. However, runCommand implementations are not supposed to apply &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#generic-command-method&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;readConcern&lt;/a&gt; nor &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#generic-command-method-1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;writeConcern&lt;/a&gt; options and users are instead expected to define those settings on the command document themselves. &lt;/p&gt;

&lt;p&gt;We currently do not have unified tests that use these options. Any driver that implemented support for them in their unified runner can remove the logic in favor of potential future tests that put these settings in the command documents themselves.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Motivation&quot;&gt;&lt;/a&gt;&lt;b&gt;Motivation&lt;/b&gt;&lt;/h3&gt;

&lt;h4&gt;&lt;a name=&quot;Whoistheaffectedenduser%3F&quot;&gt;&lt;/a&gt;Who is the affected end user?&lt;/h4&gt;

&lt;p&gt;Driver engineers with a unified test runner.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Howdoesthisaffecttheenduser%3F&quot;&gt;&lt;/a&gt;How does this affect the end user?&lt;/h4&gt;

&lt;p&gt;N/A&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Howlikelyisitthatthisproblemorusecasewilloccur%3F&quot;&gt;&lt;/a&gt;How likely is it that this problem or use case will occur?&lt;/h4&gt;

&lt;p&gt;Removing the options now can prevent any tests from utilizing them as we add more unified tests to our specifications.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Iftheproblemdoesoccur%2Cwhataretheconsequencesandhowseverearethey%3F&quot;&gt;&lt;/a&gt;If the problem does occur, what are the consequences and how severe are they?&lt;/h4&gt;

&lt;p&gt;N/A&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Isthisissueurgent%3F&quot;&gt;&lt;/a&gt;Is this issue urgent?&lt;/h4&gt;

&lt;p&gt;Not urgent. We need to take care about not adding tests that rely on these options as currently the docs will not inform a spec writer they are intended to be removed and are not supported in most drivers.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Isthisticketrequiredbyadownstreamteam%3F&quot;&gt;&lt;/a&gt;Is this ticket required by a downstream team?&lt;/h4&gt;

&lt;p&gt;No.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Isthisticketonlyfortests%3F&quot;&gt;&lt;/a&gt;Is this ticket only for tests?&lt;/h4&gt;

&lt;p&gt;Yes&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;AcceptanceCriteria&quot;&gt;&lt;/a&gt;&lt;b&gt;Acceptance Criteria&lt;/b&gt;&lt;/h3&gt;

&lt;ul&gt;
	&lt;li&gt;Remove the writeConcern and readConcern options from the list of supported options for the runCommand unified operation in the unified test format spec&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="2294803">DRIVERS-2577</key>
            <summary>Add runCommand specification and remove readConcern and writeConcern options from unified test runCommand operation</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="13453" iconUrl="https://jira.mongodb.org/images/icons/status_generic.gif" description="">Implementing</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="neal.beeken@mongodb.com">Neal Beeken</assignee>
                                    <reporter username="neal.beeken@mongodb.com">Neal Beeken</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Mar 2023 14:55:36 +0000</created>
                <updated>Mon, 21 Aug 2023 20:11:40 +0000</updated>
                                                                <component>Unified Test Runner</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5410392" author="xgen-internal-githook" created="Tue, 9 May 2023 05:01:54 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2577&quot; title=&quot;Add runCommand specification and remove readConcern and writeConcern options from unified test runCommand operation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2577&quot;&gt;DRIVERS-2577&lt;/a&gt;: $readPreference is not sent to standalone server (#1416)&lt;/p&gt;

&lt;p&gt;Also test that primary $readPreference is never set&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/d697477053972de77fb0e67bbba5228151bf76dd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/d697477053972de77fb0e67bbba5228151bf76dd&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5407206" author="jmikola@gmail.com" created="Mon, 8 May 2023 05:38:01 +0000"  >&lt;p&gt;PR to fix test failures on standalones: &lt;a href=&quot;https://github.com/mongodb/specifications/pull/1416&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1416&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5373681" author="xgen-internal-githook" created="Tue, 25 Apr 2023 14:17:33 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Neal Beeken&apos;, &apos;email&apos;: &apos;neal.beeken@mongodb.com&apos;, &apos;username&apos;: &apos;nbbeeken&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2577&quot; title=&quot;Add runCommand specification and remove readConcern and writeConcern options from unified test runCommand operation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2577&quot;&gt;DRIVERS-2577&lt;/a&gt;: runCommand set min server version correctly (#1410)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/146964a452f2d981f9b6b6d6063703038ed44d13&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/146964a452f2d981f9b6b6d6063703038ed44d13&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5365371" author="xgen-internal-githook" created="Fri, 21 Apr 2023 13:29:11 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Neal Beeken&apos;, &apos;email&apos;: &apos;neal.beeken@mongodb.com&apos;, &apos;username&apos;: &apos;nbbeeken&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2577&quot; title=&quot;Add runCommand specification and remove readConcern and writeConcern options from unified test runCommand operation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2577&quot;&gt;DRIVERS-2577&lt;/a&gt;: add a runCommand specification (#1389)&lt;/p&gt;

&lt;p&gt;Co-authored-by: Jeremy Mikola &amp;lt;jmikola@gmail.com&amp;gt;&lt;br/&gt;
Co-authored-by: Durran Jordan &amp;lt;durran@gmail.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/ab66eaf6f7e2bbeb5218672bebaf5118faf8209c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/ab66eaf6f7e2bbeb5218672bebaf5118faf8209c&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2316661">PHPLIB-1116</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316657">JAVA-4941</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316653">CDRIVER-4616</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316655">CSHARP-4619</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316654">CXX-2678</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316656">GODRIVER-2813</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316660">PYTHON-3673</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316659">MOTOR-1122</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316658">NODE-5207</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316662">RUBY-3242</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2316663">RUST-1636</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2393715">DRIVERS-2675</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;ul&gt;
	&lt;li&gt;Drivers must sync the new runCommand unified spec tests: &lt;a href=&quot;https://github.com/mongodb/specifications/commit/ab66eaf6f7e2bbeb5218672bebaf5118faf8209c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;specifications@ab66eaf&lt;/a&gt;, &lt;a href=&quot;https://github.com/mongodb/specifications/commit/146964a452f2d981f9b6b6d6063703038ed44d13&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;specifications@146964a&lt;/a&gt;, and &lt;a href=&quot;https://github.com/mongodb/specifications/commit/d697477053972de77fb0e67bbba5228151bf76dd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;specifications@d697477&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Drivers should make note of &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/run-command/run-command.rst#runcommand-implementation-details&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;RunCommand implementation details&lt;/a&gt;&#160;which requires drivers do not inspect nor modify the user&apos;s command document.
	&lt;ul&gt;
		&lt;li&gt;If your driver does modify user input, file a follow up ticket tracking changing that as a future improvement.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Add salient documentation for:&lt;/li&gt;
&lt;/ul&gt;


&lt;blockquote&gt;&lt;p&gt;A driver MUST not inspect the user&apos;s command, this includes checking for the fields a driver MUST attach to the command sent as described below. Depending on a driver&apos;s BSON implementation this can result in these fields being overwritten or duplicated, a driver SHOULD document that using these fields has undefined behavior.&lt;/p&gt;&lt;/blockquote&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4616'>CDRIVER-4616</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2678'>CXX-2678</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4619'>CSHARP-4619</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2813'>GODRIVER-2813</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4941'>JAVA-4941</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-5207'>NODE-5207</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>5.4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-1122'>MOTOR-1122</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3673'>PYTHON-3673</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-1116'>PHPLIB-1116</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.16.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-3242'>RUBY-3242</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.18.3</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1636'>RUST-1636</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.6.0</td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18362" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Engineering Lead</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>daria.pardue@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1jnnc:</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_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 21 Apr 2023 00:00:00 +0000</customfieldvalue>

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