<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:57:54 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-2] Support for MongoDB URIs</title>
                <link>https://jira.mongodb.org/browse/CXX-2</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;The C++ driver does not accept connection strings that are URIs from &lt;a href=&quot;http://docs.mongodb.org/manual/reference/connection-string/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/connection-string/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We have configuration that is shared between apps that use the C++ driver and the C# driver. Because of this issue our work around would be to double-configure Mongo once for the C++ driver and once for everything else.&lt;/p&gt;

&lt;p&gt;Unfortunately, there seems to be no documentation on what the C&amp;#43;&amp;#43; driver currently accepts. A google of &quot;mongodb C++ driver connection string&quot; gives this stack overflow question &lt;a href=&quot;http://stackoverflow.com/questions/14629281/c-driver-mongodb-connection-options&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://stackoverflow.com/questions/14629281/c-driver-mongodb-connection-options&lt;/a&gt; that basically says it&apos;s undocumented.&lt;/p&gt;

&lt;p&gt;If MongoDB is not going to get the C++ driver up to snuff with the rest of the drivers, then please at least document how to translate from the URI syntax to something the C++ driver can understand.&lt;/p&gt;</description>
                <environment>C++ driver from 2.4.9 source (on Windows, though that shouldn&amp;#39;t matter for this item). The 2.5.4 source does not look to be any different.</environment>
        <key id="107205">CXX-2</key>
            <summary>Support for MongoDB URIs</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="9">Done</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="timothyb">Timothy Byrd</reporter>
                        <labels>
                            <label>C++</label>
                            <label>connection</label>
                            <label>driver</label>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Wed, 22 Jan 2014 21:36:33 +0000</created>
                <updated>Tue, 8 Jul 2014 15:26:01 +0000</updated>
                            <resolved>Thu, 3 Jul 2014 20:12:26 +0000</resolved>
                                                    <fixVersion>legacy-0.11.0</fixVersion>
                                    <component>API</component>
                    <component>Implementation</component>
                                        <votes>2</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="647940" author="xgen-internal-githook" created="Thu, 3 Jul 2014 20:10:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;acmorrow&apos;, u&apos;name&apos;: u&apos;Andrew Morrow&apos;, u&apos;email&apos;: u&apos;acm@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2&quot; title=&quot;Support for MongoDB URIs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2&quot;&gt;&lt;del&gt;CXX-2&lt;/del&gt;&lt;/a&gt; Implement support for connecting via mondodb:// URLs&lt;br/&gt;
Branch: legacy&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/82bca967c8ca8c5c33a6856420eefc4140c396cf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/82bca967c8ca8c5c33a6856420eefc4140c396cf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="647555" author="acm" created="Thu, 3 Jul 2014 16:04:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/115&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/115&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="576208" author="adrianb" created="Wed, 7 May 2014 23:11:26 +0000"  >&lt;p&gt;thanks andrew&lt;br/&gt;
is it a simple matter of string dicing and slicing &amp;#8211; from an older form to the newer form. or worse. &lt;br/&gt;
i found that c++ will not reconcile hostnames while python will reconcile the provided hostnames. thats using a replica set on azure. whatever the case, its sadly not possible to connect to a replica set for me. ive yet to try changing the hostnames to ip addresses in the rs.config. but the ips are dynamic and not static ones.&lt;/p&gt;</comment>
                            <comment id="530067" author="acm" created="Mon, 31 Mar 2014 22:17:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=adrianb&quot; class=&quot;user-hover&quot; rel=&quot;adrianb&quot;&gt;adrianb&lt;/a&gt; Yes I agree this is a very important issue to fix. It is currently slated for the legacy-0.9 release rather than the legacy-0.8 release because the legacy-0.8 release is focused on minimizing and stabilizing the driver in its new independent home, along with fixing critical issues related to being able to build a working driver library on various platforms and increasing test coverage. Without laying that groundwork, tackling new features and enhancements is a risky proposition.&lt;/p&gt;

&lt;p&gt;So we have triaged all enhancements and new features into legacy-0.9. But that does not mean that we think that those features or enhancements are unimportant. I expect that &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2&quot; title=&quot;Support for MongoDB URIs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2&quot;&gt;&lt;del&gt;CXX-2&lt;/del&gt;&lt;/a&gt; will be one of the earlier enhancements issued once legacy-0.8 ships.&lt;/p&gt;</comment>
                            <comment id="530021" author="adrianb" created="Mon, 31 Mar 2014 21:50:55 +0000"  >&lt;p&gt;in my opinion, this is a priority. i cannot connect to a replica set. i&apos;m forced to use solutions that ... have the impact of making mongo slow.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="133328">TOOLS-6</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="20751">CXX-272</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="131116">CXX-177</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="95719">CXX-252</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="135364">SERVER-13867</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hrgpvz:</customfieldvalue>

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