<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:18 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>[CSHARP-959] Ignore WNote and JNote on pre-2.6 Servers.</title>
                <link>https://jira.mongodb.org/browse/CSHARP-959</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;We introduced new behavior into the driver to handle how 2.6 handles errors.  However, this causes &quot;warnings&quot; to behave as errors in pre-2.6 servers.  We need to revert this behavior when talking to pre-2.6 servers.&lt;/p&gt;

&lt;p&gt;For example, when talking to a pre-2.6 server and performing a write that affects 0 documents while using a &quot;w&quot; field, the result is this:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;WriteConcernException - WriteConcern detected an error &apos;no write has been done on this connection&apos;. (Response was { &quot;n&quot; : 0, &quot;lastOp&quot; : { &quot;$timestamp&quot; : NumberLong(0) }, &quot;connectionId&quot; : 50820, &quot;wnote&quot; : &quot;no write has been done on this connection&quot;, &quot;err&quot; : null, &quot;ok&quot; : 1.0 })&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;This causes an exception to be thrown, even though this is simply a warning.&lt;/p&gt;</description>
                <environment></environment>
        <key id="132567">CSHARP-959</key>
            <summary>Ignore WNote and JNote on pre-2.6 Servers.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="craig.wilson@mongodb.com">Craig Wilson</assignee>
                                    <reporter username="craig.wilson@mongodb.com">Craig Wilson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 22 Apr 2014 13:39:30 +0000</created>
                <updated>Thu, 2 Apr 2015 18:27:33 +0000</updated>
                            <resolved>Thu, 24 Apr 2014 13:59:29 +0000</resolved>
                                    <version>1.9</version>
                                    <fixVersion>1.9.1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="713663" author="xgen-internal-githook" created="Mon, 8 Sep 2014 16:20:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1057&quot; title=&quot;Detect &amp;quot;jnote&amp;quot; errors reported by server 2.4.x with { ok : 1 }&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1057&quot;&gt;&lt;del&gt;CSHARP-1057&lt;/del&gt;&lt;/a&gt;: Detect &quot;jnote&quot; errors reported by server 2.4.x.&quot;&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-959&quot; title=&quot;Ignore WNote and JNote on pre-2.6 Servers.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-959&quot;&gt;&lt;del&gt;CSHARP-959&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This reverts commit 5c5aaa97d1f84d121a8ca0cba3521c5e1255abda.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/e7e012453346dceb076b1f0a3d69a5c6a5557643&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/e7e012453346dceb076b1f0a3d69a5c6a5557643&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="566278" author="xgen-internal-githook" created="Tue, 29 Apr 2014 00:22:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-959&quot; title=&quot;Ignore WNote and JNote on pre-2.6 Servers.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-959&quot;&gt;&lt;del&gt;CSHARP-959&lt;/del&gt;&lt;/a&gt;: don&apos;t recognize wnote or jnote as errors.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/3c6cb9474b3a4c3457925ec58a88adb8bf228eb9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/3c6cb9474b3a4c3457925ec58a88adb8bf228eb9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="566277" author="xgen-internal-githook" created="Tue, 29 Apr 2014 00:22:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-959&quot; title=&quot;Ignore WNote and JNote on pre-2.6 Servers.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-959&quot;&gt;&lt;del&gt;CSHARP-959&lt;/del&gt;&lt;/a&gt;: wnote and jnote no longer throw errors on pre 2.6 servers.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 064bdfa47ecc4284260d17b89c92cff60426b79a.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/3a36e6c6f2a44f9c59d9167129caba52b9597f40&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/3a36e6c6f2a44f9c59d9167129caba52b9597f40&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="566274" author="xgen-internal-githook" created="Tue, 29 Apr 2014 00:18:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-959&quot; title=&quot;Ignore WNote and JNote on pre-2.6 Servers.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-959&quot;&gt;&lt;del&gt;CSHARP-959&lt;/del&gt;&lt;/a&gt;: don&apos;t recognize wnote or jnote as errors.&lt;br/&gt;
Branch: v1.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/5dd99a883d594b449693fef5efd139b38e78dc4b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/5dd99a883d594b449693fef5efd139b38e78dc4b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="566273" author="xgen-internal-githook" created="Tue, 29 Apr 2014 00:18:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-959&quot; title=&quot;Ignore WNote and JNote on pre-2.6 Servers.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-959&quot;&gt;&lt;del&gt;CSHARP-959&lt;/del&gt;&lt;/a&gt;: wnote and jnote no longer throw errors on pre 2.6 servers.&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit 10cfbadd6bcee0cf5c7031a7baa5f118c7f59922.&lt;br/&gt;
Branch: v1.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/82973743651282143d0d1560c6811473ccda6e93&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/82973743651282143d0d1560c6811473ccda6e93&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="561571" author="xgen-internal-githook" created="Thu, 24 Apr 2014 13:58:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-959&quot; title=&quot;Ignore WNote and JNote on pre-2.6 Servers.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-959&quot;&gt;&lt;del&gt;CSHARP-959&lt;/del&gt;&lt;/a&gt;: wnote and jnote no longer throw errors on pre 2.6 servers.&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	src/MongoDB.Driver/Operations/BulkWriteResultConverter.cs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/064bdfa47ecc4284260d17b89c92cff60426b79a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/064bdfa47ecc4284260d17b89c92cff60426b79a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="561565" author="xgen-internal-githook" created="Thu, 24 Apr 2014 13:50:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-959&quot; title=&quot;Ignore WNote and JNote on pre-2.6 Servers.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-959&quot;&gt;&lt;del&gt;CSHARP-959&lt;/del&gt;&lt;/a&gt;: wnote and jnote no longer throw errors on pre 2.6 servers.&lt;br/&gt;
Branch: v1.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/10cfbadd6bcee0cf5c7031a7baa5f118c7f59922&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/10cfbadd6bcee0cf5c7031a7baa5f118c7f59922&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="560881" author="behackett" created="Wed, 23 Apr 2014 21:38:55 +0000"  >&lt;p&gt;It seems I&apos;ve misunderstood this ticket. I was under the impression that jnote was only returned when j=true write concern was used with a server that had journaling disabled (--nojournal) or w &amp;gt; 1 was used with a standalone mongod instance.&lt;/p&gt;

&lt;p&gt;It appears the server also returns wnote if the write concern wasn&apos;t applied because there was nothing to actually do (e.g. a remove operation have didn&apos;t match any documents so it didn&apos;t actually remove anything).&lt;/p&gt;</comment>
                            <comment id="560842" author="behackett" created="Wed, 23 Apr 2014 21:10:02 +0000"  >&lt;p&gt;Any app that is seeing wnote or jnote is running against a totally misconfigured cluster, and will break either way when the cluster is upgraded to 2.6.&lt;/p&gt;

&lt;p&gt;The example in the description seems to be the C# driver sending write operations with no actual documents? That seems like the driver is doing something wrong.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </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|hry8cf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>113889</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="130">Sprint 1 April 14 - May 2</customfieldvalue>

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