<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:09:57 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-581] URI parsing should not assume write concern defaults</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-581</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;I noticed that &lt;tt&gt;(_mongoc_uri_build_write_concern()&lt;/tt&gt; parses &lt;tt&gt;w=1&lt;/tt&gt; as &lt;tt&gt;MONGOC_WRITE_CONCERN_W_DEFAULT&lt;/tt&gt;. Combined with &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-580&quot; title=&quot;Write concern with w=0 and j=true is a GLE op&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-580&quot;&gt;&lt;del&gt;CDRIVER-580&lt;/del&gt;&lt;/a&gt;, this means the driver could send an empty write concern to the server, which could result in an unexpected &lt;a href=&quot;http://docs.mongodb.org/manual/reference/command/replSetGetConfig/#replSetGetConfig.settings.getLastErrorDefaults&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;server-side default&lt;/a&gt; being applied.&lt;/p&gt;</description>
                <environment></environment>
        <key id="189323">CDRIVER-581</key>
            <summary>URI parsing should not assume write concern defaults</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="9">Done</resolution>
                                        <assignee username="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Mar 2015 05:41:04 +0000</created>
                <updated>Fri, 3 Apr 2015 13:14:40 +0000</updated>
                            <resolved>Mon, 16 Mar 2015 21:21:30 +0000</resolved>
                                                    <fixVersion>1.1.4</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="862423" author="xgen-internal-githook" created="Tue, 24 Mar 2015 16:14:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jmikola&apos;, u&apos;name&apos;: u&apos;Jeremy Mikola&apos;, u&apos;email&apos;: u&apos;jmikola@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-581&quot; title=&quot;URI parsing should not assume write concern defaults&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-581&quot;&gt;&lt;del&gt;CDRIVER-581&lt;/del&gt;&lt;/a&gt;: Don&apos;t assume write concern defaults in URI parsing&lt;/p&gt;

&lt;p&gt;False safe/journal values should be explicitly set on the write concern. Additionally, w=1 should not be parsed as MONGOC_WRITE_CONCERN_W_DEFAULT, since the driver would then omit it from the write concern and allow a different server-side default to be applied.&lt;/p&gt;

&lt;p&gt;Closes #195&lt;br/&gt;
Branch: 1.2.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/208355d7a49fa66ab100c353c14d1afe1276e432&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/208355d7a49fa66ab100c353c14d1afe1276e432&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="853319" author="xgen-internal-githook" created="Mon, 16 Mar 2015 20:03:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jmikola&apos;, u&apos;name&apos;: u&apos;Jeremy Mikola&apos;, u&apos;email&apos;: u&apos;jmikola@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-581&quot; title=&quot;URI parsing should not assume write concern defaults&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-581&quot;&gt;&lt;del&gt;CDRIVER-581&lt;/del&gt;&lt;/a&gt;: Don&apos;t assume write concern defaults in URI parsing&lt;/p&gt;

&lt;p&gt;False safe/journal values should be explicitly set on the write concern. Additionally, w=1 should not be parsed as MONGOC_WRITE_CONCERN_W_DEFAULT, since the driver would then omit it from the write concern and allow a different server-side default to be applied.&lt;/p&gt;

&lt;p&gt;Closes #195&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/208355d7a49fa66ab100c353c14d1afe1276e432&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/208355d7a49fa66ab100c353c14d1afe1276e432&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="851154" author="jmikola@gmail.com" created="Fri, 13 Mar 2015 05:59:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/195&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/195&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="189317">CDRIVER-580</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs73af:</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>