<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:42:11 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-1901] note that users do not need to compute hash values for hashed shard key values.</title>
                <link>https://jira.mongodb.org/browse/DOCS-1901</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;This entry in the manual: &lt;a href=&quot;http://docs.mongodb.org/manual/reference/command/findAndModify/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/command/findAndModify/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;at the end says &quot;Warning When using findAndModify in a sharded environment, the query must contain the shard key for all operations against the shard cluster. findAndModify operations issued against mongos instances for non-sharded collections function normally.&quot;&lt;/p&gt;

&lt;p&gt;We could specify that when using a hashed index simply specify the _id value, and/or we could modify this page: &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/create-a-hashed-index/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/tutorial/create-a-hashed-index/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Unsure if other pages may need to be updated.&lt;/p&gt;</description>
                <environment></environment>
        <key id="89107">DOCS-1901</key>
            <summary>note that users do not need to compute hash values for hashed shard key values.</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="9">Done</resolution>
                                        <assignee username="bgrabar">Bob Grabar</assignee>
                                    <reporter username="kelly.stirman">Kelly Stirman</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Sep 2013 21:30:46 +0000</created>
                <updated>Wed, 11 Jan 2017 22:39:50 +0000</updated>
                            <resolved>Tue, 17 Sep 2013 20:31:08 +0000</resolved>
                                                    <fixVersion>01112017-cleanup</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="427486" author="auto" created="Tue, 17 Sep 2013 22:11:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bgrabar&apos;, u&apos;name&apos;: u&apos;Bob Grabar&apos;, u&apos;email&apos;: u&apos;bob.grabar@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1901&quot; title=&quot;note that users do not need to compute hash values for hashed shard key values.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1901&quot;&gt;&lt;del&gt;DOCS-1901&lt;/del&gt;&lt;/a&gt; users need not compute hash values for hashed shard key&lt;/p&gt;

&lt;p&gt;Signed-off-by: Sam Kleinman &amp;lt;samk@10gen.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/c7b095de30a455d8b4f8b875299392f40f1a5608&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/c7b095de30a455d8b4f8b875299392f40f1a5608&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="427401" author="bgrabar" created="Tue, 17 Sep 2013 20:31:09 +0000"  >&lt;p&gt;Viewable in github:&lt;br/&gt;
&lt;a href=&quot;https://github.com/bgrabar/docs-mongodb/commit/e436ba6db75d5a226044c523209eeb4bfb7fa182&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/bgrabar/docs-mongodb/commit/e436ba6db75d5a226044c523209eeb4bfb7fa182&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="421274" author="samk" created="Mon, 9 Sep 2013 21:55:16 +0000"  >&lt;p&gt;actionable: add note to the hashed sharding section that mongodb automatically hashes the shard key, and applications do not need to hash keys before issuing read or write oeprations to the server.&lt;/p&gt;</comment>
                            <comment id="421271" author="kelly.stirman@10gen.com" created="Mon, 9 Sep 2013 21:52:29 +0000"  >&lt;p&gt;Agree that _id is irrelevant, my mistake.&lt;/p&gt;

&lt;p&gt;Still, a user could be confused to think they need to hash the shard key for findAndModify when using a hashed shard key. See &lt;a href=&quot;https://groups.google.com/d/msg/mongodb-masters/lrSE6q8NGuM/t5zpE-OOH30J&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/d/msg/mongodb-masters/lrSE6q8NGuM/t5zpE-OOH30J&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="421253" author="samk" created="Mon, 9 Sep 2013 21:35:11 +0000"  >&lt;p&gt;The _id field is not necessarily related to the hashed shard key, which might be of any field in the document.&lt;/p&gt;</comment>
                            <comment id="421251" author="scotthernandez" created="Mon, 9 Sep 2013 21:33:43 +0000"  >&lt;p&gt;A shard key is a shard key. We should not say anything unless there is something special to say and in this case there isn&apos;t.&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 9 Sep 2013 21:33:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 22 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 22 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>bgrabar</customfieldvalue>
            <customfieldvalue>kelly.stirman</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrrpfz:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>34159</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|hrych3:</customfieldvalue>

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