<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:23 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-982] What errors should be returned when a document in a batch is too large?</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-982</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;The new Core API design handles batch splitting as it&apos;s creating wire messages, which means we don&apos;t check to ensure all of the documents are below the maximum document size before we start writing to the server. If the user has specified unordered for batching and an error occured this means we have to choose whether we return the error from a document being too large or the write errors. Which should we return? Should we try to return a hybrid error?&lt;/p&gt;</description>
                <environment></environment>
        <key id="741473">GODRIVER-982</key>
            <summary>What errors should be returned when a document in a batch is too large?</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="-1">Unassigned</assignee>
                                    <reporter username="kris.brandow@mongodb.com">Kristofer Brandow</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Apr 2019 22:53:38 +0000</created>
                <updated>Wed, 11 Sep 2019 18:36:08 +0000</updated>
                            <resolved>Thu, 25 Apr 2019 20:12:57 +0000</resolved>
                                                                    <component>Core API</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2225230" author="kris.brandow" created="Thu, 25 Apr 2019 20:12:57 +0000"  >&lt;p&gt;We&apos;re going to return the user error (document too large) and punt on solving the issue of what to do with write errors. Other drivers return the most recent error, e.g. Java driver will return an socket error and not any write errors that occurred previously.&lt;/p&gt;</comment>
                            <comment id="2218641" author="david.golden" created="Thu, 18 Apr 2019 23:32:40 +0000"  >&lt;p&gt;Why not catch it early?&#160; Generally, it&apos;s a good idea to validate user input at the API borders of the program.&#160; Rather than having the low-level insert take slice of bsonx.Doc, have it take a slice of raw BSON and catch size errors during a pre-encoding stage.&lt;/p&gt;</comment>
                    </comments>
                    <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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-617</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr8b1z:</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>