<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38: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>[CSHARP-1159] RunCommand should default to Primary ReadPreference</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1159</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Drivers in general are changing how ReadPreference is used with the generic RunCommand helper method. In particular:&lt;/p&gt;

&lt;p&gt;1. RunCommand should default to Primary (not the ReadPreference in the database settings)&lt;br/&gt;
2. RunCommand should have an overload allowing the user to specify a ReadPreference if desired&lt;/p&gt;

&lt;p&gt;This is slightly backward compatible in the sense that commands that might have been sent to a secondary before will now be sent to the primary (unless you change your code to explicitly specify a ReadPreference when calling RunCommand).&lt;/p&gt;</description>
                <environment></environment>
        <key id="177648">CSHARP-1159</key>
            <summary>RunCommand should default to Primary ReadPreference</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Jan 2015 17:59:21 +0000</created>
                <updated>Thu, 2 Apr 2015 18:06:11 +0000</updated>
                            <resolved>Mon, 12 Jan 2015 22:09:34 +0000</resolved>
                                                    <fixVersion>2.0</fixVersion>
                                    <component>Operations</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="802897" author="rstam" created="Mon, 12 Jan 2015 22:10:26 +0000"  >&lt;p&gt;We have only made this change for the 2.0 driver.&lt;/p&gt;

&lt;p&gt;In the 1.10 driver will RunCommand will remain unchanged.&lt;/p&gt;</comment>
                            <comment id="802894" author="xgen-internal-githook" created="Mon, 12 Jan 2015 22:09:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1159&quot; title=&quot;RunCommand should default to Primary ReadPreference&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1159&quot;&gt;&lt;del&gt;CSHARP-1159&lt;/del&gt;&lt;/a&gt;: Make the overload of RunCommandAs that takes a ReadPreference public.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/8f3f7e85bfa372b746e9ce3d7c866a0ffe92d566&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/8f3f7e85bfa372b746e9ce3d7c866a0ffe92d566&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="802893" author="xgen-internal-githook" created="Mon, 12 Jan 2015 22:09:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1159&quot; title=&quot;RunCommand should default to Primary ReadPreference&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1159&quot;&gt;&lt;del&gt;CSHARP-1159&lt;/del&gt;&lt;/a&gt;: RunCommand should default to Primary ReadPreference in legacy API also.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/d694141e3f146b08a6da2da5bb6f80a931afe0b0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/d694141e3f146b08a6da2da5bb6f80a931afe0b0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="802892" author="xgen-internal-githook" created="Mon, 12 Jan 2015 22:09:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1159&quot; title=&quot;RunCommand should default to Primary ReadPreference&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1159&quot;&gt;&lt;del&gt;CSHARP-1159&lt;/del&gt;&lt;/a&gt;: Remove enforcement of which commands can be sent to a secondary from Core.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/466986497e7eaf6c08bfa1d41ae3fb34ffdd69d9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/466986497e7eaf6c08bfa1d41ae3fb34ffdd69d9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="802891" author="xgen-internal-githook" created="Mon, 12 Jan 2015 22:09:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1159&quot; title=&quot;RunCommand should default to Primary ReadPreference&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1159&quot;&gt;&lt;del&gt;CSHARP-1159&lt;/del&gt;&lt;/a&gt;: RunCommand should default to Primary ReadPreference.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/a297d2c6e467a9707c41b013ca9d6b300689ab02&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/a297d2c6e467a9707c41b013ca9d6b300689ab02&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <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|hs5a5z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>155835</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="377">C# Sprint 14</customfieldvalue>

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