<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:15 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-427] Support ContinueOnError Flag for bulk insert</title>
                <link>https://jira.mongodb.org/browse/JAVA-427</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;When this flag is set, bulk insert will continue to insert any remaining documents even if an insert fails (due, for example, to a duplicate key). getLastError will report whether any doc inserts have failed (not just last one). If multiple errors occur, only the most recent will be reported by getLastError. &lt;/p&gt;</description>
                <environment></environment>
        <key id="21725">JAVA-427</key>
            <summary>Support ContinueOnError Flag for bulk insert</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="brendan">Brendan W. McAdams</assignee>
                                    <reporter username="brendan">Brendan W. McAdams</reporter>
                        <labels>
                            <label>SERVER_V2</label>
                    </labels>
                <created>Wed, 31 Aug 2011 14:57:08 +0000</created>
                <updated>Tue, 25 Jun 2013 16:51:20 +0000</updated>
                            <resolved>Mon, 5 Sep 2011 13:53:03 +0000</resolved>
                                                    <fixVersion>2.7</fixVersion>
                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="179336" author="pawel" created="Thu, 25 Oct 2012 22:31:29 +0000"  >&lt;p&gt;Yep, something like that would do it.&lt;/p&gt;</comment>
                            <comment id="179333" author="jeff.yemin" created="Thu, 25 Oct 2012 22:22:23 +0000"  >&lt;p&gt;Yes, I noticed that too.  We could add some fluent helpers to WriteConcern&lt;br/&gt;
to make it easier.  Something like:&lt;/p&gt;

&lt;p&gt;   WriteConcern wc = WriteConcern.SAFE.continueOnInsertError(true)&lt;/p&gt;



</comment>
                            <comment id="179326" author="pawel" created="Thu, 25 Oct 2012 22:00:58 +0000"  >&lt;p&gt;Yep, found it.&lt;br/&gt;
It&apos;s a bit inconvenient, though. One has to clone a concern (may be a named concern), individually copying all the fields, and setting this flag too.&lt;/p&gt;</comment>
                            <comment id="179284" author="jeff.yemin" created="Thu, 25 Oct 2012 20:47:47 +0000"  >&lt;p&gt;I&apos;d have to track down the history, but it looks like this setting moved to the WriteConcern class: &lt;a href=&quot;http://api.mongodb.org/java/2.9.2/com/mongodb/WriteConcern.html#WriteConcern(int&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/java/2.9.2/com/mongodb/WriteConcern.html#WriteConcern(int&lt;/a&gt;, int, boolean, boolean, boolean)&lt;/p&gt;</comment>
                            <comment id="179247" author="pawel" created="Thu, 25 Oct 2012 19:51:29 +0000"  >&lt;p&gt;I&apos;m looking at the latest API doc (&lt;a href=&quot;http://api.mongodb.org/java/2.9.2/com/mongodb/DBCollection.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/java/2.9.2/com/mongodb/DBCollection.html&lt;/a&gt;), and I don&apos;t see that fix in there &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="51768" author="auto" created="Wed, 31 Aug 2011 16:34:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;bwmcadams&apos;, u&apos;name&apos;: u&apos;Brendan W. McAdams&apos;, u&apos;email&apos;: u&apos;brendan@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-427&quot; title=&quot;Support ContinueOnError Flag for bulk insert&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-427&quot;&gt;&lt;del&gt;JAVA-427&lt;/del&gt;&lt;/a&gt; - Support ContinueOnError Flag for bulk insert&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Added flags for continueOnError&lt;/li&gt;
	&lt;li&gt;Test to verify bulk insert behaves as expected both with &amp;amp; without continueOnError enabled.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/7b03ea0a875a382c5bf1323af88cf7b8fdc009d6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/7b03ea0a875a382c5bf1323af88cf7b8fdc009d6&lt;/a&gt;&lt;/li&gt;
&lt;/ul&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|hrhbqf:</customfieldvalue>

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