<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:01:02 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-993] autoreconnection feature</title>
                <link>https://jira.mongodb.org/browse/CXX-993</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;The legacy driver has feature in class mongo::DBClientConnection for autoreconnecting to server. It available via constructor parameter: mongo::DBClientConnection(bool _autoReconnect, ...).&lt;br/&gt;
This feature avaliable with the C++11 driver or not (mongocxx::client class hasn&apos;t a similar options)?&lt;br/&gt;
How I can realize this manually?&lt;/p&gt;</description>
                <environment>gcc-5.4, ubuntu 16_04 x64</environment>
        <key id="309561">CXX-993</key>
            <summary>autoreconnection feature</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="androndo">Andrey Kolkov</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Aug 2016 08:40:26 +0000</created>
                <updated>Wed, 11 Sep 2019 19:06:21 +0000</updated>
                            <resolved>Wed, 17 Aug 2016 13:42:57 +0000</resolved>
                                    <version>3.0.1</version>
                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1359479" author="david.golden" created="Wed, 17 Aug 2016 13:42:50 +0000"  >&lt;p&gt;Because the C++11 driver wraps libmongoc, this happens automatically, which is standard for all &quot;next generation&quot; drivers.  It will be more efficient using &lt;tt&gt;mongocxx::pool&lt;/tt&gt; to get your clients as that uses a background thread to monitor replica set status.&lt;/p&gt;

&lt;p&gt;You can read more about how and why in these articles:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://www.mongodb.com/blog/post/server-selection-next-generation-mongodb-drivers&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Server Selection in Next Generation MongoDB Drivers&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://www.mongodb.com/blog/post/server-discovery-and-monitoring-next-generation-mongodb-drivers&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Server Discovery and Monitoring in Next Generation MongoDB Drivers&lt;/a&gt;&lt;/li&gt;
&lt;/ul&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|hsosfz:</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>