<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:56: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>[JAVA-2227] DBCollection aggregate methods that take AggregationOptions fail to set slaveOk bit when read preference demands it</title>
                <link>https://jira.mongodb.org/browse/JAVA-2227</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The DBCollection aggregate method overloads that take AggregationOptions fail to set slaveOk bit when read preference demands it.  When connected to a replica set, this will result in a CommandFailureException with the error message &quot;not master&quot;.&lt;/p&gt;


</description>
                <environment></environment>
        <key id="294339">JAVA-2227</key>
            <summary>DBCollection aggregate methods that take AggregationOptions fail to set slaveOk bit when read preference demands it</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="9">Done</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                            <label>regression</label>
                    </labels>
                <created>Thu, 16 Jun 2016 03:36:17 +0000</created>
                <updated>Fri, 16 Feb 2018 08:55:59 +0000</updated>
                            <resolved>Fri, 17 Jun 2016 16:09:45 +0000</resolved>
                                    <version>2.14.0</version>
                                    <fixVersion>2.14.3</fixVersion>
                                    <component>Command Operations</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1807801" author="xgen-internal-githook" created="Fri, 16 Feb 2018 08:55:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2227&quot; title=&quot;DBCollection aggregate methods that take AggregationOptions fail to set slaveOk bit when read preference demands it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2227&quot;&gt;&lt;del&gt;JAVA-2227&lt;/del&gt;&lt;/a&gt;: Fix aggregateToSecondary test so that it works with any type of Mongo deployment.&lt;br/&gt;
Branch: 2.14.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/900c0de4bb9da57690af2d8533dc7ce31278defa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/900c0de4bb9da57690af2d8533dc7ce31278defa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1807800" author="xgen-internal-githook" created="Fri, 16 Feb 2018 08:55:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2227&quot; title=&quot;DBCollection aggregate methods that take AggregationOptions fail to set slaveOk bit when read preference demands it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2227&quot;&gt;&lt;del&gt;JAVA-2227&lt;/del&gt;&lt;/a&gt;: When using aggregate helper methods that take an AggregationOptions parameter, ensure that slaveOk bit is set for non-primary read preferences&lt;br/&gt;
Branch: 2.14.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b295d2a82eaabe20ce54b35485d3bba57ef35669&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b295d2a82eaabe20ce54b35485d3bba57ef35669&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1327120" author="jeff.yemin" created="Mon, 18 Jul 2016 16:14:29 +0000"  >&lt;p&gt;Released in 2.14.3&lt;/p&gt;</comment>
                            <comment id="1297941" author="xgen-internal-githook" created="Fri, 17 Jun 2016 15:39:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2227&quot; title=&quot;DBCollection aggregate methods that take AggregationOptions fail to set slaveOk bit when read preference demands it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2227&quot;&gt;&lt;del&gt;JAVA-2227&lt;/del&gt;&lt;/a&gt;: Fix aggregateToSecondary test so that it works with any type of Mongo deployment.&lt;br/&gt;
Branch: 2.14.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/900c0de4bb9da57690af2d8533dc7ce31278defa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/900c0de4bb9da57690af2d8533dc7ce31278defa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1297940" author="xgen-internal-githook" created="Fri, 17 Jun 2016 15:39:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2227&quot; title=&quot;DBCollection aggregate methods that take AggregationOptions fail to set slaveOk bit when read preference demands it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2227&quot;&gt;&lt;del&gt;JAVA-2227&lt;/del&gt;&lt;/a&gt;: When using aggregate helper methods that take an AggregationOptions parameter, ensure that slaveOk bit is set for non-primary read preferences&lt;br/&gt;
Branch: 2.14.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/b295d2a82eaabe20ce54b35485d3bba57ef35669&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b295d2a82eaabe20ce54b35485d3bba57ef35669&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1297912" author="xgen-internal-githook" created="Fri, 17 Jun 2016 15:24:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2227&quot; title=&quot;DBCollection aggregate methods that take AggregationOptions fail to set slaveOk bit when read preference demands it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2227&quot;&gt;&lt;del&gt;JAVA-2227&lt;/del&gt;&lt;/a&gt;: Fix aggregateToSecondary test so that it works with any type of Mongo deployment.&lt;br/&gt;
Branch: 2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/4e954ef95c0e8e35461f79065b32938c5bcd9f2b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/4e954ef95c0e8e35461f79065b32938c5bcd9f2b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1297731" author="xgen-internal-githook" created="Fri, 17 Jun 2016 12:56:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2227&quot; title=&quot;DBCollection aggregate methods that take AggregationOptions fail to set slaveOk bit when read preference demands it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2227&quot;&gt;&lt;del&gt;JAVA-2227&lt;/del&gt;&lt;/a&gt;: When using aggregate helper methods that take an AggregationOptions parameter, ensure that slaveOk bit is set for non-primary read preferences&lt;br/&gt;
Branch: 2.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/feae4a0522ba59c7cb4475ef0fbd1466e55f1ee7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/feae4a0522ba59c7cb4475ef0fbd1466e55f1ee7&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </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|hrdvhz:</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="1123">JVM Sprint 34</customfieldvalue>

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