<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:08 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-403] command.Encode doesn&apos;t set slaveOk flag</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-403</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;I create a new client with ConnString, set Connect: connstring.SingleConnect and ReadPreference: &quot;secondaryPreferred&quot;. The direct connection is working but all queries get the error &quot;(NotMasterNoSlaveOk) not master and slaveOk=false&quot;.&lt;/p&gt;

&lt;p&gt;command.Encode should set the slaveOk flag. What&apos;s missing to propagate the SingleConnect and secondaryPreferred preference to this point?&lt;/p&gt;</description>
                <environment></environment>
        <key id="538056">GODRIVER-403</key>
            <summary>command.Encode doesn&apos;t set slaveOk flag</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="kris.brandow@mongodb.com">Kristofer Brandow</assignee>
                                    <reporter username="sebastianbauer">Sebastian Bauer</reporter>
                        <labels>
                            <label>Stitch</label>
                            <label>charts</label>
                    </labels>
                <created>Wed, 2 May 2018 18:09:32 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:37 +0000</updated>
                            <resolved>Wed, 23 May 2018 16:14:24 +0000</resolved>
                                                    <fixVersion>0.0.6</fixVersion>
                                    <component>Wire Protocol</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1899684" author="xgen-internal-githook" created="Wed, 23 May 2018 16:14:10 +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: Enable reading from secondaries&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-403&quot; title=&quot;command.Encode doesn&amp;#39;t set slaveOk flag&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-403&quot;&gt;&lt;del&gt;GODRIVER-403&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-419&quot; title=&quot;Set the Kind when returning a topology.SelectedServer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-419&quot;&gt;&lt;del&gt;GODRIVER-419&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: Ib4edb546db7491300dccdf2a435420c323a4b09b&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/3e7fde5d9e1defd2ba03a27aa8b6cd257660253b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/3e7fde5d9e1defd2ba03a27aa8b6cd257660253b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1895518" author="kris.brandow" created="Fri, 18 May 2018 17:04:06 +0000"  >&lt;p&gt;Code Review: &lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/411752&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/411752&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="546354">GODRIVER-419</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|htlrif:</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>