<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:23:38 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>[SERVER-30384] Query tests should not expect a particular sort order without requesting one explicitly</title>
                <link>https://jira.mongodb.org/browse/SERVER-30384</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Some tests are non deterministic when used with readPreference secondary with causally_consistent_jscore_passthrough suite.&lt;br/&gt;
Order:  the tests below assume that values are ordered&lt;br/&gt;
jstest/core/distinct1.js &lt;br/&gt;
jstest/core/group1.js&lt;br/&gt;
jstest/core/find1.js&lt;br/&gt;
jstest/core/find4.js&lt;br/&gt;
jstest/core/find5.js&lt;br/&gt;
jstest/core/fts1.js&lt;br/&gt;
jstest/core/geo_distinct.js&lt;br/&gt;
jstest/core/geo_s2ordering.js&lt;br/&gt;
jstest/core/sort3.js&lt;br/&gt;
jstest/core/sort4.js&lt;br/&gt;
jstest/core/nan.js&lt;br/&gt;
jstest/core/not2.js &lt;br/&gt;
jstest/core/elemMatchProjection.js&lt;br/&gt;
jstest/core/find_dedup.js&lt;br/&gt;
jstest/core/snapshot_queries.js&lt;br/&gt;
jstest/core/snapshot_queries.js&lt;br/&gt;
jstest/core/maxscan.js&lt;br/&gt;
jstest/core/group2.js&lt;/p&gt;

&lt;p&gt;DDL&lt;br/&gt;
jstest/core/sorta.js - assumes that ensudeIndex is available on secondary&lt;br/&gt;
jstest/core/fts_spanish.js - assumes that ensudeIndex is available on secondary&lt;br/&gt;
jstest/core/ord.js - assumes that dropIndex will invalidate cursor that is running on secondary&lt;/p&gt;</description>
                <environment></environment>
        <key id="409431">SERVER-30384</key>
            <summary>Query tests should not expect a particular sort order without requesting one explicitly</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="13201">Fixed</resolution>
                                        <assignee username="kyle.suarez@mongodb.com">Kyle Suarez</assignee>
                                    <reporter username="misha.tyulenev@mongodb.com">Misha Tyulenev</reporter>
                        <labels>
                            <label>neweng</label>
                            <label>todo_in_code</label>
                    </labels>
                <created>Thu, 27 Jul 2017 23:23:43 +0000</created>
                <updated>Mon, 30 Oct 2023 23:14:49 +0000</updated>
                            <resolved>Tue, 28 Nov 2017 16:59:33 +0000</resolved>
                                                    <fixVersion>3.6.0-rc7</fixVersion>
                    <fixVersion>3.7.1</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1737406" author="xgen-internal-githook" created="Wed, 29 Nov 2017 16:09:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kyle Suarez&apos;, &apos;username&apos;: &apos;ksuarz&apos;, &apos;email&apos;: &apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30384&quot; title=&quot;Query tests should not expect a particular sort order without requesting one explicitly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30384&quot;&gt;&lt;del&gt;SERVER-30384&lt;/del&gt;&lt;/a&gt; unblacklist tests from causally consistent jscore passthroughs&lt;/p&gt;

&lt;p&gt;Refactors more tests that should be allowed to run in the causally&lt;br/&gt;
consistent passthroughs.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 92d366961e353f2552069091a3ae686db4e6c8eb)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/03f043b5ce4d29f498afffaa19e17fedb59fc20f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/03f043b5ce4d29f498afffaa19e17fedb59fc20f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1737405" author="xgen-internal-githook" created="Wed, 29 Nov 2017 16:09:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kyle Suarez&apos;, &apos;username&apos;: &apos;ksuarz&apos;, &apos;email&apos;: &apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30384&quot; title=&quot;Query tests should not expect a particular sort order without requesting one explicitly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30384&quot;&gt;&lt;del&gt;SERVER-30384&lt;/del&gt;&lt;/a&gt; tests should specify a sort when expecting an ordering for a query&lt;/p&gt;

&lt;p&gt;This refactors several tests in core to not rely on an implicit sort&lt;br/&gt;
order, which allows them to be unblacklisted from the causally&lt;br/&gt;
consistent jscore passthroughs.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 969ddd3d921cd8e6c5ab3068fdb77cb2dc271ed5)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fc8bff9cb031088e96cf8691b798e8d0a1be0207&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fc8bff9cb031088e96cf8691b798e8d0a1be0207&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1736215" author="xgen-internal-githook" created="Tue, 28 Nov 2017 16:58:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kyle Suarez&apos;, &apos;username&apos;: &apos;ksuarz&apos;, &apos;email&apos;: &apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30384&quot; title=&quot;Query tests should not expect a particular sort order without requesting one explicitly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30384&quot;&gt;&lt;del&gt;SERVER-30384&lt;/del&gt;&lt;/a&gt; unblacklist tests from causally consistent jscore passthroughs&lt;/p&gt;

&lt;p&gt;Refactors more tests that should be allowed to run in the causally&lt;br/&gt;
consistent passthroughs.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/92d366961e353f2552069091a3ae686db4e6c8eb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/92d366961e353f2552069091a3ae686db4e6c8eb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1732989" author="xgen-internal-githook" created="Wed, 22 Nov 2017 16:36:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kyle Suarez&apos;, &apos;username&apos;: &apos;ksuarz&apos;, &apos;email&apos;: &apos;kyle.suarez@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30384&quot; title=&quot;Query tests should not expect a particular sort order without requesting one explicitly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30384&quot;&gt;&lt;del&gt;SERVER-30384&lt;/del&gt;&lt;/a&gt; tests should specify a sort when expecting an ordering for a query&lt;/p&gt;

&lt;p&gt;This refactors several tests in core to not rely on an implicit sort&lt;br/&gt;
order, which allows them to be unblacklisted from the causally&lt;br/&gt;
consistent jscore passthroughs.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/969ddd3d921cd8e6c5ab3068fdb77cb2dc271ed5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/969ddd3d921cd8e6c5ab3068fdb77cb2dc271ed5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1727816" author="kyle.suarez" created="Thu, 16 Nov 2017 16:50:32 +0000"  >&lt;p&gt;find1.js and snapshot_queries.js both use the deprecated cursor $snapshot option, which is incompatible with a sort order. I propose we simply keep these tests around and continue to blacklist them from the causally_consistent_jscore_passthrough suite. I assume that they&apos;ll be deleted when $snapshot is removed completely.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=misha.tyulenev&quot; class=&quot;user-hover&quot; rel=&quot;misha.tyulenev&quot;&gt;misha.tyulenev&lt;/a&gt;, does that approach sound okay?&lt;/p&gt;</comment>
                            <comment id="1671214" author="david.storch" created="Tue, 12 Sep 2017 20:52:57 +0000"  >&lt;p&gt;There are a number of tests which expect query results to be ordered. These tests &lt;em&gt;happen&lt;/em&gt; to work when the reads are issued against the primary, because the storage engine happens to return documents in the order in which they were inserted. They fail, however, in our causally consistent passthrough configurations. This is because the implementation details of how the data is synced to the secondary can cause the results to be returned in a different order when the read targets the secondary. This is a perfect example of why applications and tests should never expect a particular ordering of query results without asking for one explicitly.&lt;/p&gt;</comment>
                            <comment id="1670397" author="ian@10gen.com" created="Tue, 12 Sep 2017 14:51:21 +0000"  >&lt;p&gt;Dave to talk with Misha about this along with a few of the other tickets representing fallout from causal consistency.&lt;/p&gt;</comment>
                            <comment id="1654359" author="misha.tyulenev" created="Tue, 22 Aug 2017 20:58:06 +0000"  >&lt;p&gt;Once/if tests are updated they can be unblocked in causally_consistent_jscore_passthrough,  causally_consistent_jscore_passthrough_auth, and  sharded_causally_consistent_jscore_passthrough.&lt;/p&gt;</comment>
                            <comment id="1654357" author="misha.tyulenev" created="Tue, 22 Aug 2017 20:56:16 +0000"  >&lt;p&gt;Passing to the query team as its mostly query related test cases.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="978511">SERVER-44215</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12451" key="com.atlassian.jira.plugin.system.customfieldtypes:multiversion">
                        <customfieldname>Backport Completed</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="19405">3.6.0-rc7</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 12 Sep 2017 14:51:21 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 11 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 11 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>kyle.suarez@mongodb.com</customfieldvalue>
            <customfieldvalue>misha.tyulenev@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htbtsn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9c4v:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1979">Query 2017-12-04</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htbfvb:</customfieldvalue>

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