<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:24:52 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-2159] How should drivers handle non-write errors in Unordered Bulk Writes?</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2159</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;In working on &lt;a href=&quot;https://jira.mongodb.org/browse/NODE-1702&quot; title=&quot;Not all operations in big (over 100000) bulk are executed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NODE-1702&quot;&gt;&lt;del&gt;NODE-1702&lt;/del&gt;&lt;/a&gt;, I realized that Node&apos;s Unordered Bulk Write implementation will only propagate a non-(write|writeconcern) error if it happens to occur on the last batch to return. This is definitely not proper behavior, but I could not find in our specification what the proper behavior is in this case.&lt;/p&gt;

&lt;p&gt;Some example cases:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;A Network Error that affects only one of the batches in a bulk write. All other writes succeed&lt;/li&gt;
	&lt;li&gt;An Auth error that happens on all the batches&lt;/li&gt;
	&lt;li&gt;A Server-Side error (malformed query args, BSON max size exceeded, etc.)&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;What is the correct way for an unordered bulk write to handle an error in these cases?&lt;/p&gt;</description>
                <environment></environment>
        <key id="668349">DRIVERS-2159</key>
            <summary>How should drivers handle non-write errors in Unordered Bulk Writes?</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="daniel.aprahamian@mongodb.com">Daniel Aprahamian</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Jan 2019 20:20:13 +0000</created>
                <updated>Wed, 29 Jun 2022 19:50:56 +0000</updated>
                                                                <component>Bulk API</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4648907" author="kaitlin.mahar" created="Wed, 29 Jun 2022 19:47:35 +0000"  >&lt;p&gt;Linking to &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-716&quot; title=&quot;Improved Bulk Write API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-716&quot;&gt;DRIVERS-716&lt;/a&gt; as something to consider writing the new spec.&lt;/p&gt;

&lt;p&gt;cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=isabel.atkinson%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;isabel.atkinson@mongodb.com&quot;&gt;isabel.atkinson@mongodb.com&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2131063" author="jmikola@gmail.com" created="Tue, 29 Jan 2019 19:46:34 +0000"  >&lt;p&gt;Note: it may make sense to do this as part of a new spec derived from the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/driver-bulk-update.rst&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;legacy bulk update spec&lt;/a&gt;, after which we can delete the old spec (alternatively, the old spec can be heavily rewritten).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="900346">DRIVERS-716</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="450315">DRIVERS-2090</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="667824">DRIVERS-2093</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|hu8nb3:</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>