<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:14:52 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-16222] [Server] sh.removeTagRange ignores the tagName parameter</title>
                <link>https://jira.mongodb.org/browse/DOCS-16222</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;On the docs page &lt;a href=&quot;https://github.com/mongodb/docs/blob/e02edf16172277368f238e8da2b81491f61bf39d/source/reference/method/sh.removeTagRange.txt#L16&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/blob/e02edf16172277368f238e8da2b81491f61bf39d/source/reference/method/sh.removeTagRange.txt#L16&lt;/a&gt; and all possible references from other pages, there is mentioned a tag parameter on the sh.removeTagRange.&lt;/p&gt;

&lt;p&gt;This &apos;tag&apos; parameter has never existed, thus the docs are misleading. This part should be removed: &lt;a href=&quot;https://github.com/mongodb/docs/blob/e02edf16172277368f238e8da2b81491f61bf39d/source/reference/method/sh.removeTagRange.txt#L65-L70&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/blob/e02edf16172277368f238e8da2b81491f61bf39d/source/reference/method/sh.removeTagRange.txt#L65-L70&lt;/a&gt; from all the docs and versions.&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;The command &lt;tt&gt;removeTagRange(nss, min, max, tagName)&lt;/tt&gt; from util_sh.js removes the range independently of the given tag name; the tagName parameter is ignored. This command (&lt;tt&gt;removeTagRange&lt;/tt&gt;) is an alias for &lt;tt&gt;removeRangeFromZone&lt;/tt&gt;. On the other hand, &lt;tt&gt;removeRangeFromZone(nss, min, max)&lt;/tt&gt; from the mongo shell removes the range from the tag without passing this as a parameter. It can be done this way because there is a 1:N relationship between tags - ranges. One range can only belong to one tag, thus there is no need to have the tag name to remove a range.&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
The goals of this ticket: &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Match the behaviour between the mongo command (&lt;a href=&quot;https://github.com/10gen/mongo/blob/1b4a551a6b8c85611e26857217ce1a1e1363e716/src/mongo/shell/utils_sh.js#L597-L598&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;util_sh.js&lt;/a&gt;) and the mongo shell command (&lt;a href=&quot;https://github.com/mongodb-js/mongosh/blob/c71dbb701126389e15f54ee9010b0efe32b616b6/packages/shell-api/src/shard.ts#L236&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;shard.ts&lt;/a&gt;).&lt;/li&gt;
	&lt;li&gt;Flag for downstream impact to update the&#160;&lt;a href=&quot;https://www.mongodb.com/docs/manual/reference/method/sh.removeTagRange/#mongodb-method-sh.removeTagRange&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;docs&lt;/a&gt;, they are not aware that the&#160;&lt;tt&gt;tagName&lt;/tt&gt;&#160;parameter that&#160;&lt;a href=&quot;https://github.com/mongodb-js/mongosh/blob/c71dbb701126389e15f54ee9010b0efe32b616b6/packages/shell-api/src/shard.ts#L236&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;does not exist in the mongosh&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2376924">DOCS-16222</key>
            <summary>[Server] sh.removeTagRange ignores the tagName parameter</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="nick.villahermosa@mongodb.com">Nick Villahermosa</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                            <label>quick-win</label>
                            <label>sharding</label>
                    </labels>
                <created>Mon, 26 Jun 2023 13:48:25 +0000</created>
                <updated>Mon, 13 Nov 2023 17:31:04 +0000</updated>
                            <resolved>Fri, 20 Oct 2023 14:33:35 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</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>1</watches>
                                                                                                                <comments>
                            <comment id="5794937" author="JIRAUSER1270643" created="Fri, 20 Oct 2023 14:33:35 +0000"  >&lt;p&gt;Backports: 7.0, 6.0, 5.0, 4.4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="2343213">SERVER-77216</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 17 Oct 2023 16:14:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        15 weeks, 5 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>On the docs page &lt;a href=&quot;https://github.com/mongodb/docs/blob/e02edf16172277368f238e8da2b81491f61bf39d/source/reference/method/sh.removeTagRange.txt#L16&quot;&gt;https://github.com/mongodb/docs/blob/e02edf16172277368f238e8da2b81491f61bf39d/source/reference/method/sh.removeTagRange.txt#L16&lt;/a&gt; and all possible references from other pages, there is mentioned a tag parameter on the sh.removeTagRange. &lt;br/&gt;
&lt;br/&gt;
This &amp;#39;tag&amp;#39; parameter has never existed, thus the docs are misleading. This part should be removed: &lt;a href=&quot;https://github.com/mongodb/docs/blob/e02edf16172277368f238e8da2b81491f61bf39d/source/reference/method/sh.removeTagRange.txt#L65-L70&quot;&gt;https://github.com/mongodb/docs/blob/e02edf16172277368f238e8da2b81491f61bf39d/source/reference/method/sh.removeTagRange.txt#L65-L70&lt;/a&gt; from all the docs and versions.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_14873" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker">
                        <customfieldname>External Reviewer</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[pol.pinol@mongodb.com]]></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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            15 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>nick.villahermosa@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2fczb:</customfieldvalue>

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

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