<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:33:35 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>[GODRIVER-123] Implement BulkWrite API</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-123</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;The CRUD API spec calls for a &lt;tt&gt;bulkWrite&lt;/tt&gt; methods like so:&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;bulkWrite(requests: WriteModel[], options: Optional&amp;lt;BulkWriteOptions&amp;gt;): BulkWriteResult;&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 is not particularly idiomatic for Go and it requires pre-allocating all the models, which isn&apos;t ideal for &quot;open-ended&quot; operations.&lt;/p&gt;

&lt;p&gt;We should consider a more idiomatic approach and implement that instead of the literal method called for in the CRUD spec.&lt;/p&gt;</description>
                <environment></environment>
        <key id="457186">GODRIVER-123</key>
            <summary>Implement BulkWrite API</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="13201">Fixed</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="david.golden@mongodb.com">David Golden</reporter>
                        <labels>
                            <label>FY2019Q3</label>
                            <label>Stitch</label>
                            <label>beta</label>
                    </labels>
                <created>Fri, 10 Nov 2017 17:43:11 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:55 +0000</updated>
                            <resolved>Thu, 11 Oct 2018 19:49:58 +0000</resolved>
                                                    <fixVersion>0.0.16</fixVersion>
                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2030549" author="xgen-internal-githook" created="Thu, 11 Oct 2018 19:48:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;username&apos;: &apos;divjotarora&apos;}
&lt;p&gt;Message: Implement BulkWrite API&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-123&quot; title=&quot;Implement BulkWrite API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-123&quot;&gt;&lt;del&gt;GODRIVER-123&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: Ica3dd7322d93efecaa953c6ff691dace6e184088&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/4cb519e8e22f6c951c9f1c521296966efb224e49&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/4cb519e8e22f6c951c9f1c521296966efb224e49&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2021819" author="thulasidhar" created="Wed, 3 Oct 2018 04:03:11 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
I am looking for this feature for bulk updating multiple documents in one go. I have a system where we process events in batches and batch size is in 1000 items, which would result in updating 1000 different documents. Having a bulk write with an array of 1000 update operations would be more efficient than 1000 individual updates. &lt;/p&gt;</comment>
                            <comment id="1840659" author="david.golden" created="Wed, 21 Mar 2018 13:44:40 +0000"  >&lt;p&gt;We&apos;ve decided to implement only bulk-insert in the short term (&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-124&quot; title=&quot;Support bulk inserting documents over 16 MB in total size with InsertMany&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-124&quot;&gt;&lt;del&gt;GODRIVER-124&lt;/del&gt;&lt;/a&gt;) and will defer decisions about a bulk API until later when we can build a better use-case for why users need a mechanism to interleave write operations.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="611820">GODRIVER-584</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr8asv:</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>