<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:55:16 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-1694] Make Connection thread safe</title>
                <link>https://jira.mongodb.org/browse/JAVA-1694</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;In &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/e5fd0e58d0b55eaeb6ee314ad1556ddab942e894&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;e5fd0e58&lt;/a&gt; we simplified the InternalStreamConnection.&lt;/p&gt;

&lt;p&gt;InternalStreamConnection had been observed in Jenkins as failing and produced some unexplained errors that suggested some logic / race condition in the code.  See &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1674&quot; title=&quot;Address race conditions in InternalStreamConnection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1674&quot;&gt;&lt;del&gt;JAVA-1674&lt;/del&gt;&lt;/a&gt; for examples.  &lt;/p&gt;

&lt;p&gt;Post 3.0 we should reinstate thread safe connections&lt;/p&gt;
</description>
                <environment></environment>
        <key id="190119">JAVA-1694</key>
            <summary>Make Connection thread safe</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="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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ross@mongodb.com">Ross Lawley</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Mar 2015 15:23:09 +0000</created>
                <updated>Thu, 3 Sep 2015 19:30:35 +0000</updated>
                            <resolved>Mon, 23 Mar 2015 18:33:23 +0000</resolved>
                                                                    <component>Async</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="861256" author="jeff.yemin" created="Mon, 23 Mar 2015 18:33:23 +0000"  >&lt;p&gt;Existing race conditions have been removed in scope of &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1674&quot; title=&quot;Address race conditions in InternalStreamConnection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1674&quot;&gt;&lt;del&gt;JAVA-1674&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="856682" author="xgen-internal-githook" created="Wed, 18 Mar 2015 13:43:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Improved trace logging&lt;/p&gt;

&lt;p&gt;Moved calling of the passed callback in openAsync to the end of the open callback&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1674&quot; title=&quot;Address race conditions in InternalStreamConnection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1674&quot;&gt;&lt;del&gt;JAVA-1674&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1694&quot; title=&quot;Make Connection thread safe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1694&quot;&gt;&lt;del&gt;JAVA-1694&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/d1019e4b910b8229b5c2c83934a91a4dbd9dcb2a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/d1019e4b910b8229b5c2c83934a91a4dbd9dcb2a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="856680" author="xgen-internal-githook" created="Wed, 18 Mar 2015 13:43:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Added try catch to streamFactory.create&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1674&quot; title=&quot;Address race conditions in InternalStreamConnection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1674&quot;&gt;&lt;del&gt;JAVA-1674&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1694&quot; title=&quot;Make Connection thread safe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1694&quot;&gt;&lt;del&gt;JAVA-1694&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/0b3ec2c4a41f19c6d5abb448b4f46c5835ac8a28&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/0b3ec2c4a41f19c6d5abb448b4f46c5835ac8a28&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="856678" author="xgen-internal-githook" created="Wed, 18 Mar 2015 13:43:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: InternalConnectionStream Logging improvements&lt;/p&gt;

&lt;p&gt;Fixed open logging message order&lt;br/&gt;
Improved message when a read message is received and pending&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1674&quot; title=&quot;Address race conditions in InternalStreamConnection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1674&quot;&gt;&lt;del&gt;JAVA-1674&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1694&quot; title=&quot;Make Connection thread safe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1694&quot;&gt;&lt;del&gt;JAVA-1694&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/619379bfd6005a06b6d7ff66849900fb0cd2d5bf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/619379bfd6005a06b6d7ff66849900fb0cd2d5bf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="856676" author="xgen-internal-githook" created="Wed, 18 Mar 2015 13:43:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Added callbacks to assertions&lt;/p&gt;

&lt;p&gt;So callbacks can use the assertion errors.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1674&quot; title=&quot;Address race conditions in InternalStreamConnection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1674&quot;&gt;&lt;del&gt;JAVA-1674&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1694&quot; title=&quot;Make Connection thread safe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1694&quot;&gt;&lt;del&gt;JAVA-1694&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b0b5280d8c3c64e8d38dbb86c69033437ec7c342&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b0b5280d8c3c64e8d38dbb86c69033437ec7c342&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="856674" author="xgen-internal-githook" created="Wed, 18 Mar 2015 13:43:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Updated test timeouts for async operations&lt;/p&gt;

&lt;p&gt;So that we capture the default MongoClientSettings timeout configurations.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1674&quot; title=&quot;Address race conditions in InternalStreamConnection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1674&quot;&gt;&lt;del&gt;JAVA-1674&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1694&quot; title=&quot;Make Connection thread safe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1694&quot;&gt;&lt;del&gt;JAVA-1694&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/a636b416ebfbe6de2d867fc2b122aa7fdb689f03&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/a636b416ebfbe6de2d867fc2b122aa7fdb689f03&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="856672" author="xgen-internal-githook" created="Wed, 18 Mar 2015 13:43:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Improved connection logging&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1674&quot; title=&quot;Address race conditions in InternalStreamConnection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1674&quot;&gt;&lt;del&gt;JAVA-1674&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1694&quot; title=&quot;Make Connection thread safe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1694&quot;&gt;&lt;del&gt;JAVA-1694&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/71b130acf8409b1227b4d16be998bb09e399bcf9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/71b130acf8409b1227b4d16be998bb09e399bcf9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="856670" author="xgen-internal-githook" created="Wed, 18 Mar 2015 13:43:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rozza&apos;, u&apos;name&apos;: u&apos;Ross Lawley&apos;, u&apos;email&apos;: u&apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Reverted InternalStreamConnection&lt;/p&gt;

&lt;p&gt;Made opened and isClosed atomic boolean&lt;br/&gt;
Updated opened before callback is called&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1674&quot; title=&quot;Address race conditions in InternalStreamConnection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1674&quot;&gt;&lt;del&gt;JAVA-1674&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1694&quot; title=&quot;Make Connection thread safe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1694&quot;&gt;&lt;del&gt;JAVA-1694&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/6601e07129825afdcd661fd552af7b0079e65bd7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/6601e07129825afdcd661fd552af7b0079e65bd7&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="187645">JAVA-1674</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hs6mmn:</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>