<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:55 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-1156] The number of writes sent in a write command should not exceed maxWriteBatchSize</title>
                <link>https://jira.mongodb.org/browse/JAVA-1156</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;When connected to a 2.6 MongoDB server the driver uses write commands for the existing insert, update, and remove methods on DBCollection.  For DBCollection.insert(List&amp;lt;DBObject), the driver needs to ensure that the number of documents sent in each insert command does not exceed the maxWriteBatchSize returned by isMaster.&lt;/p&gt;

&lt;p&gt;Note that this is not a problem when using DBCollection.initializeOrderedBulkOperation or DBCollection.initializeUnorderedBulkOperation&lt;/p&gt;</description>
                <environment></environment>
        <key id="127810">JAVA-1156</key>
            <summary>The number of writes sent in a write command should not exceed maxWriteBatchSize</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="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                            <label>rc3</label>
                    </labels>
                <created>Wed, 26 Mar 2014 21:16:58 +0000</created>
                <updated>Thu, 3 Apr 2014 15:22:09 +0000</updated>
                            <resolved>Thu, 27 Mar 2014 18:53:16 +0000</resolved>
                                                    <fixVersion>2.12.0</fixVersion>
                    <fixVersion>3.0.0</fixVersion>
                                    <component>Write Operations</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="524965" author="xgen-internal-githook" created="Thu, 27 Mar 2014 18:53:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1156&quot; title=&quot;The number of writes sent in a write command should not exceed maxWriteBatchSize&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1156&quot;&gt;&lt;del&gt;JAVA-1156&lt;/del&gt;&lt;/a&gt;: Properly ensure that none of the server-defined limits on the write commands are exceeded.&lt;br/&gt;
 There is one limit for the number of items that are allowed in each command (maxWriteBatchSize from ismaster).&lt;br/&gt;
 There is a second limit for the number of bytes in the encoded message (maxBsonObjectSize from ismaster),&lt;br/&gt;
 with an exception for a write command containing just a single item, which is allowed to exceed this length.&lt;br/&gt;
Branch: 3.0.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/cfaef0c85b25a2ec72941de6b9704a466780f848&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/cfaef0c85b25a2ec72941de6b9704a466780f848&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="524710" author="xgen-internal-githook" created="Thu, 27 Mar 2014 16:24:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1156&quot; title=&quot;The number of writes sent in a write command should not exceed maxWriteBatchSize&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1156&quot;&gt;&lt;del&gt;JAVA-1156&lt;/del&gt;&lt;/a&gt;: Properly ensure that none of the server-defined limits on the write commands are exceeded.&lt;br/&gt;
There is one limit for the number of items that are allowed in each command (maxWriteBatchSize from ismaster).&lt;br/&gt;
There is a second limit for the number of bytes in the encoded message (maxBsonObjectSize from ismaster), with an exception for a write command containing just a single item, which is allowed to exceed that limit.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/9f904dce43ea3d7c6d035f616f5615195f302799&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/9f904dce43ea3d7c6d035f616f5615195f302799&lt;/a&gt;&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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrxh53:</customfieldvalue>

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