<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:40:55 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-35773] MetadataManager directly calls into the CatalogCache</title>
                <link>https://jira.mongodb.org/browse/SERVER-35773</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The MetadataManager class, which contains the sharding filtering information incorrectly &lt;a href=&quot;https://github.com/mongodb/mongo/blob/26b3b97ad24d8592e2f93e79f2dc18a8b76d3b3d/src/mongo/db/s/metadata_manager.cpp#L197&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;references&lt;/a&gt; the catalog cache. This is wrong because if the cache doesn&apos;t contain the filtering information for the specified collection, it will return empty filtering information, which may lead to incorrect results from being returned.&lt;/p&gt;

&lt;p&gt;This is not a problem in 4.0 because the &lt;tt&gt;createMetadataAt&lt;/tt&gt; method is not used, but will be in 4.2 when we start supporting sharded read-only transactions.&lt;/p&gt;</description>
                <environment></environment>
        <key id="563728">SERVER-35773</key>
            <summary>MetadataManager directly calls into the CatalogCache</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="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="kaloian.manassiev@mongodb.com">Kaloian Manassiev</assignee>
                                    <reporter username="kaloian.manassiev@mongodb.com">Kaloian Manassiev</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Jun 2018 13:39:37 +0000</created>
                <updated>Sun, 29 Oct 2023 22:30:28 +0000</updated>
                            <resolved>Tue, 26 Jun 2018 13:58:05 +0000</resolved>
                                    <version>4.1.1</version>
                                    <fixVersion>4.0.3</fixVersion>
                    <fixVersion>4.1.1</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2007607" author="xgen-internal-githook" created="Wed, 19 Sep 2018 12:46:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Henrik Edin&apos;, &apos;email&apos;: &apos;henrik.edin@mongodb.com&apos;, &apos;username&apos;: &apos;henrikedin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32198&quot; title=&quot;Missing collection metadata on the shard implies both UNSHARDED and &amp;quot;metadata not loaded yet&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32198&quot;&gt;&lt;del&gt;SERVER-32198&lt;/del&gt;&lt;/a&gt; Get rid of CollectionShardingState::collectionIsSharded&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 80de0da37b00dbeed576b28a842cb172b6714358)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35773&quot; title=&quot;MetadataManager directly calls into the CatalogCache&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35773&quot;&gt;&lt;del&gt;SERVER-35773&lt;/del&gt;&lt;/a&gt; Remove references to the CatalogCache from MetadataManager&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 2aa65a86193e5d38934a4f2d6b0a8298e2432485)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32198&quot; title=&quot;Missing collection metadata on the shard implies both UNSHARDED and &amp;quot;metadata not loaded yet&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32198&quot;&gt;&lt;del&gt;SERVER-32198&lt;/del&gt;&lt;/a&gt; Add support for an optional `vWanted` to StaleConfigInfo&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 60559a00b81293184922b3418a8e56610edf8dd9)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36054&quot; title=&quot;Get rid of ScopedCollectionMetadata&amp;#39;s operator bool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36054&quot;&gt;&lt;del&gt;SERVER-36054&lt;/del&gt;&lt;/a&gt; Remove ScopedCollectionMetadata&apos;s operator bool&lt;/p&gt;

&lt;p&gt;(cherry picked from commit c9c340ad6e9e1f33cb001a8375c62d6b16138c74)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36054&quot; title=&quot;Get rid of ScopedCollectionMetadata&amp;#39;s operator bool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36054&quot;&gt;&lt;del&gt;SERVER-36054&lt;/del&gt;&lt;/a&gt; Remove more unused methods from CSS/MetadataManager&lt;/p&gt;

&lt;p&gt;(cherry picked from commit ca04f5bcf9bfa73c9162b3a77225c997c6deec8a)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36116&quot; title=&quot;Get rid of CollectionShardingState::resetAll&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36116&quot;&gt;&lt;del&gt;SERVER-36116&lt;/del&gt;&lt;/a&gt; Get rid of CollectionShardingState::resetAll&lt;/p&gt;

&lt;p&gt;(cherry picked from commit db1cc80d13d203b6351f5510f7756cc1c7bfc0ea)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36054&quot; title=&quot;Get rid of ScopedCollectionMetadata&amp;#39;s operator bool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36054&quot;&gt;&lt;del&gt;SERVER-36054&lt;/del&gt;&lt;/a&gt; Get rid of unused methods from CollectionShardingState&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 884d232473dca72e0872f0e540d4c3108c1e0b3d)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36164&quot; title=&quot;Decouple ScopedCollectionMetadata from MetadataManager&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36164&quot;&gt;&lt;del&gt;SERVER-36164&lt;/del&gt;&lt;/a&gt; Decouple ScopedCollectionMetadata from MetadataManager&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d91262c4a2ed7d94923c3b1c5ff5d208aa981c73)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29908&quot; title=&quot;Libraries db/s/sharding and db/query/query are directly cyclic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29908&quot;&gt;&lt;del&gt;SERVER-29908&lt;/del&gt;&lt;/a&gt; Move CollectionShardingState under sharding_api_d&lt;/p&gt;

&lt;p&gt;(cherry picked from commit e491e284e8066929c8272c96a3128241ab481be8)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29908&quot; title=&quot;Libraries db/s/sharding and db/query/query are directly cyclic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29908&quot;&gt;&lt;del&gt;SERVER-29908&lt;/del&gt;&lt;/a&gt; Remove ShardingState::appendInfo&lt;/p&gt;

&lt;p&gt;Expose the ShardingState properties and move the appendInfo logic to be&lt;br/&gt;
entirely inside the &apos;getShardingState&apos; function, which is its only&lt;br/&gt;
consumer.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 24e411d5cd7f64c5b4da25a351529cd1873284b8)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29908&quot; title=&quot;Libraries db/s/sharding and db/query/query are directly cyclic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29908&quot;&gt;&lt;del&gt;SERVER-29908&lt;/del&gt;&lt;/a&gt; Move &apos;updateConfigServerOpTimeFromMetadata&apos; out of ShardingState&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 7a97557ce5bf74dc2b663762b7a5ffb9c958d580)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29908&quot; title=&quot;Libraries db/s/sharding and db/query/query are directly cyclic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29908&quot;&gt;&lt;del&gt;SERVER-29908&lt;/del&gt;&lt;/a&gt; Move all runtime logic out of ShardingState&lt;/p&gt;

&lt;p&gt;... and move it into a ShardingInitializationMongoD class, which is&lt;br/&gt;
responsible for driving the sharding-awareness of the node and setting&lt;br/&gt;
it onto ShardingState.&lt;/p&gt;

&lt;p&gt;Also gets rid of the &apos;sharding&apos; library, so there is no more library&lt;br/&gt;
dependency cycle.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 200c3dc58410d8b3287a2075cc9b2ad085100e83)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29908&quot; title=&quot;Libraries db/s/sharding and db/query/query are directly cyclic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29908&quot;&gt;&lt;del&gt;SERVER-29908&lt;/del&gt;&lt;/a&gt; Fold the &apos;sharding_connection_hook&apos; library into &apos;sharding_initialization&apos;&lt;/p&gt;

&lt;p&gt;... and also remove dependency of MongoS on the replication coordinator&lt;/p&gt;

&lt;p&gt;(cherry picked from commit fab6864f4edcae7bb304f79e601f1f62cc376a77)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/27e0275301eed05bea3d65c766dbe76ee1da9b8a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/27e0275301eed05bea3d65c766dbe76ee1da9b8a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1931645" author="xgen-internal-githook" created="Tue, 26 Jun 2018 13:56:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;kaloianm&apos;, &apos;name&apos;: &apos;Kaloian Manassiev&apos;, &apos;email&apos;: &apos;kaloian.manassiev@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35773&quot; title=&quot;MetadataManager directly calls into the CatalogCache&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35773&quot;&gt;&lt;del&gt;SERVER-35773&lt;/del&gt;&lt;/a&gt; Remove references to the CatalogCache from MetadataManager&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2aa65a86193e5d38934a4f2d6b0a8298e2432485&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2aa65a86193e5d38934a4f2d6b0a8298e2432485&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="469026">SERVER-32198</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</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, 26 Jun 2018 13:56:12 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 21 weeks 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 21 weeks 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>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu1co7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hts5hb:</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="2385">Sharding 2018-07-02</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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu0yxj:</customfieldvalue>

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