<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:02:12 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>[DOCS-11163] Mistaken requirement that all remove ops in a sharded collection must include shard key</title>
                <link>https://jira.mongodb.org/browse/DOCS-11163</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;In the &lt;a href=&quot;https://docs.mongodb.com/v3.0/reference/method/db.collection.remove/#sharded-collections&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;3.0 docs&lt;/a&gt;, it says:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;All remove() operations for a sharded collection that specify the justOne option must include the shard key or the _id field in the query specification. remove() operations specifying justOne in a sharded collection without the shard key or the _id field return an error.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;From &lt;a href=&quot;https://docs.mongodb.com/v3.2/reference/method/db.collection.remove/#sharded-collections&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;3.2 onwards&lt;/a&gt;, the &quot;justOne&quot; qualifier is omitted:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;All remove() operations for a sharded collection must include the shard key or the _id field in the query specification. remove() operations without the shard key or the _id field return an error.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;However, versions 3.2+ work the same as 3.0 &amp;#8211; a shard key/_id is required only if justOne is true.&lt;/p&gt;</description>
                <environment></environment>
        <key id="477382">DOCS-11163</key>
            <summary>Mistaken requirement that all remove ops in a sharded collection must include shard key</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="jeffrey.allen@mongodb.com">Jeffrey Allen</assignee>
                                    <reporter username="eric.sommer@mongodb.com">Eric Sommer</reporter>
                        <labels>
                    </labels>
                <created>Sun, 31 Dec 2017 15:50:29 +0000</created>
                <updated>Mon, 30 Oct 2023 21:03:09 +0000</updated>
                            <resolved>Tue, 13 Feb 2018 15:11:52 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1817910" author="xgen-internal-githook" created="Tue, 27 Feb 2018 23:31:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeffrey.allen@10gen.com&apos;, &apos;name&apos;: &apos;jeff-allen-mongo&apos;, &apos;username&apos;: &apos;jeff-allen-mongo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-11163&quot; title=&quot;Mistaken requirement that all remove ops in a sharded collection must include shard key&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-11163&quot;&gt;&lt;del&gt;DOCS-11163&lt;/del&gt;&lt;/a&gt; - Fixing note about sharded collections for remove ops&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/e0dbee9b2308806e9d587192034b2417163cb61c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/e0dbee9b2308806e9d587192034b2417163cb61c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1817909" author="xgen-internal-githook" created="Tue, 27 Feb 2018 23:30:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeffrey.allen@10gen.com&apos;, &apos;name&apos;: &apos;jeff-allen-mongo&apos;, &apos;username&apos;: &apos;jeff-allen-mongo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-11163&quot; title=&quot;Mistaken requirement that all remove ops in a sharded collection must include shard key&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-11163&quot;&gt;&lt;del&gt;DOCS-11163&lt;/del&gt;&lt;/a&gt; - Fixing note about sharded collections for remove ops&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/03f592fef07a7d73dee9ac4849256660babed16b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/03f592fef07a7d73dee9ac4849256660babed16b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1817908" author="xgen-internal-githook" created="Tue, 27 Feb 2018 23:30:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeffrey.allen@10gen.com&apos;, &apos;name&apos;: &apos;jeff-allen-mongo&apos;, &apos;username&apos;: &apos;jeff-allen-mongo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-11163&quot; title=&quot;Mistaken requirement that all remove ops in a sharded collection must include shard key&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-11163&quot;&gt;&lt;del&gt;DOCS-11163&lt;/del&gt;&lt;/a&gt; - Fixing note about sharded collections for remove ops&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/44934035fd5212926970c65fcfe1de6432558dff&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/44934035fd5212926970c65fcfe1de6432558dff&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1804214" author="jeffrey.allen" created="Tue, 13 Feb 2018 15:11:48 +0000"  >&lt;p&gt;This is RFM: &lt;a href=&quot;https://github.com/mongodb/docs/pull/3229&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/pull/3229&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1763315" author="allison.moore@10gen.com" created="Tue, 2 Jan 2018 20:41:25 +0000"  >&lt;p&gt;Todo: Verify that shard key or _id are required only if &lt;tt&gt;justOne&lt;/tt&gt; is true, and tweak note accordingly.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 2 Jan 2018 20:41:25 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 50 weeks, 1 day 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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 50 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>allison.moore@mongodb.com</customfieldvalue>
            <customfieldvalue>eric.sommer@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jeffrey.allen@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htn3cn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htenl3:</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_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htmph3:</customfieldvalue>

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