<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:19:15 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-49214] Add $toHashedIndexKey expression</title>
                <link>https://jira.mongodb.org/browse/SERVER-49214</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Syntax:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{ $toHashedIndexKey: &amp;lt;input&amp;gt;}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;Add a new aggregation expression that computes the hash of the input expression using the&#160;hash function used to create a hashed index. The expression&apos;s evaluate method should pass each element of the input parameter to BSONElementHasher::hash64 with seed DEFAULT_HASH_SEED.&#160;If the input expression evaluates to null or missing, still hash this value to mimic MongoDB indexing behavior.&lt;/p&gt;

&lt;p&gt;&#160;This will be used as a part of determining new initial split points when resharding a collection.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1396326">SERVER-49214</key>
            <summary>Add $toHashedIndexKey expression</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="kshitij.gupta@mongodb.com">Kshitij Gupta</assignee>
                                    <reporter username="janna.golden@mongodb.com">Janna Golden</reporter>
                        <labels>
                            <label>PM-234-M2</label>
                            <label>PM-234-T-data-clone</label>
                            <label>PM-234-T-new-split</label>
                    </labels>
                <created>Tue, 30 Jun 2020 21:26:52 +0000</created>
                <updated>Mon, 29 Jan 2024 13:31:55 +0000</updated>
                            <resolved>Mon, 3 Aug 2020 16:50:09 +0000</resolved>
                                                    <fixVersion>4.7.0</fixVersion>
                    <fixVersion>4.4.10</fixVersion>
                    <fixVersion>4.2.24</fixVersion>
                                    <component>Aggregation Framework</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="5135971" author="xgen-internal-githook" created="Tue, 24 Jan 2023 14:27:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kshitij Gupta&apos;, &apos;email&apos;: &apos;kshitij.gupta@mongodb.com&apos;, &apos;username&apos;: &apos;kshitijng&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49214&quot; title=&quot;Add $toHashedIndexKey expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49214&quot;&gt;&lt;del&gt;SERVER-49214&lt;/del&gt;&lt;/a&gt;: Add $toHashedIndexKey expression.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d57e17494ceade881013e2e99606cc92d4a38605)&lt;br/&gt;
(cherry picked from commit 3f3f5cc03a6587f9d0cfc3bdcb3f8aa13fe2356c)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/23973e8051d03576f83adf10b0f39c711e03d08d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/23973e8051d03576f83adf10b0f39c711e03d08d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5135970" author="xgen-internal-githook" created="Tue, 24 Jan 2023 14:27:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kshitij Gupta&apos;, &apos;email&apos;: &apos;kshitij.gupta@mongodb.com&apos;, &apos;username&apos;: &apos;kshitijng&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49214&quot; title=&quot;Add $toHashedIndexKey expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49214&quot;&gt;&lt;del&gt;SERVER-49214&lt;/del&gt;&lt;/a&gt;: Add $toHashedIndexKey expression.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 846d3b8216afeed5006ae2de5f7b254631e3ab49)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/a33ca6df70f1175a988c651799a2b5a932ec4973&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/a33ca6df70f1175a988c651799a2b5a932ec4973&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4075674" author="xgen-internal-githook" created="Tue, 21 Sep 2021 20:49:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kshitij Gupta&apos;, &apos;email&apos;: &apos;kshitij.gupta@mongodb.com&apos;, &apos;username&apos;: &apos;kshitijng&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49214&quot; title=&quot;Add $toHashedIndexKey expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49214&quot;&gt;&lt;del&gt;SERVER-49214&lt;/del&gt;&lt;/a&gt;: Add $toHashedIndexKey expression.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d57e17494ceade881013e2e99606cc92d4a38605)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5e07c00eddafb7a785e084e60a7f0ced9f069628&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5e07c00eddafb7a785e084e60a7f0ced9f069628&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4075672" author="xgen-internal-githook" created="Tue, 21 Sep 2021 20:49:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kshitij Gupta&apos;, &apos;email&apos;: &apos;kshitij.gupta@mongodb.com&apos;, &apos;username&apos;: &apos;kshitijng&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49214&quot; title=&quot;Add $toHashedIndexKey expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49214&quot;&gt;&lt;del&gt;SERVER-49214&lt;/del&gt;&lt;/a&gt;: Add $toHashedIndexKey expression.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 846d3b8216afeed5006ae2de5f7b254631e3ab49)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/f8bf416981d8cfb64772f7b71e415127d685d30e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/f8bf416981d8cfb64772f7b71e415127d685d30e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3317967" author="xgen-internal-githook" created="Mon, 3 Aug 2020 16:33:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kshitij Gupta&apos;, &apos;email&apos;: &apos;kshitij.gupta@mongodb.com&apos;, &apos;username&apos;: &apos;kshitijng&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49214&quot; title=&quot;Add $toHashedIndexKey expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49214&quot;&gt;&lt;del&gt;SERVER-49214&lt;/del&gt;&lt;/a&gt;: Add $toHashedIndexKey expression.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d57e17494ceade881013e2e99606cc92d4a38605&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d57e17494ceade881013e2e99606cc92d4a38605&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3317966" author="xgen-internal-githook" created="Mon, 3 Aug 2020 16:33:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kshitij Gupta&apos;, &apos;email&apos;: &apos;kshitij.gupta@mongodb.com&apos;, &apos;username&apos;: &apos;kshitijng&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49214&quot; title=&quot;Add $toHashedIndexKey expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49214&quot;&gt;&lt;del&gt;SERVER-49214&lt;/del&gt;&lt;/a&gt;: Add $toHashedIndexKey expression.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/846d3b8216afeed5006ae2de5f7b254631e3ab49&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/846d3b8216afeed5006ae2de5f7b254631e3ab49&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3231618" author="janna.golden" created="Tue, 30 Jun 2020 22:09:23 +0000"  >&lt;p&gt;Awesome, thank you &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=charlie.swanson&quot; class=&quot;user-hover&quot; rel=&quot;charlie.swanson&quot;&gt;charlie.swanson&lt;/a&gt;!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1410779">SERVER-49525</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="1416251">SERVER-49785</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1795893">SERVER-58047</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2534133">SERVER-84462</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2122935">DOCS-15574</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="408822">SERVER-30359</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2121617">SERVER-69128</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2559655">COMPASS-7601</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>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    <customfieldvalue key="16775"><![CDATA[v4.2]]></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, 30 Jun 2020 21:41:11 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 2 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-234</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>anna.henningsen@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 2 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>janna.golden@mongodb.com</customfieldvalue>
            <customfieldvalue>kshitij.gupta@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxslwv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxfj5j:</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="3954">Sharding 2020-07-13</customfieldvalue>
    <customfieldvalue id="3957">Sharding 2020-06-29</customfieldvalue>
    <customfieldvalue id="4135">Sharding 2020-07-27</customfieldvalue>
    <customfieldvalue id="4136">Sharding 2020-08-10</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|hxs867:</customfieldvalue>

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