<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:58:51 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-3130] Exceptions thrown from DefaultServer.invalidate can mask original exception</title>
                <link>https://jira.mongodb.org/browse/JAVA-3130</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;This can happen when a &lt;tt&gt;Connection&lt;/tt&gt; method throws an exception that requires the &lt;tt&gt;Server&lt;/tt&gt; to be invalidated.&#160; If the &lt;tt&gt;Server&lt;/tt&gt; instance has been closed by the time the exception is thrown (e.g. due to a previous exception or an SDAM event), the &lt;tt&gt;invalidate&lt;/tt&gt;&#160;method will throws &lt;tt&gt;IllegalStateException&lt;/tt&gt; because the pool is closed.&#160;&#160;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;In the synchronous driver, this exception will mask the underlying exception&lt;/li&gt;
	&lt;li&gt;In the asynchronous driver, this exception will prevent the application callback from being invoked&lt;/li&gt;
&lt;/ul&gt;


&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;[2018/12/28 11:09:32.400] 16:09:32.337 [nioEventLoopGroup-14-4] WARN org.mongodb.driver.connection - Got socket exception on connection [connectionId\{localValue:53, serverValue:62}] to localhost:27017. All connections to localhost:27017 will be closed. [2018/12/28 11:09:32.400] 16:09:32.338 [nioEventLoopGroup-14-4] ERROR org.mongodb.driver.connection - Callback onResult call produced an error [2018/12/28 11:09:32.400] java.lang.IllegalStateException: state should be: open [2018/12/28 11:09:32.400] at com.mongodb.assertions.Assertions.isTrue(Assertions.java:70) ~[mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.DefaultServer.invalidate(DefaultServer.java:125) ~[mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.DefaultServer.handleThrowable(DefaultServer.java:163) ~[mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.DefaultServer.access$600(DefaultServer.java:45) ~[mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor$2.onResult(DefaultServer.java:223) ~[mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.CommandProtocolImpl$1.onResult(CommandProtocolImpl.java:83) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$1.onResult(DefaultConnectionPool.java:461) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.UsageTrackingInternalConnection$2.onResult(UsageTrackingInternalConnection.java:111) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.async.ErrorHandlingResultCallback.onResult(ErrorHandlingResultCallback.java:49) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.InternalStreamConnection$2$1.onResult(InternalStreamConnection.java:377) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.InternalStreamConnection$2$1.onResult(InternalStreamConnection.java:372) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:619) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:609) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.internal.connection.InternalStreamConnection$5.failed(InternalStreamConnection.java:516) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.connection.netty.NettyStream.readAsync(NettyStream.java:229) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.connection.netty.NettyStream.handleReadResponse(NettyStream.java:263) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.connection.netty.NettyStream.access$800(NettyStream.java:69) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.connection.netty.NettyStream$OpenChannelFutureListener$1.operationComplete(NettyStream.java:404) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na] [2018/12/28 11:09:32.400] at com.mongodb.connection.netty.NettyStream$OpenChannelFutureListener$1.operationComplete(NettyStream.java:401) [mongodb-driver-core-3.10.0-SNAPSHOT.jar:na]&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="663225">JAVA-3130</key>
            <summary>Exceptions thrown from DefaultServer.invalidate can mask original exception</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="13201">Fixed</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 30 Dec 2018 15:01:01 +0000</created>
                <updated>Sat, 28 Oct 2023 11:22:29 +0000</updated>
                            <resolved>Tue, 8 Jan 2019 13:22:23 +0000</resolved>
                                                    <fixVersion>3.10.0</fixVersion>
                                    <component>Connection Management</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2113582" author="xgen-internal-githook" created="Mon, 14 Jan 2019 01:18:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jyemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;}
&lt;p&gt;Message: Make DefaultServer.invalidate a no-op when server is closed&lt;/p&gt;

&lt;p&gt;This method can easily be called in situations where the server instance&lt;br/&gt;
is already called, and having it throw an IllegalStateException in that&lt;br/&gt;
situation is not the desired behavior.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3130&quot; title=&quot;Exceptions thrown from DefaultServer.invalidate can mask original exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3130&quot;&gt;&lt;del&gt;JAVA-3130&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 3.10.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/565d50273b210217f3cbd71cd20c7da4e8fde7da&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/565d50273b210217f3cbd71cd20c7da4e8fde7da&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2108434" author="xgen-internal-githook" created="Tue, 8 Jan 2019 13:21:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jyemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;}
&lt;p&gt;Message: Make DefaultServer.invalidate a no-op when server is closed&lt;/p&gt;

&lt;p&gt;This method can easily be called in situations where the server instance&lt;br/&gt;
is already called, and having it throw an IllegalStateException in that&lt;br/&gt;
situation is not the desired behavior.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3130&quot; title=&quot;Exceptions thrown from DefaultServer.invalidate can mask original exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3130&quot;&gt;&lt;del&gt;JAVA-3130&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/db1db7734e3d3fc15c0be9ed9fdfb019ac50f923&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/db1db7734e3d3fc15c0be9ed9fdfb019ac50f923&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|hr7n27:</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>