<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:33:39 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-157] Add read preference option to db.RunCommand</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-157</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;In reference to db.RunCommand, &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;the server selection spec says&lt;/a&gt; &quot;The generic command method SHOULD allow an optional read preference argument&quot;. However, we opted not to provide read preference as an option for other operations in favor of having users set them directly on Client/Database/Collection. We should decide whether to break consistency with the other operations in order to more closely follow the specification, and if so, implement it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="471867">GODRIVER-157</key>
            <summary>Add read preference option to db.RunCommand</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="13201">Fixed</resolution>
                                        <assignee username="roland.fong">Roland Fong</assignee>
                                    <reporter username="sam.rossi@mongodb.com">Samuel Rossi</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Dec 2017 22:08:27 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:52 +0000</updated>
                            <resolved>Fri, 29 Jun 2018 18:20:54 +0000</resolved>
                                                    <fixVersion>0.0.9</fixVersion>
                                    <component>Administrative Commands</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1935177" author="xgen-internal-githook" created="Fri, 29 Jun 2018 18:11:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;skriptble&apos;, &apos;name&apos;: &apos;Kris Brandow&apos;, &apos;email&apos;: &apos;kris@mongodb.com&apos;}
&lt;p&gt;Message: Merge branch &apos;pr/74&apos;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-157&quot; title=&quot;Add read preference option to db.RunCommand&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-157&quot;&gt;&lt;del&gt;GODRIVER-157&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-272&quot; title=&quot;Implement redesigned options for the Collection methods&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-272&quot;&gt;&lt;del&gt;GODRIVER-272&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-335&quot; title=&quot;Split options.OptProjection into OptFields and OptProjection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-335&quot;&gt;&lt;del&gt;GODRIVER-335&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-356&quot; title=&quot;Add ability to create Database and Collection instances with a read preference&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-356&quot;&gt;&lt;del&gt;GODRIVER-356&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-350&quot; title=&quot;Change OptWriteConcern to directly wrap a writeconcern.WriteConcern&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-350&quot;&gt;&lt;del&gt;GODRIVER-350&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-450&quot; title=&quot;Combine options that are singular entities&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-450&quot;&gt;&lt;del&gt;GODRIVER-450&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: I713dc0fba4bbdee2445349262ea653d101e1299c&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/5fea1444e52844a15513c0d9490327b2bd89ed7c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/5fea1444e52844a15513c0d9490327b2bd89ed7c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1788938" author="david.golden" created="Tue, 30 Jan 2018 14:13:59 +0000"  >&lt;p&gt;I think we should do it for RunCommand.  I don&apos;t have a strong feeling about doing it per-operation everywhere.&lt;/p&gt;

&lt;p&gt;I have a hunch it might work out well given that we have causal consistency &amp;#8211; it&apos;s more reasonable that people might choose to read (consistently) from secondaries and not making them create a new collection object to do so would be a convenience.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="556439">GODRIVER-455</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-415</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr8m4f:</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>