<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:22:00 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>[CDRIVER-4808] Do not check writeConcernError in mongoc_error_has_label()</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4808</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/3ee5fbb98da8d9740051be76ea9b301e75ecf540&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;3ee5fbb&lt;/a&gt; for &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3462&quot; title=&quot;Expand use of error labels for RetryableWrites&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3462&quot;&gt;&lt;del&gt;CDRIVER-3462&lt;/del&gt;&lt;/a&gt; originally added this logic to &lt;tt&gt;mongoc_error_has_label()&lt;/tt&gt;, but this is not needed. Per &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;, no stable release of the server has ever returned error labels &lt;em&gt;within&lt;/em&gt; the &lt;tt&gt;writeConcernError&lt;/tt&gt; field of a command response.&lt;/p&gt;

&lt;p&gt;Since syncing spec tests 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; in &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4210&quot; title=&quot;Make retryable write test error labels behave consistently with server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4210&quot;&gt;&lt;del&gt;CDRIVER-4210&lt;/del&gt;&lt;/a&gt;, there is no longer any case where libmongoc would encounter error labels within &lt;tt&gt;writeConcernError&lt;/tt&gt; (they were previously added to synthetic &lt;tt&gt;failCommand&lt;/tt&gt; responses).&lt;/p&gt;

&lt;p&gt;This was pointed out by &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.albertson%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;kevin.albertson@mongodb.com&quot;&gt;kevin.albertson@mongodb.com&lt;/a&gt; in the &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/1501#discussion_r1441863551&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb/mongo-c-driver#1501&lt;/a&gt; for &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4754&quot; title=&quot;Clarify exactly what code/label fields drivers should inspect to determine retryability&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4754&quot;&gt;&lt;del&gt;CDRIVER-4754&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2537112">CDRIVER-4808</key>
            <summary>Do not check writeConcernError in mongoc_error_has_label()</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="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="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Jan 2024 15:43:40 +0000</created>
                <updated>Thu, 4 Jan 2024 22:32:25 +0000</updated>
                            <resolved>Thu, 4 Jan 2024 22:32:25 +0000</resolved>
                                                    <fixVersion>1.26.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5987414" author="xgen-internal-githook" created="Thu, 4 Jan 2024 22:32:14 +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/CDRIVER-4808&quot; title=&quot;Do not check writeConcernError in mongoc_error_has_label()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4808&quot;&gt;&lt;del&gt;CDRIVER-4808&lt;/del&gt;&lt;/a&gt; do not check writeConcernError in mongoc_error_has_label() (#1505)&lt;/p&gt;

&lt;p&gt;Server responses do not return errorLabels within writeConcernError. It is only a top-level field.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/fcdee11bf4b0e6db53e3d02575c2ed70981963ea&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/fcdee11bf4b0e6db53e3d02575c2ed70981963ea&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5986743" author="jmikola@gmail.com" created="Thu, 4 Jan 2024 18:47:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/1505&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/1505&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1048587">CDRIVER-3462</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1914664">CDRIVER-4210</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2486984">CDRIVER-4754</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_23812" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Assigned Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26444"><![CDATA[C Drivers]]></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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2ogp8:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>