<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:29:49 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-75295] Disallow use of the &apos;planCacheSize&apos; parameter on 6.0 and earlier versions</title>
                <link>https://jira.mongodb.org/browse/SERVER-75295</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;planCacheSize which is introduced in mongodb V5.1 as a rapid release is not available for on-prem and hence we tried to upgrade to Mongo V6 and test this option but unfortunately, we couldn&apos;t see any difference in the planCacheSize even after adding this to mongo config or via command line.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Scenario:&lt;/p&gt;

&lt;p&gt;We are working on adding transaction support in our project. We have a 3 node replica set with PSA topology and since we are using transactions for our &quot;Bot Publish&quot; feature, mongodb retains all the data related to botpublish in cache until transaction is success. this data resides in cache which is also used for plancache, dirty cache that is not yet written to disk (incldues any transaction&apos;s data too).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;What we observed is mongo&apos;s default cache size is (n-1)/2 and in this (n-1)/2 size of cache, 80% is provided to plancache + transaction data and another 20% is for dirty cache that is yet to be written to disk (our assumption). we thought to reduce plancache size and provide more space for transaction data as our transactions are huge running operations, we couldn&apos;t do it even after using planCacheSize which is introduced in Mongo V6 on-prem, we added planCacheSize to 5%, 10% etc in config but still see it is taking significantly more RAM (like 50% also).&lt;/p&gt;

&lt;p&gt;Please help us on how to set planCacheSize in MongoV6 in Ubuntu 18.04 OS&lt;/p&gt;</description>
                <environment>Ubuntu 18.04 on-prem system with Mongo V6.0.0</environment>
        <key id="2297003">SERVER-75295</key>
            <summary>Disallow use of the &apos;planCacheSize&apos; parameter on 6.0 and earlier versions</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="parker.felix@mongodb.com">Parker Felix</assignee>
                                    <reporter username="nagasai.pallapotu@kore.com">Nagasai Pallapotu</reporter>
                        <labels>
                            <label>neweng</label>
                            <label>query-director-triage</label>
                    </labels>
                <created>Fri, 24 Mar 2023 06:00:03 +0000</created>
                <updated>Sun, 29 Oct 2023 21:24:13 +0000</updated>
                            <resolved>Mon, 11 Sep 2023 17:55:59 +0000</resolved>
                                    <version>6.0.5</version>
                                    <fixVersion>6.0.11</fixVersion>
                                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="5681369" author="xgen-internal-githook" created="Tue, 5 Sep 2023 21:29:43 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Parker Felix&apos;, &apos;email&apos;: &apos;parker.felix@mongodb.com&apos;, &apos;username&apos;: &apos;parker-felix&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-75295&quot; title=&quot;Disallow use of the &amp;#39;planCacheSize&amp;#39; parameter on 6.0 and earlier versions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-75295&quot;&gt;&lt;del&gt;SERVER-75295&lt;/del&gt;&lt;/a&gt; Disallow use of the &apos;planCacheSize&apos; parameter on 6.0 and earlier versions&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9a1bf5701761d034f0f448a49d5878f271e1917c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9a1bf5701761d034f0f448a49d5878f271e1917c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5534048" author="david.storch" created="Thu, 29 Jun 2023 15:07:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kyle.suarez%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;kyle.suarez@mongodb.com&quot;&gt;kyle.suarez@mongodb.com&lt;/a&gt; it seems like this ticket has been forgotten, but just needs an assignee. I&apos;m putting it on the query director triage queue.&lt;/p&gt;</comment>
                            <comment id="5324391" author="kyle.suarez" created="Tue, 4 Apr 2023 18:58:06 +0000"  >&lt;p&gt;Because &lt;tt&gt;planCacheSize&lt;/tt&gt; isn&apos;t expected to work in 6.0, I am repurposing this ticket to have the command throw an error. (Note that we don&apos;t intend to make any changes in 6.3 or 7.0.)&lt;/p&gt;</comment>
                            <comment id="5315812" author="david.storch" created="Fri, 31 Mar 2023 15:58:41 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=nagasai.pallapotu%40kore.com&quot; class=&quot;user-hover&quot; rel=&quot;nagasai.pallapotu@kore.com&quot;&gt;nagasai.pallapotu@kore.com&lt;/a&gt;! Thanks for filing this issue. While I didn&apos;t follow all of the details around the description of your scenario, I wanted to respond specifically to your inquiry about &lt;tt&gt;planCacheSize&lt;/tt&gt;. This parameter controls the amount of memory used outside the WiredTiger cache to store compiled query plans which can be reused by subsequent queries of the same shape. I believe there is a mistake in our documentation around this parameter: see &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15997&quot; title=&quot;[Server] Improve documentation of &amp;quot;planCacheSize&amp;quot; server parameter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15997&quot;&gt;&lt;del&gt;DOCS-15997&lt;/del&gt;&lt;/a&gt;. To summarize the DOCS ticket: &lt;tt&gt;planCacheSize&lt;/tt&gt; has no effect until version 6.3. The reason is that &lt;tt&gt;planCacheSize&lt;/tt&gt; pertains specifically to our new execution engine (the slot-based execution engine, or SBE). We are in the process of shipping SBE in a piecewise fashion and SBE&apos;s plan cache was first enabled in 6.3.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15997&quot; title=&quot;[Server] Improve documentation of &amp;quot;planCacheSize&amp;quot; server parameter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15997&quot;&gt;&lt;del&gt;DOCS-15997&lt;/del&gt;&lt;/a&gt; tracks the work to clarify that &lt;tt&gt;planCacheSize&lt;/tt&gt; only applies to SBE and is only useful starting in MongoDB 6.3. In addition, we should use this ticket to consider whether to actively prohibit users from configuring &lt;tt&gt;planCacheSize&lt;/tt&gt; on older versions. I think it was accidental that we shipped versions of the MongoDB server in which the SBE plan cache is disabled but the &lt;tt&gt;planCacheSize&lt;/tt&gt; parameter for this new plan cache isn&apos;t.&lt;/p&gt;</comment>
                            <comment id="5301455" author="tammy.bailey" created="Mon, 27 Mar 2023 00:34:49 +0000"  >&lt;p&gt;Moving to the server team as I believe this functionality is found at their level.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                        <issuelink>
            <issuekey id="2438955">DOCS-16375</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2303544">DOCS-15997</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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25125"><![CDATA[Query Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 27 Mar 2023 00:34:49 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        22 weeks, 1 day 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>This change makes it illegal to set the planCacheSize parameter on version 6.0. Before this change, the parameter could be set, but had no effect. After this change, setting the parameter errors. This includes failing server startup if the parameter is set in the configuration.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16942"><![CDATA[Needed]]></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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            22 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kyle.suarez@mongodb.com</customfieldvalue>
            <customfieldvalue>nagasai.pallapotu@kore.com</customfieldvalue>
            <customfieldvalue>parker.felix@mongodb.com</customfieldvalue>
            <customfieldvalue>tammy.bailey@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i21o7j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1k10g:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7229">QE 2023-05-15</customfieldvalue>
    <customfieldvalue id="7233">QE 2023-05-29</customfieldvalue>
    <customfieldvalue id="7236">QE 2023-06-12</customfieldvalue>
    <customfieldvalue id="7238">QE 2023-06-26</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_17051" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Teams Impacted</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16943"><![CDATA[Cloud]]></customfieldvalue>
    <customfieldvalue key="16944"><![CDATA[Docs]]></customfieldvalue>
    <customfieldvalue key="16946"><![CDATA[Triage and Release]]></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|i21acv:</customfieldvalue>

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