<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:12:14 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-15191] [Server] Investigate changes in SERVER-64142: Add new enforceUniqueness to refineCollectionShardKey command</title>
                <link>https://jira.mongodb.org/browse/DOCS-15191</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>    &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Original Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    Added 2 new fields to the refineShardKey command:&lt;br/&gt;
      enforceUniquenessCheck: Controls whether this command verifies that any unique indexes are prefixed by the new shard key pattern if unique is true. If true then it will verify and if false then it won&apos;t. Defaults to true.&lt;/p&gt;

&lt;p&gt;Not strictly required to be in 6.0 docs, but eventually in the docs. These new fields are mostly for use by cluster to cluster replication and documentation is mostly for other mongo engineers. Not sure if there&apos;s a better place to put it aside from the docs.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    (Analogous to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63732&quot; title=&quot;Add new implicitlyCreateIndex and enforceUniquenessCheck to shardCollection command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63732&quot;&gt;&lt;del&gt;SERVER-63732&lt;/del&gt;&lt;/a&gt; but for the refineCollectionShardKey command. An implicitlyCreateIndex parameter isn&apos;t relevant for refineCollectionShardKey because the command won&apos;t attempt to create an index even when the collection is empty.)&lt;/p&gt;

&lt;p&gt;enforceUniqueness defaults to true and when set to false, ignores uniqueness property when validating indexes for refineCollectionShardKey.&lt;/p&gt;

&lt;p&gt;Regardless of both settings, refineCollectionShardKey should still return an error if there are no index that is compatible with the new shard key pattern.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="2010562">DOCS-15191</key>
            <summary>[Server] Investigate changes in SERVER-64142: Add new enforceUniqueness to refineCollectionShardKey command</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="jocelyn.mendez@mongodb.com">Jocelyn Mendez</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Mar 2022 17:51:04 +0000</created>
                <updated>Mon, 13 Nov 2023 17:43:39 +0000</updated>
                            <resolved>Tue, 19 Apr 2022 19:31:15 +0000</resolved>
                                                    <fixVersion>6.0.0-rc0</fixVersion>
                    <fixVersion>5.0.12</fixVersion>
                    <fixVersion>4.4.17</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4777380" author="edu.bot" created="Thu, 25 Aug 2022 18:17:49 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64142&quot; title=&quot;Add new enforceUniqueness to refineCollectionShardKey command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64142&quot;&gt;&lt;del&gt;SERVER-64142&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.0.0-rc0, 4.4.17, 5.0.12&lt;/p&gt;</comment>
                            <comment id="4773455" author="edu.bot" created="Wed, 24 Aug 2022 13:17:52 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64142&quot; title=&quot;Add new enforceUniqueness to refineCollectionShardKey command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64142&quot;&gt;&lt;del&gt;SERVER-64142&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.0.0-rc0, 5.0.12&lt;/p&gt;</comment>
                            <comment id="4439809" author="JIRAUSER1257477" created="Mon, 28 Mar 2022 20:15:31 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64142&quot; title=&quot;Add new enforceUniqueness to refineCollectionShardKey command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64142&quot;&gt;&lt;del&gt;SERVER-64142&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.0.0-rc0&lt;/p&gt;</comment>
                            <comment id="4439804" author="JIRAUSER1257477" created="Mon, 28 Mar 2022 20:14:47 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64142&quot; title=&quot;Add new enforceUniqueness to refineCollectionShardKey command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64142&quot;&gt;&lt;del&gt;SERVER-64142&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.0.0, 6.0.0-rc0&lt;/p&gt;</comment>
                            <comment id="4439452" author="max.hirschhorn@10gen.com" created="Mon, 28 Mar 2022 18:16:08 +0000"  >&lt;p&gt;Given that we don&apos;t want end users to ever use enforceUniquenessCheck:false, I&apos;m not sure we should have the option documented in our public&amp;#45;facing document? We don&apos;t have a great story for internal&amp;#45;documentation as far as I know but maybe Server can point other teams to the .idl file for the command as a way?&lt;/p&gt;</comment>
                            <comment id="4439374" author="JIRAUSER1257477" created="Mon, 28 Mar 2022 17:51:15 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64142&quot; title=&quot;Add new enforceUniqueness to refineCollectionShardKey command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64142&quot;&gt;&lt;del&gt;SERVER-64142&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.0.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="1993535">SERVER-64142</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>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, 28 Mar 2022 17:51:15 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 23 weeks, 6 days 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Added 2 new fields to the refineShardKey command:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;enforceUniquenessCheck: Controls whether this command verifies that any unique indexes are prefixed by the new shard key pattern if unique is true. If true then it will verify and if false then it won&amp;#39;t. Defaults to true.&lt;br/&gt;
&lt;br/&gt;
Not strictly required to be in 6.0 docs, but eventually in the docs. These new fields are mostly for use by cluster to cluster replication and documentation is mostly for other mongo engineers. Not sure if there&amp;#39;s a better place to put it aside from the docs.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-19446</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</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>
                            1 year, 23 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>edu.bot</customfieldvalue>
            <customfieldvalue>jess.mokrzecki@mongodb.com</customfieldvalue>
            <customfieldvalue>jocelyn.mendez@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0osjz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i07snw:</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|i0oepb:</customfieldvalue>

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