<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:24:39 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-2074] Should we parse wtimeoutMS when w &lt;= 1?</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2074</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;The &lt;a href=&quot;https://github.com/mongodb/specifications/blob/0cf00e6ec2ebc1f8959d04c674623431b58198f1/source/read-write-concern/tests/connection-string/write-concern.yml#L26&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;wtimeoutMS as a valid number&lt;/a&gt; spec test considers that a URI with &lt;tt&gt;wtimeoutMS&lt;/tt&gt; and no &lt;tt&gt;w&lt;/tt&gt; value (default = 1) to be valid. Since &lt;tt&gt;wtimeoutMS&lt;/tt&gt; only pertains to replication, I would consider that specifying it when &lt;tt&gt;w&lt;/tt&gt; is &amp;lt;= 1 is a logical error.&lt;/p&gt;

&lt;p&gt;I noticed this while looking at &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/aefdd2bad0281261281acbd09cca52427a70076b#diff-8bdfe834dc6bd6ab62ce08b7d3878649R1348&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;aefdd2b&lt;/a&gt; for &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2621&quot; title=&quot;Write concern spec tests not running&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2621&quot;&gt;&lt;del&gt;CDRIVER-2621&lt;/del&gt;&lt;/a&gt;. libmongoc previously ignored &lt;tt&gt;wtimeoutMS&lt;/tt&gt; in that case, which seemed more correct.&lt;/p&gt;

&lt;p&gt;The only benefit I can see with the current behavior is that &lt;tt&gt;wtimeoutMS&lt;/tt&gt; will always be parsed and ensure that the driver creates a non-empty write concern. In the event that the cluster has a default write concern, this will ensure that the client&apos;s write concern is sent and applied (even if &lt;tt&gt;wtimeoutMS&lt;/tt&gt; has no effect).&lt;/p&gt;</description>
                <environment></environment>
        <key id="563928">DRIVERS-2074</key>
            <summary>Should we parse wtimeoutMS when w &lt;= 1?</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="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Jun 2018 19:12:02 +0000</created>
                <updated>Mon, 25 Sep 2023 17:01:43 +0000</updated>
                                                                <component>Read and Write Concern</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2424945">SERVER-80363</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="563931">PHPC-1216</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="531277">CDRIVER-2621</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_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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hts6hj:</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>