<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:50 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>[GODRIVER-735] ListCollections does not use read preference primary</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-735</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;The &lt;tt&gt;ListCollections&lt;/tt&gt; database method passes through the database&apos;s read selector instead of constructing a new read selector for read preference primary.  (Compare to how &lt;tt&gt;ListDatabases&lt;/tt&gt; does it.)&lt;/p&gt;

&lt;p&gt;Because the constructed command adds read preference primary (despite possibly selecting a non-primary server), &lt;tt&gt;ListCollections&lt;/tt&gt; run on a database with secondary read preference will fail with an error: &quot;(NotMasterNoSlaveOk) not master and slaveOk=false&quot;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="659991">GODRIVER-735</key>
            <summary>ListCollections does not use read preference primary</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="13201">Fixed</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="david.golden@mongodb.com">David Golden</reporter>
                        <labels>
                    </labels>
                <created>Fri, 21 Dec 2018 15:52:30 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:13 +0000</updated>
                            <resolved>Sat, 5 Jan 2019 19:50:34 +0000</resolved>
                                    <version>0.1.0</version>
                                    <fixVersion>0.2.0</fixVersion>
                                    <component>Command &amp;amp; Dispatch</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2106475" author="xgen-internal-githook" created="Sat, 5 Jan 2019 19:49:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;divjotarora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;name&apos;: &apos;Divjot Arora&apos;}
&lt;p&gt;Message: Change ListCollections, ListIndexes, and ListDatabases to use CompositeSelector.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-735&quot; title=&quot;ListCollections does not use read preference primary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-735&quot;&gt;&lt;del&gt;GODRIVER-735&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: Ic9627f5faa8249a860620642989dc2d292d97cd8&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/48f45a6ba693b8c53a22818a804b53bfb776a436&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/48f45a6ba693b8c53a22818a804b53bfb776a436&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2100905" author="jeff.yemin" created="Thu, 27 Dec 2018 14:39:35 +0000"  >&lt;p&gt;Note: it should construct a &lt;tt&gt;CompositeSelector&lt;/tt&gt;, as RunCommand does, to include the &lt;tt&gt;LatencySelector&lt;/tt&gt;.  This is actually a bug in ListDatabases as well, since it also doesn&apos;t include the &lt;tt&gt;LatencySelector&lt;/tt&gt;. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="450201">TOOLS-1833</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|hty3cv:</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>