<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:19:53 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-29091] Stop putting $readPreference inside of $queryOptions in mongos</title>
                <link>https://jira.mongodb.org/browse/SERVER-29091</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Mongos currently wraps the $readPreference field inside of a $queryOptions object. Instead it should just put $readPreference at the top-level of the command, matching the format used by OP_MSG.&lt;/p&gt;</description>
                <environment></environment>
        <key id="381080">SERVER-29091</key>
            <summary>Stop putting $readPreference inside of $queryOptions in mongos</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="1" iconUrl="https://jira.mongodb.org/images/icons/statuses/open.png" description="">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-execution">Backlog - Query Execution</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                            <label>PM-315</label>
                    </labels>
                <created>Fri, 5 May 2017 15:03:21 +0000</created>
                <updated>Tue, 30 Jan 2024 15:22:26 +0000</updated>
                                                                            <component>Internal Code</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="5221841" author="david.storch" created="Wed, 22 Feb 2023 17:14:23 +0000"  >&lt;p&gt;I don&apos;t think I&apos;m going to get to this given my current queue of tickets. We could consider it as a quick win nomination, so I&apos;ll request it to be re-triaged.&lt;/p&gt;</comment>
                            <comment id="5051628" author="david.storch" created="Tue, 13 Dec 2022 16:40:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=brenda.rodriguez%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;brenda.rodriguez@mongodb.com&quot;&gt;brenda.rodriguez@mongodb.com&lt;/a&gt; I&apos;ve looked at this a bit already and it wasn&apos;t as simple I was hoping. However, I did complete related ticket &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59302&quot; title=&quot;Remove shell support for $query/query &amp;quot;wrapped&amp;quot; commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59302&quot;&gt;&lt;del&gt;SERVER-59302&lt;/del&gt;&lt;/a&gt;, which might make this a bit easier. I&apos;m going to bump this ahead a few sprints. At some point when I get time I&apos;d like to have another look at this to see if there&apos;s something relatively easy that I can do to at least move in the direction of eliminating &lt;tt&gt;$queryOptions&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="5049138" author="JIRAUSER1269325" created="Mon, 12 Dec 2022 21:17:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.storch%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;david.storch@mongodb.com&quot;&gt;david.storch@mongodb.com&lt;/a&gt; are you still planning to do this during this sprint? &lt;/p&gt;</comment>
                            <comment id="4987114" author="david.storch" created="Wed, 16 Nov 2022 16:29:45 +0000"  >&lt;p&gt;I looked into this a bit and found that there are still quite a few uses of &quot;$queryOptions&quot; in the code base. It also looks like we might be sending &quot;$queryOptions&quot; over the wire between nodes in a few cases which, if true, would require the work to be staged across multiple LTS releases. I also concluded that it is in fact easier to do &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59302&quot; title=&quot;Remove shell support for $query/query &amp;quot;wrapped&amp;quot; commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59302&quot;&gt;&lt;del&gt;SERVER-59302&lt;/del&gt;&lt;/a&gt;&#160;before this ticket as opposed to the other way around. I am pausing work on this ticket at least until &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59302&quot; title=&quot;Remove shell support for $query/query &amp;quot;wrapped&amp;quot; commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59302&quot;&gt;&lt;del&gt;SERVER-59302&lt;/del&gt;&lt;/a&gt; is resolved.&lt;/p&gt;</comment>
                            <comment id="4908156" author="david.storch" created="Mon, 17 Oct 2022 19:52:21 +0000"  >&lt;p&gt;I think this should be a lot easier to do now that the OP_QUERY wire protocol message is no longer supported. I&apos;m also wondering if doing this will make &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-59302&quot; title=&quot;Remove shell support for $query/query &amp;quot;wrapped&amp;quot; commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-59302&quot;&gt;&lt;del&gt;SERVER-59302&lt;/del&gt;&lt;/a&gt; easier to do.&lt;/p&gt;</comment>
                            <comment id="1882448" author="redbeard0531" created="Thu, 3 May 2018 22:33:28 +0000"  >&lt;ol&gt;
	&lt;li&gt;Grep the codebase for &lt;tt&gt;$queryOptions&lt;/tt&gt;&#160;(or &lt;tt&gt;\$queryOptions&lt;/tt&gt; depending on your tool of choice)&lt;/li&gt;
	&lt;li&gt;Remove all uses (down to 29 at the moment, mostly in query and agg)&lt;/li&gt;
	&lt;li&gt;Fix everything that breaks
	&lt;ol&gt;
		&lt;li&gt;One particular problem is code that appends &lt;tt&gt;$readPreference&lt;/tt&gt; twice. That will get caught quickly in &lt;tt&gt;--dbg=on&lt;/tt&gt; builds.&lt;/li&gt;
		&lt;li&gt;Tests using &lt;tt&gt;$queryOptions&lt;/tt&gt;&#160;should be migrated to just put &lt;tt&gt;$readPreference&lt;/tt&gt; as a top-level command argument. This isn&apos;t a supported format we are supposed to see on the wire, so we don&apos;t need tests to make sure it works. Most of the tests still using it are doing so because it is testing code that expects that format.&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="1724163" author="greg.mckeon" created="Mon, 13 Nov 2017 17:03:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=redbeard0531&quot; class=&quot;user-hover&quot; rel=&quot;redbeard0531&quot;&gt;redbeard0531&lt;/a&gt; can you clarify what needs to be done here?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1849368">SERVER-59302</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25125"><![CDATA[Query Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 13 Nov 2017 17:03:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        50 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-3574</customfieldvalue>
                        </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>ana.meza@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            50 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-query-execution</customfieldvalue>
            <customfieldvalue>brenda.rodriguez@mongodb.com</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht709r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2g8s:</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="5930">QE 2023-02-06</customfieldvalue>
    <customfieldvalue id="5932">QE 2023-02-20</customfieldvalue>
    <customfieldvalue id="7241">QE 2023-07-24</customfieldvalue>
    <customfieldvalue id="7243">QE 2023-08-07</customfieldvalue>
    <customfieldvalue id="7246">QE 2023-08-21</customfieldvalue>
    <customfieldvalue id="7248">QE 2023-09-04</customfieldvalue>

                        </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|hrizhr:</customfieldvalue>

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