<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:55: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-84722] Create undocumented server parameter to skip document validation on insert code path for internal usage</title>
                <link>https://jira.mongodb.org/browse/SERVER-84722</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In the server, the maximum BSON size for user documents is &lt;a href=&quot;https://github.com/10gen/mongo/blob/41fe2c8dd81f13feabd303d10f5ea5cb81a6c95f/src/mongo/bson/util/builder.h#L74&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;16mb&lt;/a&gt;. Internally, we have a maximum size of &lt;a href=&quot;https://github.com/10gen/mongo/blob/41fe2c8dd81f13feabd303d10f5ea5cb81a6c95f/src/mongo/bson/util/builder.h#L76-L80&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;16mb + 16kb&lt;/a&gt; for internal documents that need to be slightly larger than the user maximum. An example is the oplog: when users insert a document that&apos;s close to 16MB in size, the corresponding oplog entry may exceed the user maximum to account for oplog entry metadata.&lt;/p&gt;

&lt;p&gt;In the Cloud backup restore process, a PIT restore manually inserts oplog entries from a source cluster into a target cluster. If the oplog entries generated on the source cluster are sufficiently large, the oplog entries that we try to insert into the target cluster may be larger than 16mb. In that case, since the insert is happening via the regular insert codepath, it will fail validation &lt;a href=&quot;https://github.com/10gen/mongo/blob/41fe2c8dd81f13feabd303d10f5ea5cb81a6c95f/src/mongo/db/ops/insert.cpp#L101-L105&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. This poses a problem for the restore process, as Cloud cannot get past these large documents. Users will be required to PIT restore to an earlier timestamp, or use a snapshot that already includes the large document, which may be undesirable.&lt;/p&gt;

&lt;p&gt;In the server, we already &lt;a href=&quot;https://github.com/10gen/mongo/blob/master/src/mongo/db/repl/oplog_buffer_collection.cpp#L220-L227&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;have internal places where we skip document size validation&lt;/a&gt;, on account of oplog entries potentially exceeding the size limit. We should expose an undocumented server parameter to allow Cloud to skip document validation, specifically to address this edge case.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2541777">SERVER-84722</key>
            <summary>Create undocumented server parameter to skip document validation on insert code path for internal usage</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="13201">Fixed</resolution>
                                        <assignee username="ali.mir@mongodb.com">Ali Mir</assignee>
                                    <reporter username="ali.mir@mongodb.com">Ali Mir</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Jan 2024 09:45:45 +0000</created>
                <updated>Wed, 31 Jan 2024 23:51:05 +0000</updated>
                            <resolved>Fri, 26 Jan 2024 15:32:27 +0000</resolved>
                                                    <fixVersion>7.0.6</fixVersion>
                    <fixVersion>5.0.25</fixVersion>
                    <fixVersion>4.4.29</fixVersion>
                    <fixVersion>6.0.14</fixVersion>
                    <fixVersion>8.0.0-rc0</fixVersion>
                    <fixVersion>7.3.0-rc2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="6057758" author="xgen-internal-githook" created="Wed, 31 Jan 2024 23:31:15 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-84722&quot; title=&quot;Create undocumented server parameter to skip document validation on insert code path for internal usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-84722&quot;&gt;&lt;del&gt;SERVER-84722&lt;/del&gt;&lt;/a&gt; Create internal server parameter to allow users to insert documents larger than the 16mb maximum user BSON size (#18255)&lt;/p&gt;

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

&lt;p&gt;GitOrigin-RevId: 9ebbf2ce73a95e3f1437e35065e59c038574e2f6&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cd53d98e3d09d5429ea38775a5166d1d21b5a42d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cd53d98e3d09d5429ea38775a5166d1d21b5a42d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6057399" author="xgen-internal-githook" created="Wed, 31 Jan 2024 21:34:47 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-84722&quot; title=&quot;Create undocumented server parameter to skip document validation on insert code path for internal usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-84722&quot;&gt;&lt;del&gt;SERVER-84722&lt;/del&gt;&lt;/a&gt; Create internal server parameter to allow users to insert documents larger than the 16mb maximum user BSON size (#18255)&lt;/p&gt;

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

&lt;p&gt;GitOrigin-RevId: 1335fd397c658ec8c0f429f12dc27c85a33f516a&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/02200f6f7895f2a4f647891f7bf0f5e67df8ae0d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/02200f6f7895f2a4f647891f7bf0f5e67df8ae0d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6051359" author="xgen-internal-githook" created="Tue, 30 Jan 2024 04:12:39 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-84722&quot; title=&quot;Create undocumented server parameter to skip document validation on insert code path for internal usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-84722&quot;&gt;&lt;del&gt;SERVER-84722&lt;/del&gt;&lt;/a&gt; Create internal server parameter to allow users to insert documents larger than the 16mb maximum user BSON size (#18255)&lt;/p&gt;

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

&lt;p&gt;GitOrigin-RevId: 77d77b0781ab0697e7454c59f8da798813239c6b&lt;br/&gt;
Branch: v7.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1db1781b4a707882e6308316ae0d25cdbf01451a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1db1781b4a707882e6308316ae0d25cdbf01451a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6051358" author="xgen-internal-githook" created="Tue, 30 Jan 2024 04:10:52 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-84722&quot; title=&quot;Create undocumented server parameter to skip document validation on insert code path for internal usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-84722&quot;&gt;&lt;del&gt;SERVER-84722&lt;/del&gt;&lt;/a&gt; Create internal server parameter to allow users to insert documents larger than the 16mb maximum user BSON size (#18255)&lt;/p&gt;

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

&lt;p&gt;GitOrigin-RevId: 76e53c9b8451d9530c5159ff55e2a06ab73e8f73&lt;br/&gt;
Branch: v7.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a8d9c37c7351f3c68babf3476ccf42578643b01b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a8d9c37c7351f3c68babf3476ccf42578643b01b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6051356" author="xgen-internal-githook" created="Tue, 30 Jan 2024 04:08:37 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-84722&quot; title=&quot;Create undocumented server parameter to skip document validation on insert code path for internal usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-84722&quot;&gt;&lt;del&gt;SERVER-84722&lt;/del&gt;&lt;/a&gt; Create internal server parameter to allow users to insert documents larger than the 16mb maximum user BSON size (#18255)&lt;/p&gt;

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

&lt;p&gt;GitOrigin-RevId: 35d7783145ab3160b95d95d4a540ebbe0bfb00d5&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3e4b71cb010e2ea21228d3d3328beb83d83db637&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3e4b71cb010e2ea21228d3d3328beb83d83db637&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6043284" author="xgen-internal-githook" created="Fri, 26 Jan 2024 00:03:58 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Ali Mir&apos;, &apos;email&apos;: &apos;ali.mir@mongodb.com&apos;, &apos;username&apos;: &apos;ali-mir&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-84722&quot; title=&quot;Create undocumented server parameter to skip document validation on insert code path for internal usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-84722&quot;&gt;&lt;del&gt;SERVER-84722&lt;/del&gt;&lt;/a&gt; Create internal server parameter to allow users to insert documents larger than the 16mb maximum user BSON size (#18255)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 7b27c54d39d8146fc31fd1959d92df78e75d4f2b&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c8f82a658c6b020839b1db97675da90df0a68380&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c8f82a658c6b020839b1db97675da90df0a68380&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>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2542469">SERVER-84734</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="27038"><![CDATA[v7.3]]></customfieldvalue>
    <customfieldvalue key="25578"><![CDATA[v7.0]]></customfieldvalue>
    <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.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[[5006R00001yHqrQQAS]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 22 Jan 2024 22:37:36 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 week 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>We&amp;#39;ve added a server parameter to allow users to insert documents larger than the 16mb BSON user limit, specifically for backup/restore. This is for PIT restores with very large oplog entries. See HELP-54156 for details.</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>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 week ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ali.mir@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i37itz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2p8xw:</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_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="7970">Repl 2024-01-22</customfieldvalue>
    <customfieldvalue id="7971">Repl 2024-02-05</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>
    
                        </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|i374zb:</customfieldvalue>

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