<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:56:14 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-2065] Using bulk write API, in some cases two sockets will be used instead of one</title>
                <link>https://jira.mongodb.org/browse/JAVA-2065</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Using DBCollection.initializeOrderedBulkOperation or DBCollection.initializeUnorderedBulkOperation and either&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;server version is &amp;lt;= 2.4&lt;/li&gt;
	&lt;li&gt;WriteConcern is unacknowledged&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;the implementation checks out two sockets from the pool, one to check the server version and the second to send the legacy opcode message (OP_INSERT/UPDATE/DELETE).&lt;/p&gt;

&lt;p&gt;The same socket should be used for both.&lt;/p&gt;</description>
                <environment></environment>
        <key id="243809">JAVA-2065</key>
            <summary>Using bulk write API, in some cases two sockets will be used instead of one</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Dec 2015 19:14:28 +0000</created>
                <updated>Fri, 16 Feb 2018 08:55:41 +0000</updated>
                            <resolved>Mon, 21 Dec 2015 17:27:09 +0000</resolved>
                                    <version>2.14.0</version>
                                    <fixVersion>2.14.1</fixVersion>
                                    <component>Write Operations</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1807791" author="xgen-internal-githook" created="Fri, 16 Feb 2018 08:55:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2065&quot; title=&quot;Using bulk write API, in some cases two sockets will be used instead of one&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2065&quot;&gt;&lt;del&gt;JAVA-2065&lt;/del&gt;&lt;/a&gt;: Use same DBPort instance for bulk write requests that use OP_INSERT/UPDATE/DELETE wire protocol messages, whether because the write concern is unacknowledged or because the server version is &amp;lt;= 2.4.&lt;br/&gt;
Branch: 2.14.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/8fbdc19585e9d79d2cfbf4c532684b7540c4b296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/8fbdc19585e9d79d2cfbf4c532684b7540c4b296&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1134050" author="jeff.yemin" created="Wed, 13 Jan 2016 19:22:26 +0000"  >&lt;p&gt;Closed for 2.14.1 release&lt;/p&gt;</comment>
                            <comment id="1119646" author="xgen-internal-githook" created="Mon, 21 Dec 2015 17:26:58 +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-2065&quot; title=&quot;Using bulk write API, in some cases two sockets will be used instead of one&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2065&quot;&gt;&lt;del&gt;JAVA-2065&lt;/del&gt;&lt;/a&gt;: Use same DBPort instance for bulk write requests that use OP_INSERT/UPDATE/DELETE wire protocol messages, whether because the write concern is unacknowledged or because the server version is &amp;lt;= 2.4.&lt;br/&gt;
Branch: 2.14.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/8fbdc19585e9d79d2cfbf4c532684b7540c4b296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/8fbdc19585e9d79d2cfbf4c532684b7540c4b296&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1119645" author="xgen-internal-githook" created="Mon, 21 Dec 2015 17:26:58 +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-2065&quot; title=&quot;Using bulk write API, in some cases two sockets will be used instead of one&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2065&quot;&gt;&lt;del&gt;JAVA-2065&lt;/del&gt;&lt;/a&gt;: Use same DBPort instance for bulk write requests that use OP_INSERT/UPDATE/DELETE wire protocol messages, whether because the write concern is unacknowledged or because the server version is &amp;lt;= 2.4.&lt;br/&gt;
Branch: 2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/94ada7a7cb2070d6315cab72542591142704f359&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/94ada7a7cb2070d6315cab72542591142704f359&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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|hrdtyn:</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>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="835">Java Sprint 30</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>