<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:05: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>[CXX-2406] Make retryable write test error labels behave consistently with server</title>
                <link>https://jira.mongodb.org/browse/CXX-2406</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;This ticket was split from &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;, please see that ticket for a detailed description.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1914665">CXX-2406</key>
            <summary>Make retryable write test error labels behave consistently with server</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Nov 2021 16:34:44 +0000</created>
                <updated>Tue, 15 Aug 2023 14:09:56 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5634962" author="xgen-internal-githook" created="Tue, 15 Aug 2023 14:09:56 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ezra Chung&apos;, &apos;email&apos;: &apos;88335979+eramongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;eramongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1848&quot; title=&quot;Test against sharded clusters in evergreen&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1848&quot;&gt;&lt;del&gt;CXX-1848&lt;/del&gt;&lt;/a&gt; Add sharded cluster test coverage to EVG config (#1007)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Move legacy transaction spec tests into subdirectory&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Sync legacy transaction spec tests with 56454749 (&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2406&quot; title=&quot;Make retryable write test error labels behave consistently with server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2406&quot;&gt;CXX-2406&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Sync legacy transactions convenient API spec tests with e9280056 (&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1976&quot; title=&quot;Add RetryableWriteError error labels to retryable transaction tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1976&quot;&gt;&lt;del&gt;CXX-1976&lt;/del&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Remove references to obsolete &quot;sharded-replicaset&quot; topology&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix inconsistent behavior of index_view::create_*() on sharded clusters&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;The failCommand operation on mongos requires 4.1+&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Multi-document transactions require 4.2+&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix legacy test runner outcome checks missing readPreference=primary&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix flaky tailable await cursors tests due to extreme maxAwaitTimeMS&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Remove unused configureFailPoint operation in legacy test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Ensure configureFailPoint events are ignored&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Improve apm_checker::print_all() output and const-correctness&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Capture APM events in result assertion failures&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Use Catch2 substring matcher instead of index comparison&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix operation name match for assertSessionUnpinned&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Update session pin assertion operations&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Do not assume session object name when not session0&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add transactions mongos pinning prose tests&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Improve failure messages for APM event checks in legacy test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add Catch2 sections separating legacy transactions and convenient API tests&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Handle client errors reported as logic_error in legacy test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Skip legacy transactions test requiring explicit readPreference with runCommand&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Update legacy transactions test runner to conform to latest spec&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Implement assertSessionTransactionState in legacy test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Implement targetedFailPoint in legacy test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Sync unified transaction spec tests with 474ddfcc (&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2221&quot; title=&quot;Test that session is unpinned when executing a non-transaction operation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2221&quot;&gt;&lt;del&gt;CXX-2221&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2233&quot; title=&quot;Add unpinning transaction test for read operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2233&quot;&gt;&lt;del&gt;CXX-2233&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2235&quot; title=&quot;Unpin sessions after all abortTransaction attempts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2235&quot;&gt;&lt;del&gt;CXX-2235&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2393&quot; title=&quot;Drivers should retry operations if connection handshake fails&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2393&quot;&gt;&lt;del&gt;CXX-2393&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2552&quot; title=&quot;Add test that reads are not retried in a transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2552&quot;&gt;&lt;del&gt;CXX-2552&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2690&quot; title=&quot;Deprecate sharded-replicaset topology type and clean up redundant runOnRequirements&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2690&quot;&gt;&lt;del&gt;CXX-2690&lt;/del&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix unified test runner outcome checks missing readPreference=primary and readConcern=local&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add transactions spec tests to unified test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix test client URI hostname specification in unified test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Implement targetedFailPoint in unified test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Implement session pin assertions in unified test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add sharded cluster tasks to EVG config&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Use scope guards to disable fail points in unified test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Remove obsolete version checks in examples (&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1547&quot; title=&quot;Run complex aggregation example once Travis uses mongo &amp;gt;= 3.6&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1547&quot;&gt;&lt;del&gt;CXX-1547&lt;/del&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix server version comparisons&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Workaround possibly unexpected multi and upsert fields&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix match actions when comparing APM events in legacy test runner&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add support for missing sessionOptions fields in legacy test runner&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/3fe25b824406daf7d01e4c0d78dc99695e9d987d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/3fe25b824406daf7d01e4c0d78dc99695e9d987d&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzs0lj:</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_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&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;:&lt;br/&gt;
Drivers should sync the retryable-writes and transaction spec tests updated in the following commits:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/commit/ab48c5768bd5a19f27ee62d10951670448a8d8e9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/specifications@ab48c57&lt;/a&gt; (legacy and unified tests)&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/commit/564547496b60c1f013c1a2edc27dd690f57ba04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/specifications@5645474&lt;/a&gt; (legacy tests)&lt;/li&gt;
&lt;/ul&gt;
</customfieldvalue>

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