<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:24:22 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>[DRIVERS-1955] CRUD spec for $out/$merge on secondaries should consider load balancers</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-1955</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;The specification says:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If a pre-5.0 mongos or a load balancer backing a pre-5.0 mongos is selected, the effective read preference is {&#8220;mode&#8221;: &#8220;primary&#8221; }``.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The problem is that for a load balancer, drivers don&#8217;t do SDAM so they don&#8217;t have a wire version during server selection to compare against.&lt;/p&gt;

&lt;p&gt;It would be reasonable to assume load balancers are only backing 5.0+ servers, and specify that behavior in the CRUD spec.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1901237">DRIVERS-1955</key>
            <summary>CRUD spec for $out/$merge on secondaries should consider load balancers</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Oct 2021 18:27:28 +0000</created>
                <updated>Wed, 12 Jan 2022 22:08:15 +0000</updated>
                            <resolved>Mon, 10 Jan 2022 20:19:45 +0000</resolved>
                                                        <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4289597" author="jeff.yemin" created="Wed, 12 Jan 2022 22:08:15 +0000"  >&lt;p&gt;Agreed, thanks for taking care of it.&lt;/p&gt;</comment>
                            <comment id="4283374" author="jmikola@gmail.com" created="Mon, 10 Jan 2022 16:25:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jeff.yemin&quot; class=&quot;user-hover&quot; rel=&quot;jeff.yemin&quot;&gt;jeff.yemin&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#read-preferences-and-server-selection&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Read preferences and server selection&lt;/a&gt; currently states:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Otherwise, if there are either no available servers, all available servers are 5.0+ (i.e. wire version &amp;gt;= 13), or the topology type is LoadBalanced (we can assume the backing mongos is 5.0+), drivers MUST use the available read preference.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;That text was introduced in &lt;a href=&quot;https://github.com/mongodb/specifications/commit/747b7480c47900827ff2b64f23c2a14636803d1a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;747b748&lt;/a&gt; for &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1969&quot; title=&quot;Ignore read preference for $out/$merge on secondaries if any servers are pre-5.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1969&quot;&gt;&lt;del&gt;DRIVERS-1969&lt;/del&gt;&lt;/a&gt; and committed a short while after this issue was filed. If you agree that it addresses your original issue, can you resolve this accordingly?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1913549">DRIVERS-1969</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzpvbz:</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>