<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:12:21 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-15236] [Server] Investigate changes in SERVER-63208: Make allowDiskUse opt-out rather than opt-in</title>
                <link>https://jira.mongodb.org/browse/DOCS-15236</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>
    &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Original Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    Downstream teams should have already been notified about this change on PM-2742, but we are erring on the side of over-communicating the change.&lt;/p&gt;

&lt;p&gt;As of 6.0.0-rc0, the server will permit spilling to disk during query execution by default. If users want to explicitly prohibit disk use, they can pass &lt;tt&gt;allowDiskUse:false&lt;/tt&gt; alongside &lt;tt&gt;find&lt;/tt&gt; or &lt;tt&gt;aggregate&lt;/tt&gt; commands.&lt;/p&gt;

&lt;p&gt;This project also introduces a new &lt;tt&gt;setParameter&lt;/tt&gt; called &lt;tt&gt;allowDiskUseByDefault&lt;/tt&gt;. This parameter applies only to mongod, not to mongos. As in previous versions, query execution on mongos will never spill to disk. The default value of &lt;tt&gt;allowDiskUseByDefault&lt;/tt&gt; is true. Operators can switch this parameter to false at startup or runtime on a per-node basis in order to restore the pre-6.0 behavior of prohibiting spilling to disk by default.&lt;/p&gt;

&lt;p&gt;In addition to find and aggregate operations, mapReduce commands, count commands against a view, and distinct commands against a view will respect the value of the &lt;tt&gt;allowDiskUseByDefault&lt;/tt&gt; parameter.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    Currently, mongodb queries run with &apos;allowDiskUse&apos; set to false by default. This causes queries to fail when a blocking operator exceeds a certain memory limit, rather than spilling to disk.&lt;/p&gt;

&lt;p&gt;It would make more sense to have &apos;allowDiskUse&apos; be opt-out (default=true) rather than opt-in. This would require a number of changes, not just in the server, but also in atlas (for example, on the free tier we&apos;d probably want to continue to disable spilling altogether).&lt;/p&gt;

&lt;p&gt;This ticket is meant to track the discussion around switching the default of allowDiskUse.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="2023787">DOCS-15236</key>
            <summary>[Server] Investigate changes in SERVER-63208: Make allowDiskUse opt-out rather than opt-in</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Apr 2022 23:04:00 +0000</created>
                <updated>Mon, 13 Nov 2023 17:42:48 +0000</updated>
                            <resolved>Wed, 13 Apr 2022 20:14:23 +0000</resolved>
                                                    <fixVersion>6.0.0-rc0</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4481535" author="JIRAUSER1264464" created="Wed, 13 Apr 2022 20:14:23 +0000"  >&lt;p&gt;Duplicate of DOCSP-21763.&lt;/p&gt;</comment>
                            <comment id="4478752" author="JIRAUSER1257477" created="Tue, 12 Apr 2022 23:04:11 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63208&quot; title=&quot;Make allowDiskUse opt-out rather than opt-in&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63208&quot;&gt;&lt;del&gt;SERVER-63208&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.0.0-rc0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="1975819">SERVER-63208</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 12 Apr 2022 23:04:11 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 43 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Downstream teams should have already been notified about this change on PM-2742, but we are erring on the side of over-communicating the change.&lt;br/&gt;
&lt;br/&gt;
As of 6.0.0-rc0, the server will permit spilling to disk during query execution by default. If users want to explicitly prohibit disk use, they can pass {{allowDiskUse:false}} alongside {{find}} or {{aggregate}} commands.&lt;br/&gt;
&lt;br/&gt;
This project also introduces a new {{setParameter}} called {{allowDiskUseByDefault}}. This parameter applies only to mongod, not to mongos. As in previous versions, query execution on mongos will never spill to disk. The default value of {{allowDiskUseByDefault}} is true. Operators can switch this parameter to false at startup or runtime on a per-node basis in order to restore the pre-6.0 behavior of prohibiting spilling to disk by default.&lt;br/&gt;
&lt;br/&gt;
In addition to find and aggregate operations, mapReduce commands, count commands against a view, and distinct commands against a view will respect the value of the {{allowDiskUseByDefault}} parameter.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 43 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ashley.brown@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>jess.mokrzecki@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0qzev:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i09y4s:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0qlk7:</customfieldvalue>

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