<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:59:59 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>[CXX-688] how to use connection pool in 1.0.0+</title>
                <link>https://jira.mongodb.org/browse/CXX-688</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;We were using 2.6compact bcanch in the last one year. Now we are goting to move to the current l.0.0+legacy branch to get a full support for mongo 3.0.&lt;br/&gt;
howerver, we find that there is no connpool.h file in 1.0.0+branch and no DBConnectionPool class. &lt;/p&gt;

&lt;p&gt;If we directly use instance from DBClientReplicaSet or its parent classes with pointer, the connection can&apos;t be released in time event we destroy the pointer, so that if we create tens of thousands of instances, we will catch socket limit exception. That&apos;s why we use DBConnectionPool, connection can be reused, and we can also call done() method  to explictily release connection.&lt;/p&gt;</description>
                <environment></environment>
        <key id="232124">CXX-688</key>
            <summary>how to use connection pool in 1.0.0+</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="yanbo8502">yanbo</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Wed, 30 Sep 2015 08:17:04 +0000</created>
                <updated>Wed, 11 Sep 2019 19:05:43 +0000</updated>
                            <resolved>Fri, 16 Oct 2015 15:31:39 +0000</resolved>
                                    <version>legacy-1.0.5</version>
                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1062912" author="acm" created="Fri, 16 Oct 2015 15:31:39 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yanbo8502&quot; class=&quot;user-hover&quot; rel=&quot;yanbo8502&quot;&gt;yanbo8502&lt;/a&gt; - Since I&apos;ve not heard back from you, I&apos;m closing this as Wont Fix. Please feel free to re-open the ticket if you have further questions, or reach out on the mongodb user group.&lt;/p&gt;</comment>
                            <comment id="1047624" author="acm" created="Wed, 30 Sep 2015 16:47:19 +0000"  >&lt;p&gt;Please see this thread for a detailed discussion of the pool removal: &lt;a href=&quot;https://groups.google.com/forum/#!topic/mongodb-dev/3JNWMb1xeZA&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/forum/#!topic/mongodb-dev/3JNWMb1xeZA&lt;/a&gt;, which in turn links to several other discussions. At this time we have no plans to re-introduce a pool in the legacy C++ driver. Our recommendation is that applications that require pooling should implement application specific pooling appropriate to local needs.&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|hre4r3:</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>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="722">Platform B (10/30/15)</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>