<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:26:26 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-2802] Require 4.3.1+ server version when using failCommand errorLabels option</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2802</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;Various spec tests (both legacy and unified) utilize the &lt;tt&gt;errorLabels&lt;/tt&gt; option for the &lt;tt&gt;failCommand&lt;/tt&gt; fail point without requiring server version 4.3.1+, which is when the option was first implemented (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43941&quot; title=&quot;Add &amp;quot;errorLabels&amp;quot; field to failCommand fail point&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43941&quot;&gt;&lt;del&gt;SERVER-43941&lt;/del&gt;&lt;/a&gt;). Some of this dates back to commits for &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1385&quot; title=&quot;Make retryable write test error labels behave consistently with server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1385&quot;&gt;DRIVERS-1385&lt;/a&gt;, when &lt;tt&gt;errorLabels&lt;/tt&gt; was relocated from the &lt;tt&gt;writeConcernError&lt;/tt&gt; field to the top-level of the fail point config.&lt;/p&gt;

&lt;p&gt;I came across this issue while implementing DRIVERS-1641, which changes drivers to no longer inspect &lt;tt&gt;writeConcernError.code&lt;/tt&gt; on pre-4.4 mongos responses and instead rely entirely on the server-populated error labels. On versions of mongos prior to 4.3.1, those error labels may not be populated due to &lt;tt&gt;failCommand&lt;/tt&gt; ignoring the &lt;tt&gt;errorLabels&lt;/tt&gt; option used in the test.&lt;/p&gt;

&lt;p&gt;We should also note this requirement in the Unified Test Format spec, which documents the failCommand fail point.&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;Isthisissueurgent%3F&quot;&gt;&lt;/a&gt;Is this issue urgent?&lt;/h4&gt;
&lt;p&gt;Requirement for DRIVERS-1641.&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;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="2535553">DRIVERS-2802</key>
            <summary>Require 4.3.1+ server version when using failCommand errorLabels option</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Jan 2024 19:47:11 +0000</created>
                <updated>Fri, 12 Jan 2024 02:16:58 +0000</updated>
                                                                <component>Unified Test Runner</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="6006137" author="xgen-internal-githook" created="Fri, 12 Jan 2024 02:16:32 +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-2802&quot; title=&quot;Require 4.3.1+ server version when using failCommand errorLabels option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2802&quot;&gt;DRIVERS-2802&lt;/a&gt;: Fix insertedId expectations in insertOne-errorLabels (#1494)&lt;/p&gt;

&lt;p&gt;This corrects a mistake introduced in 5fc23f40f79d18f0693e7159eba81f0e7b276715 when these tests were originally moved from insertOne-serverErrors&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/8de81802790c1deedbde438c62ceca4e5d2a6d63&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/8de81802790c1deedbde438c62ceca4e5d2a6d63&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6004405" author="jmikola@gmail.com" created="Thu, 11 Jan 2024 16:38:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1494&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1494&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6001434" author="xgen-internal-githook" created="Wed, 10 Jan 2024 18:40:42 +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-2802&quot; title=&quot;Require 4.3.1+ server version when using failCommand errorLabels option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2802&quot;&gt;DRIVERS-2802&lt;/a&gt;: Require 4.3.1+ when using failCommand errorLabels option (#1489)&lt;/p&gt;

&lt;p&gt;This also improves version info in the failCommand docs within the Unified Test Format spec.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/5fc23f40f79d18f0693e7159eba81f0e7b276715&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/5fc23f40f79d18f0693e7159eba81f0e7b276715&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5984000" author="jmikola@gmail.com" created="Wed, 3 Jan 2024 20:16:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1489&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1489&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2536467">PHPLIB-1330</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536463">JAVA-5283</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536468">RUBY-3366</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536461">CSHARP-4899</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536460">CXX-2808</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536462">GODRIVER-3085</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536466">PYTHON-4117</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536469">RUST-1818</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536459">CDRIVER-4806</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536465">MOTOR-1230</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2536464">NODE-5808</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1460062">DRIVERS-1385</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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;p&gt;Sync the following spec tests with &lt;a href=&quot;https://github.com/mongodb/specifications/commit/8de81802790c1deedbde438c62ceca4e5d2a6d63&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/specifications@8de8180&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Client-side Operations Timeout&lt;/li&gt;
	&lt;li&gt;Command Logging and Monitoring&lt;/li&gt;
	&lt;li&gt;Retryable Writes (legacy and unified)&lt;/li&gt;
	&lt;li&gt;Transactions (legacy)&lt;/li&gt;
	&lt;li&gt;Transactions Convenient API&lt;/li&gt;
	&lt;li&gt;Unified Test Format (valid-pass)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Update retryable writes prose test #3 to account for moving &lt;tt&gt;errorLabels&lt;/tt&gt; to the top-level of the fail point configuration. Additionally, confirm that server version requirements for all modified prose tests are accurate.&lt;/p&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-4806'>CDRIVER-4806</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.26.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2808'>CXX-2808</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4899'>CSHARP-4899</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-3085'>GODRIVER-3085</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-5283'>JAVA-5283</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-5808'>NODE-5808</a>
    </td>
    <td>Scheduled</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-1230'>MOTOR-1230</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-4117'>PYTHON-4117</a>
    </td>
    <td>Backlog</td>
    <td class=''>4.7</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-1330'>PHPLIB-1330</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.18.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-3366'>RUBY-3366</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1818'>RUST-1818</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
</table>]]></customfieldvalue>


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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2o77w:</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>Wed, 3 Jan 2024 00:00:00 +0000</customfieldvalue>

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