<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:34 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-693] InsertBatch must call GLE after all sub-batches (except perhaps the last) even if WriteConcern is Unacknowledged</title>
                <link>https://jira.mongodb.org/browse/CSHARP-693</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;When InsertBatch is called with more documents than can fit in a single message to the server it breaks up the large batch into smaller sub-batches that do fit into a single message.&lt;/p&gt;

&lt;p&gt;To maintain the semantics that a batch stops as soon as the first error is encountered (when ContinueOnError is false) InsertBatch &lt;b&gt;must&lt;/b&gt; call GLE after all sub-batches (except perhaps the last) even if WriteConcern is Unacknowledged. Otherwise it wouldn&apos;t know that an error occurred and that it should stop sending any additional sub-batches.&lt;/p&gt;</description>
                <environment></environment>
        <key id="66912">CSHARP-693</key>
            <summary>InsertBatch must call GLE after all sub-batches (except perhaps the last) even if WriteConcern is Unacknowledged</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Mar 2013 00:58:07 +0000</created>
                <updated>Thu, 20 Mar 2014 14:36:36 +0000</updated>
                            <resolved>Mon, 29 Apr 2013 18:25:36 +0000</resolved>
                                    <version>1.7.1</version>
                    <version>1.8.1</version>
                                    <fixVersion>1.8</fixVersion>
                    <fixVersion>1.8.2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="324221" author="auto" created="Mon, 29 Apr 2013 18:25:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-04-29T17:59:59Z&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-693&quot; title=&quot;InsertBatch must call GLE after all sub-batches (except perhaps the last) even if WriteConcern is Unacknowledged&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-693&quot;&gt;&lt;del&gt;CSHARP-693&lt;/del&gt;&lt;/a&gt;: Be more precise about how errors are handled when ContinueOnError is true.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/abd7b01d6bcd2252de6204b5094f86908e4c937f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/abd7b01d6bcd2252de6204b5094f86908e4c937f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="324084" author="rstam" created="Mon, 29 Apr 2013 15:46:43 +0000"  >&lt;p&gt;Reopening the issue to make a minor change to how errors are handled. The desired behavior is:&lt;/p&gt;

&lt;p&gt;1. WriteConcern enabled and ContinueOnError is false&lt;/p&gt;

&lt;p&gt;Add the requested GLE after each sub-batch and throw an exception when the first error occurs. Otherwise return a list of the GLE results.&lt;/p&gt;

&lt;p&gt;2. WriteConcern enabled and ContinueOnError is true&lt;/p&gt;

&lt;p&gt;Add the requested GLE after each sub-batch but keep going even if an error is detected.  After the final sub-batch, throw an exception if an error was detected after any sub-batch. Otherwise return the list of the GLE results.&lt;/p&gt;

&lt;p&gt;3. WriteConcern disabled and ContinueOnError is false&lt;/p&gt;

&lt;p&gt;Add a GLE (w=1) after each sub-batch except the last. If an error is detected after any sub-batch stop processing any further batches and return null.&lt;/p&gt;

&lt;p&gt;4. WriteConcern disabled and ContinueOnError is true&lt;/p&gt;

&lt;p&gt;Send all sub-batches without a GLE. Return null.&lt;/p&gt;</comment>
                            <comment id="283601" author="auto" created="Thu, 7 Mar 2013 18:53:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-06T16:24:55Z&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-693&quot; title=&quot;InsertBatch must call GLE after all sub-batches (except perhaps the last) even if WriteConcern is Unacknowledged&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-693&quot;&gt;&lt;del&gt;CSHARP-693&lt;/del&gt;&lt;/a&gt;: InsertBatch must call GLE after all sub-batches even if WriteConcern is Unacknowledged but ContinueOnError is false.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/2175557806866f0361ed59149fe9572988d05b73&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/2175557806866f0361ed59149fe9572988d05b73&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="50898">DRIVERS-1888</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></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|hrmfxj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>44544</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>