<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:48 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-1631] Expose ErrDocumentTooLarge to caller from result of BulkWrite</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1631</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Use case:&lt;/p&gt;

&lt;p&gt;We&apos;re using the bulk write API to apply a set of changes to a collection. The set of individual bulk updates are populated dynamically prior to sending the command.&lt;/p&gt;

&lt;p&gt;It&apos;s possible that under extreme cases, one of the bulk items is larger than the max bson size, which results in the call to BulkWrite returning an error. Currently, the only way to confirm that the error is due to exceeding the size limit is by importing&#160;&quot;go.mongodb.org/mongo-driver/x/mongo/driver&quot; and comparing to ErrDocumentTooLarge. However, this is a code smell since it introduces dependency on parts of the non-public facing package API.&lt;/p&gt;

&lt;p&gt;Ideally, it would be possible to confirm if the bulk write failed as a result of the size error without needing to involve internal packages.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1365696">GODRIVER-1631</key>
            <summary>Expose ErrDocumentTooLarge to caller from result of BulkWrite</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="mikeo@mongodb.com">Michael O&apos;Brien</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 May 2020 17:13:37 +0000</created>
                <updated>Wed, 30 Mar 2022 23:47:41 +0000</updated>
                                                                            <component>Error Handling</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                        <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|hxar9r:</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>