<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:57:57 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-85524] Re-enable analyze_shard_key_database_and_shard_versioning.js targeting secondaries node</title>
                <link>https://jira.mongodb.org/browse/SERVER-85524</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Analyze shard key can be executed against both a primary node or a secondary. This is &lt;a href=&quot;https://github.com/10gen/mongo/blob/7a0b5d644b0d477e38adaf196a7fa9ddb511494a/jstests/sharding/analyze_shard_key/analyze_shard_key_database_and_shard_versioning.js#L94&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;tested&lt;/a&gt; in analyze_shard_key_database_and_shard_versioning where a movePrimary is added before the command is executed to confirm this behaviour is respected also in case the primary shard changes.&#160;&lt;/p&gt;

&lt;p&gt;However, after &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81190&quot; title=&quot;Support tracking &amp;quot;simple&amp;quot; unsharded collections in the sharding catalog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81190&quot;&gt;&lt;del&gt;SERVER-81190&lt;/del&gt;&lt;/a&gt; unsharded collection are registered in the sharding catalog and they are supposed not to be moved by the movePrimary.&#160; Due to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79668&quot; title=&quot;Move primary must be compatible with unsplittable collections&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79668&quot;&gt;&lt;del&gt;SERVER-79668&lt;/del&gt;&lt;/a&gt; unsplittable collection are actually moved.&lt;/p&gt;

&lt;p&gt;This is causing a known issue (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83277&quot; title=&quot;Always attach db version when loading indexes from the authoritative shard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83277&quot;&gt;&lt;del&gt;SERVER-83277&lt;/del&gt;&lt;/a&gt;): movePrimary does not bump the shardVersion, causing any stale router to target the old primary without receiving a StaleConfig.&#160;&lt;/p&gt;

&lt;p&gt;To temporarily bypass this issue, which will be solved as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81141&quot; title=&quot;Mark sort_project_plans as multiversion incompatible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81141&quot;&gt;&lt;del&gt;SERVER-81141&lt;/del&gt;&lt;/a&gt;, in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81190&quot; title=&quot;Support tracking &amp;quot;simple&amp;quot; unsharded collections in the sharding catalog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81190&quot;&gt;&lt;del&gt;SERVER-81190&lt;/del&gt;&lt;/a&gt; the mentioned &lt;a href=&quot;https://github.com/10gen/mongo/blob/7a0b5d644b0d477e38adaf196a7fa9ddb511494a/jstests/sharding/analyze_shard_key/analyze_shard_key_database_and_shard_versioning.js#L94&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;test&lt;/a&gt; is skipped in case trackUnsheded is enabled, causing a loss of test coverage. To still leave the command working on primary nodes, the movePrimary currently forces a &lt;a href=&quot;https://github.com/10gen/mongo/blob/2c0006c6b59da83b6a1ff12c5c21a329c3ff9c05/src/mongo/db/s/move_primary_coordinator.cpp#L661-L673&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;clean-up of filtering metadata&lt;/a&gt; on the primary node, causing a refresh that will update corrently the filtering metadata on the primary.&lt;/p&gt;

&lt;p&gt;This ticket should remove the check and enable the test again.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2552704">SERVER-85524</key>
            <summary>Re-enable analyze_shard_key_database_and_shard_versioning.js targeting secondaries node</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-catalog-and-routing">Backlog - Catalog and Routing</assignee>
                                    <reporter username="enrico.golfieri@mongodb.com">Enrico Golfieri</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Jan 2024 14:41:07 +0000</created>
                <updated>Thu, 25 Jan 2024 11:44:47 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="2451812">SERVER-81461</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="2408202">SERVER-79668</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>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26387"><![CDATA[Catalog and Routing]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<a href='https://jira.mongodb.org/browse/SERVER-81461'>SERVER-81461</a>]]></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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-3364</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>tommaso.tocci@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-catalog-and-routing</customfieldvalue>
            <customfieldvalue>enrico.golfieri@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i39e8n:</customfieldvalue>

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

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