<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:56 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-1170] How is the connection pooling managed within the latest driver version</title>
                <link>https://jira.mongodb.org/browse/JAVA-1170</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;How are connection pools segregated for the mongoClient. i.e. per server:port with authentication details ?&lt;/p&gt;</description>
                <environment></environment>
        <key id="131716">JAVA-1170</key>
            <summary>How is the connection pooling managed within the latest driver version</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="-1">Unassigned</assignee>
                                    <reporter username="mitcje">Jeff Mitchell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Apr 2014 13:16:37 +0000</created>
                <updated>Wed, 11 Sep 2019 19:11:56 +0000</updated>
                            <resolved>Thu, 17 Apr 2014 14:44:32 +0000</resolved>
                                    <version>2.12.0</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="553104" author="mitcje" created="Thu, 17 Apr 2014 14:32:04 +0000"  >&lt;p&gt;Jeff,&lt;/p&gt;

&lt;p&gt;Thanks this confirms the assumption that we have one pool per client and would use different clients for different connection reqs.&lt;/p&gt;

&lt;p&gt;This issue can be closed (I couldnt see any close option so I assume you guys close them!)&lt;/p&gt;

&lt;p&gt;Jeff.&lt;/p&gt;</comment>
                            <comment id="553093" author="jeff.yemin" created="Thu, 17 Apr 2014 14:23:37 +0000"  >&lt;p&gt;Hi Jeff,&lt;/p&gt;

&lt;p&gt;A MongoClient instance can represent either a direct connection to a single MongoDBServer, a connection to an entire replica set (discovering all the servers), or a connections to one or more mongos servers.&lt;/p&gt;

&lt;p&gt;The instance maintains a pool for each server:port that is is managing.  But the credentials are the same for all the connections.  If you want to communicate with MongoDB using different sets of credentials, create a new MongoClient for each set.&lt;/p&gt;

&lt;p&gt;There are a number of options in MongoClientsOptions that control the pool behavior.  They are pretty clearly indicated as such in the Javadoc.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Jeff&lt;/p&gt;</comment>
                            <comment id="553019" author="mitcje" created="Thu, 17 Apr 2014 13:19:22 +0000"  >&lt;p&gt;Am I correct in assuming that the client would create separate pools for different server:port:credentials? Or does one client support only one pool, so additional client instances would be required for talking to different servers or via different authenticated users ?&lt;/p&gt;

&lt;p&gt;Do any of the connection options affect how pooled connections are managed ?&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|hry3hb:</customfieldvalue>

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