<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:55:30 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-20854] Don&apos;t refresh database and collection information from config server while holding a mutex</title>
                <link>https://jira.mongodb.org/browse/SERVER-20854</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/s/catalog/catalog_cache.cpp#L50&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;CatalogCache::getDatabase&lt;/a&gt; loads database metadata under the CatalogCache&apos;s mutex, blocking all operations while the config server query completes.  This alone is pretty bad, but at least the CatalogCache shouldn&apos;t miss too often (CatalogCache caches database objects, database creation should be relatively infrequent).&lt;/p&gt;

&lt;p&gt;Even worse is the reloading of the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/s/config.cpp#L293&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ChunkManager&lt;/a&gt;, which loads the chunk ranges under the DBConfig&apos;s mutex.  This means that while we are loading the chunk ranges for a collection after a shard version error, all CRUD operations on all (sharded or unsharded) collections in that database will block until the chunk reload is finished.&lt;/p&gt;</description>
                <environment></environment>
        <key id="233818">SERVER-20854</key>
            <summary>Don&apos;t refresh database and collection information from config server while holding a mutex</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="9">Done</resolution>
                                        <assignee username="kaloian.manassiev@mongodb.com">Kaloian Manassiev</assignee>
                                    <reporter username="spencer@mongodb.com">Spencer Brody</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Oct 2015 21:20:59 +0000</created>
                <updated>Tue, 28 Aug 2018 10:11:55 +0000</updated>
                            <resolved>Tue, 4 Apr 2017 22:53:40 +0000</resolved>
                                                    <fixVersion>3.4.4</fixVersion>
                    <fixVersion>3.5.6</fixVersion>
                                    <component>Sharding</component>
                                        <votes>9</votes>
                                    <watches>28</watches>
                                                                                                                <comments>
                            <comment id="1548051" author="xgen-internal-githook" created="Thu, 13 Apr 2017 11:50:14 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kaloianm&apos;, u&apos;name&apos;: u&apos;Kaloian Manassiev&apos;, u&apos;email&apos;: u&apos;kaloian.manassiev@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20854&quot; title=&quot;Don&amp;#39;t refresh database and collection information from config server while holding a mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-20854&quot;&gt;&lt;del&gt;SERVER-20854&lt;/del&gt;&lt;/a&gt; Refresh collection metadata on a separate thread&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 0885a0adbb813727cc5a2083224ac0d89763c276)&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/48d1e1bd6f56f3c20c018332fabafc147bfafc3b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/48d1e1bd6f56f3c20c018332fabafc147bfafc3b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1546384" author="xgen-internal-githook" created="Tue, 11 Apr 2017 20:42:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kaloianm&apos;, u&apos;name&apos;: u&apos;Kaloian Manassiev&apos;, u&apos;email&apos;: u&apos;kaloian.manassiev@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20854&quot; title=&quot;Don&amp;#39;t refresh database and collection information from config server while holding a mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-20854&quot;&gt;&lt;del&gt;SERVER-20854&lt;/del&gt;&lt;/a&gt; Pull the diff tracker&apos;s query generation logic outside of the template&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 0c7ab1cdd8c6a1cde4c5b2ccb1feef4300d29708)&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ed67f8a91fe22f8667d64f57f9fad1e404ba3f05&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ed67f8a91fe22f8667d64f57f9fad1e404ba3f05&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1540939" author="xgen-internal-githook" created="Tue, 4 Apr 2017 22:48:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kaloianm&apos;, u&apos;name&apos;: u&apos;Kaloian Manassiev&apos;, u&apos;email&apos;: u&apos;kaloian.manassiev@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20854&quot; title=&quot;Don&amp;#39;t refresh database and collection information from config server while holding a mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-20854&quot;&gt;&lt;del&gt;SERVER-20854&lt;/del&gt;&lt;/a&gt; Refresh collection metadata on a separate thread&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0885a0adbb813727cc5a2083224ac0d89763c276&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0885a0adbb813727cc5a2083224ac0d89763c276&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1514442" author="xgen-internal-githook" created="Thu, 2 Mar 2017 15:50:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kaloianm&apos;, u&apos;name&apos;: u&apos;Kaloian Manassiev&apos;, u&apos;email&apos;: u&apos;kaloian.manassiev@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-20854&quot; title=&quot;Don&amp;#39;t refresh database and collection information from config server while holding a mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-20854&quot;&gt;&lt;del&gt;SERVER-20854&lt;/del&gt;&lt;/a&gt; Pull the diff tracker&apos;s query generation logic outside of the template&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0c7ab1cdd8c6a1cde4c5b2ccb1feef4300d29708&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0c7ab1cdd8c6a1cde4c5b2ccb1feef4300d29708&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>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="265425">SERVER-22611</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="337047">SERVER-27321</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="340206">SERVER-27480</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="341240">SERVER-27526</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="341241">SERVER-27527</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="346680">SERVER-27736</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="349069">SERVER-27809</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="354378">SERVER-28030</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="356990">SERVER-28098</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="357138">SERVER-28106</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="357194">SERVER-28111</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="337827">SERVER-27364</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="337832">SERVER-27366</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="338169">SERVER-27381</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="338176">SERVER-27382</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="338845">SERVER-27419</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="339956">SERVER-27467</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="340097">SERVER-27473</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="345697">SERVER-27681</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="359681">SERVER-28155</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="14340"><![CDATA[v3.4]]></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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000aRXcBIAW, 500A000000bw0TsIAI]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 12 Dec 2016 16:11:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 43 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-27366'>SERVER-27366</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27381'>SERVER-27381</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27382'>SERVER-27382</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27364'>SERVER-27364</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27419'>SERVER-27419</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27467'>SERVER-27467</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27473'>SERVER-27473</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27321'>SERVER-27321</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27480'>SERVER-27480</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27526'>SERVER-27526</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27527'>SERVER-27527</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27736'>SERVER-27736</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27809'>SERVER-27809</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-28030'>SERVER-28030</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-28098'>SERVER-28098</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-28106'>SERVER-28106</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-28111'>SERVER-28111</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-28155'>SERVER-28155</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-22611'>SERVER-22611</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-27681'>SERVER-27681</a></s>]]></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-568</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_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 43 weeks, 6 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>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrks93:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hray9r:</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="1315">Sharding 2016-12-12</customfieldvalue>
    <customfieldvalue id="1316">Sharding 2017-01-02</customfieldvalue>
    <customfieldvalue id="1452">Sharding 2017-02-13</customfieldvalue>
    <customfieldvalue id="1455">Sharding 2017-03-06</customfieldvalue>
    <customfieldvalue id="1614">Sharding 2017-03-27</customfieldvalue>
    <customfieldvalue id="1615">Sharding 2017-04-17</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|hsfktz:</customfieldvalue>

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