<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:54:37 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>[JAVA-1435] The flag &quot;continueOnError&quot; doesn&apos;t work when bulk insert</title>
                <link>https://jira.mongodb.org/browse/JAVA-1435</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;I used flag &quot;continueOnError&quot; to bulk insert, but can&apos;t successful.  &lt;/p&gt;

&lt;p&gt;The java code in the attachment.&lt;/p&gt;</description>
                <environment>MongoDB 2.6.3</environment>
        <key id="157589">JAVA-1435</key>
            <summary>The flag &quot;continueOnError&quot; doesn&apos;t work when bulk insert</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="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="Rambo">Dong [X]</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Sep 2014 05:46:04 +0000</created>
                <updated>Thu, 11 Sep 2014 09:25:27 +0000</updated>
                            <resolved>Thu, 11 Sep 2014 09:25:27 +0000</resolved>
                                    <version>2.12.3</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="716509" author="ross@10gen.com" created="Thu, 11 Sep 2014 09:25:27 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=Rambo&quot; class=&quot;user-hover&quot; rel=&quot;Rambo&quot;&gt;Rambo&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Your example is fine and correct. The inserts do continue to take place and as per the &lt;a href=&quot;http://docs.mongodb.org/manual/core/bulk-inserts/#use-the-insert-method&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;documentation&lt;/a&gt; clients only receive the last error generated by the bulk insert.  So you would still get an exception but inserts after the exception still take place.  You can confirm this by performing a &lt;tt&gt;count()&lt;/tt&gt; after your bulk insert example.&lt;/p&gt;

&lt;p&gt;Just a friendly reminder that either the &lt;a href=&quot;https://groups.google.com/group/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mailing list&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;stackoverflow&lt;/a&gt; are the best resources for MongoDB behaviour type questions as they will reach a larger audience. The JAVA project is specifically for driver based bugs or issues.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="51934" name="BulkInsertTest.java" size="1134" author="Rambo" created="Thu, 11 Sep 2014 05:46:04 +0000"/>
                    </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|hs24un:</customfieldvalue>

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