<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:15 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-424] Allow pool to shrink</title>
                <link>https://jira.mongodb.org/browse/JAVA-424</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Add support for checking on unused resources in the pool so it can shrink over time (to the min pool size).&lt;/p&gt;

&lt;p&gt;This will work in conjunction with &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-710&quot; title=&quot;Support max connection idle time and max connection life time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-710&quot;&gt;&lt;del&gt;JAVA-710&lt;/del&gt;&lt;/a&gt;: support max connection idle time and connection life time.&lt;/p&gt;

&lt;p&gt;The connection pool will, at a configurable interval:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;prune all connections that exceed either the max idle or max life time&lt;/li&gt;
	&lt;li&gt;ensure a minimum pool size&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;By default:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;min size == 0&lt;/li&gt;
	&lt;li&gt;interval == 1 minute&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The minimum size is configuration using the method com.mongodb.MongoClientOptions.Builder#minConnectionsPerHost and the minPoolSize query parameter on the Mongo URI.  The interval is not currently configurable.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="21548">JAVA-424</key>
            <summary>Allow pool to shrink</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="scotthernandez">Scott Hernandez</reporter>
                        <labels>
                    </labels>
                <created>Fri, 26 Aug 2011 13:18:42 +0000</created>
                <updated>Thu, 3 Apr 2014 15:22:34 +0000</updated>
                            <resolved>Tue, 26 Nov 2013 15:15:07 +0000</resolved>
                                                    <fixVersion>2.12.0</fixVersion>
                    <fixVersion>3.0.0</fixVersion>
                                    <component>Connection Management</component>
                                        <votes>5</votes>
                                    <watches>6</watches>
                                                                                                                                                            <comments>
                            <comment id="506344" author="jeff.yemin" created="Thu, 27 Feb 2014 15:08:40 +0000"  >&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;Interested parties can test the fix with 2.12.0-rc0, available either on &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/releases/tag/r2.12.0-rc0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;github&lt;/a&gt; or &lt;a href=&quot;http://central.maven.org/maven2/org/mongodb/mongo-java-driver/2.12.0-rc0/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Maven Central&lt;/a&gt;.  Any takers?&lt;/p&gt;


&lt;p&gt;Thanks,&lt;br/&gt;
Jeff&lt;/p&gt;</comment>
                            <comment id="53941" author="scotthernandez" created="Wed, 14 Sep 2011 05:55:45 +0000"  >&lt;p&gt;It would be good to implement a minSize and minToKeep options as well to control this. minSize will be the number allocated when the pool is created and minToKeep will be the low water mark on contraction.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="21547">JAVA-423</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="58762">JAVA-710</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                            <subtask id="93899">JAVA-1008</subtask>
                            <subtask id="93900">JAVA-1009</subtask>
                    </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|hrhbqv:</customfieldvalue>

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