<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:10:41 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>[CDRIVER-807] Remove secondary-ok commands whitelist</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-807</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;With the new Server Selection Spec, there is no longer a list of &quot;secondary-ok&quot; commands, and commands not in that list, when executed with a non-&quot;primary&quot; read preference, are no longer silently routed to the primary. On the other hand, the read preference configured on the client, database, or collection object no longer applies to commands executed with a generic command helper:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.rst#use-of-read-preferences-with-commands&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.rst#use-of-read-preferences-with-commands&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.rst#general-command-method-going-to-primary&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.rst#general-command-method-going-to-primary&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Delete gSecondaryOkCommands:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/0aa9addfd7fb572b93e0723d6c32370721a18d05/src/mongoc/mongoc-cursor.c#L159&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/blob/0aa9addfd7fb572b93e0723d6c32370721a18d05/src/mongoc/mongoc-cursor.c#L159&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;... and review the functions mongoc_client_command, etc., for compliance with the spec.&lt;/p&gt;</description>
                <environment></environment>
        <key id="225825">CDRIVER-807</key>
            <summary>Remove secondary-ok commands whitelist</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Sat, 15 Aug 2015 02:05:06 +0000</created>
                <updated>Tue, 3 May 2016 23:10:39 +0000</updated>
                            <resolved>Thu, 8 Oct 2015 03:20:33 +0000</resolved>
                                                    <fixVersion>1.3.0-beta0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1254234" author="xgen-internal-githook" created="Tue, 3 May 2016 23:10:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-807&quot; title=&quot;Remove secondary-ok commands whitelist&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-807&quot;&gt;&lt;del&gt;CDRIVER-807&lt;/del&gt;&lt;/a&gt; docs for command funcs and read prefs&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7aefffbdad9cf9cdbc9283c64e5f8b9a1ae54bf8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7aefffbdad9cf9cdbc9283c64e5f8b9a1ae54bf8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1054871" author="xgen-internal-githook" created="Thu, 8 Oct 2015 02:40:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-807&quot; title=&quot;Remove secondary-ok commands whitelist&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-807&quot;&gt;&lt;del&gt;CDRIVER-807&lt;/del&gt;&lt;/a&gt; remove list of secondary-ok commands&lt;/p&gt;

&lt;p&gt;All commands now obey read preference.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/973c0f0e24266e2bda66312c1b128c05ea0c93c9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/973c0f0e24266e2bda66312c1b128c05ea0c93c9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1024542" author="jesse" created="Tue, 8 Sep 2015 21:19:24 +0000"  >&lt;p&gt;Update here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/1.2.0-beta1/src/mongoc/mongoc-cursor.c#L143&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/blob/1.2.0-beta1/src/mongoc/mongoc-cursor.c#L143&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;... and remove special-casing for aggregate with &quot;$out&quot; and mapreduce with &quot;out&quot;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="233020">CDRIVER-906</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="266939">CDRIVER-1127</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="267539">CDRIVER-1136</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="93080">CDRIVER-244</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="267838">CDRIVER-1137</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|hsck5b:</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="741">C Driver 2015Q2 sprint 8</customfieldvalue>

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