<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:58: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>[CXX-345] Use listCollections command for helper method</title>
                <link>https://jira.mongodb.org/browse/CXX-345</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description></description>
                <environment></environment>
        <key id="158915">CXX-345</key>
            <summary>Use listCollections command for helper method</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="adam.midvidy">Adam Midvidy</assignee>
                                    <reporter username="barrie">Barrie Segal</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Thu, 18 Sep 2014 15:27:15 +0000</created>
                <updated>Thu, 23 Oct 2014 18:31:38 +0000</updated>
                            <resolved>Tue, 7 Oct 2014 14:42:51 +0000</resolved>
                                                    <fixVersion>legacy-1.0.0-rc1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="735524" author="adam.midvidy" created="Tue, 7 Oct 2014 14:42:43 +0000"  >&lt;p&gt;Since listCollections is not in the _secOkCmdList, we will automatically route it to the primary, regardless of default read preference. As such, I think we are in compliance with the spec and there is no further work to be done.&lt;/p&gt;</comment>
                            <comment id="729670" author="adam.midvidy" created="Mon, 29 Sep 2014 17:59:26 +0000"  >&lt;p&gt;I think our implementation of filtering needs work (possibly needs to be done on the server as well)&lt;/p&gt;

&lt;p&gt;Due to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14951&quot; title=&quot;DBClientWithCommands::getCollectionInfos fails against mongodb &amp;lt; 2.7&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14951&quot;&gt;&lt;del&gt;SERVER-14951&lt;/del&gt;&lt;/a&gt;, we need to namespace-qualify any filters on the collection name with the name of the db in the fallback path for old servers.&lt;/p&gt;

&lt;p&gt;While this is sufficient for a simple equality filter (e.g.) &lt;/p&gt;
{name: &quot;mycollection&quot;}
&lt;p&gt; -&amp;gt; &lt;/p&gt;
{name: &quot;mydb.mycollection&quot;}
&lt;p&gt;it won&apos;t work with e.g. regular expressions (e.g) &lt;/p&gt;
{name: /cool/ }
&lt;p&gt; should become &lt;/p&gt;
{name: /^mydb\..*cool/}
&lt;p&gt; ?&lt;/p&gt;

&lt;p&gt;This seems difficult to solve in the general case, however. We might just want to restrict filters on collection name to simple equality.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="155192">DRIVERS-179</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hs2c3z:</customfieldvalue>

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