<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:36 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-1009] 2.12: Allow pool to shrink</title>
                <link>https://jira.mongodb.org/browse/JAVA-1009</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Implement in 2.12&lt;/p&gt;</description>
                <environment></environment>
        <key id="93900">JAVA-1009</key>
            <summary>2.12: Allow pool to shrink</summary>
                <type id="5" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14716&amp;avatarType=issuetype">Sub-task</type>
                            <parent id="21548">JAVA-424</parent>
                                    <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>
                    </labels>
                <created>Fri, 11 Oct 2013 19:14:10 +0000</created>
                <updated>Thu, 3 Apr 2014 15:22:03 +0000</updated>
                            <resolved>Thu, 27 Feb 2014 20:52:50 +0000</resolved>
                                                    <fixVersion>2.12.0</fixVersion>
                                    <component>Connection Management</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="506664" author="jeff.yemin" created="Thu, 27 Feb 2014 20:52:50 +0000"  >&lt;p&gt;Added URI support&lt;/p&gt;</comment>
                            <comment id="506661" author="xgen-internal-githook" created="Thu, 27 Feb 2014 20:51:59 +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-1005&quot; title=&quot;2.12: Support max connection idle time and max connection life time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1005&quot;&gt;&lt;del&gt;JAVA-1005&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1009&quot; title=&quot;2.12: Allow pool to shrink&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1009&quot;&gt;&lt;del&gt;JAVA-1009&lt;/del&gt;&lt;/a&gt;: Added support for minPoolSize, maxIdleTimeMS and maxLifeTimeMS to MongoClientURI&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/1550273751f12896d39716ebec5c229fcaa74841&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/1550273751f12896d39716ebec5c229fcaa74841&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="506630" author="jeff.yemin" created="Thu, 27 Feb 2014 20:28:43 +0000"  >&lt;p&gt;Re-opened to add minPoolSize query parameter support to MongoClientURI&lt;/p&gt;</comment>
                            <comment id="461748" author="xgen-internal-githook" created="Tue, 26 Nov 2013 00:51:18 +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-1005&quot; title=&quot;2.12: Support max connection idle time and max connection life time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1005&quot;&gt;&lt;del&gt;JAVA-1005&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1009&quot; title=&quot;2.12: Allow pool to shrink&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1009&quot;&gt;&lt;del&gt;JAVA-1009&lt;/del&gt;&lt;/a&gt;: Added minConnectionsPerHost, maxConnectionIdleTime, and maxConnectionLifeTime properties to MongoClientOptions&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/6c46ef0cc2d4f067f7c23aa187f7d65739b7a702&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/6c46ef0cc2d4f067f7c23aa187f7d65739b7a702&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="461746" author="xgen-internal-githook" created="Tue, 26 Nov 2013 00:51:14 +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-1005&quot; title=&quot;2.12: Support max connection idle time and max connection life time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1005&quot;&gt;&lt;del&gt;JAVA-1005&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1003&quot; title=&quot;2.12: Don&amp;#39;t empty connection pool on every RuntimeException&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1003&quot;&gt;&lt;del&gt;JAVA-1003&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1007&quot; title=&quot;2.12: Make connection pool non-blocking&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1007&quot;&gt;&lt;del&gt;JAVA-1007&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1009&quot; title=&quot;2.12: Allow pool to shrink&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1009&quot;&gt;&lt;del&gt;JAVA-1009&lt;/del&gt;&lt;/a&gt;: Ported PooledConnectionProvider from 3.0.x, and refactored DBPort to work with it by extracting a Connection interface that it implements.  This new connection pool is non-blocking, and supports enforcement of max idle time, max life time, and minimum size.  It also abstracts the JMX monitoring into an implementation of the ConnectionPoolListener interface, which the connection pool fires events to.&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	src/main/com/mongodb/BaseCluster.java&lt;br/&gt;
	src/main/com/mongodb/Clusters.java&lt;br/&gt;
	src/main/com/mongodb/DBTCPConnector.java&lt;br/&gt;
	src/main/com/mongodb/DefaultServer.java&lt;br/&gt;
	src/main/com/mongodb/Server.java&lt;br/&gt;
	src/main/com/mongodb/ServerStateNotifier.java&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/eb6a74247e54ca5855f6b729242b0f360f47dbdf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/eb6a74247e54ca5855f6b729242b0f360f47dbdf&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|hrthr3:</customfieldvalue>

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