<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:07:05 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-13157] Investigate changes in SERVER-30357: Allow users to run the validate cmd with {background:true}</title>
                <link>https://jira.mongodb.org/browse/DOCS-13157</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;h2&gt;&lt;a name=&quot;Description&quot;&gt;&lt;/a&gt;Description&lt;/h2&gt;

    &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;Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #c2d2c2;&quot;&gt;
&lt;p&gt;    The validate cmd can now run {background:true}. The default for the background parameter is false. {background:true} and {full:true} are incompatible: only one or the other may be true in a single cmd.&lt;/p&gt;

&lt;p&gt;Background validation can run concurrently with CRUD and DDL operations. It periodically yields locks to allow CRUD and DDL ops to run concurrently, and will return an error if the collection or an index is dropped that it is validating.&lt;/p&gt;

&lt;p&gt;Background validation only runs on checkpoint&apos;ed data, which is only supported by the &apos;wiredTiger&apos; storage engine, and so background validation is only supported on the &apos;wiredTiger&apos; storage engine.&lt;/p&gt;

&lt;p&gt;If a collection has not yet been checkpoint&apos;ed, then the validate cmd benignly returns ok:1 with valid:true and only a warning in the &apos;warning&apos; field.&lt;/p&gt;

&lt;p&gt;If an index is too newly created to have been checkpoint&apos;ed, then validate w/ background:true will ignore it (won&apos;t run validation on it). If an index has been checkpoint&apos;ed, but dropped and the drop hasn&apos;t yet been checkpoint&apos;ed, then that index will be ignored as well: no point validating a dropped index.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    Instead of the existing code&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;background = false;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;in validate.cpp, we will parse the user cmd request&apos;s &quot;&lt;b&gt;background&lt;/b&gt;&quot; field and initialize it with that value. If unspecified, &quot;&lt;b&gt;background&lt;/b&gt;&quot; defaults to false. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-42223&quot; title=&quot;Use checkpoint cursors for collection validation when {background:true} is requested&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-42223&quot;&gt;&lt;del&gt;SERVER-42223&lt;/del&gt;&lt;/a&gt; will set up the code to act on &lt;b&gt;background==false&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Additionally, return an error if&#160;&lt;b&gt;{full:true}&lt;/b&gt;&#160;is specified along with&#160;&lt;b&gt;{background:true}&lt;/b&gt;.&lt;/p&gt;


&lt;h2&gt;&lt;a name=&quot;Scopeofchanges&quot;&gt;&lt;/a&gt;Scope of changes&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;ImpacttoOtherDocs&quot;&gt;&lt;/a&gt;Impact to Other Docs&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;MVP%28WorkandDate%29&quot;&gt;&lt;/a&gt;MVP (Work and Date)&lt;/h2&gt;

&lt;h2&gt;&lt;a name=&quot;Resources%28ScopeorDesignDocs%2CInvision%2Cetc.%29&quot;&gt;&lt;/a&gt;Resources (Scope or Design Docs, Invision, etc.)&lt;/h2&gt;
</description>
                <environment></environment>
        <key id="974717">DOCS-13157</key>
            <summary>Investigate changes in SERVER-30357: Allow users to run the validate cmd with {background:true}</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="kay.kim@mongodb.com">Kay Kim</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Oct 2019 19:12:18 +0000</created>
                <updated>Mon, 13 Nov 2023 18:14:47 +0000</updated>
                            <resolved>Wed, 5 Feb 2020 21:14:33 +0000</resolved>
                                                    <fixVersion>4.3.1</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3219881" author="xgen-internal-githook" created="Tue, 23 Jun 2020 16:05:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;, &apos;username&apos;: &apos;kay-kim&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13157&quot; title=&quot;Investigate changes in SERVER-30357: Allow users to run the validate cmd with {background:true}&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13157&quot;&gt;&lt;del&gt;DOCS-13157&lt;/del&gt;&lt;/a&gt;: background validation&quot; per &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13681&quot; title=&quot;Undocument background : true&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13681&quot;&gt;&lt;del&gt;DOCS-13681&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This reverts commit 931f303d1ccc9fec16dfb466d1c76133242a257c.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/12018796a5b3cd983cc0a974baafb2c5786235ab&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/12018796a5b3cd983cc0a974baafb2c5786235ab&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2785787" author="xgen-internal-githook" created="Wed, 5 Feb 2020 21:14:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kay Kim&apos;, &apos;username&apos;: &apos;kay-kim&apos;, &apos;email&apos;: &apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13157&quot; title=&quot;Investigate changes in SERVER-30357: Allow users to run the validate cmd with {background:true}&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13157&quot;&gt;&lt;del&gt;DOCS-13157&lt;/del&gt;&lt;/a&gt;: background validation&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/931f303d1ccc9fec16dfb466d1c76133242a257c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/931f303d1ccc9fec16dfb466d1c76133242a257c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2773592" author="kay.kim@10gen.com" created="Thu, 30 Jan 2020 19:24:40 +0000"  >&lt;p&gt;Will do.&lt;/p&gt;

&lt;p&gt;I&apos;ll do the background validation docs in 2 parts.&lt;/p&gt;

&lt;p&gt;Part 1: to lay the groundwork, with regards to the validate() parameters, etc. -  &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13058&quot; title=&quot;Investigate changes in SERVER-43644: validate() in shell/collections.js should only accept an object, not also a boolean which is interpreted as the &amp;#39;full&amp;#39; option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13058&quot;&gt;&lt;del&gt;DOCS-13058&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Part 2: once that ticket is reviewed, will add more details regarding background validate with this DOC.&lt;/p&gt;</comment>
                            <comment id="2493327" author="dianna.hohensee" created="Mon, 21 Oct 2019 19:37:21 +0000"  >&lt;p&gt;Let me know if you need more information about checkpoints. I think checkpoints will have to be explained to a certain degree for the user to understand what background validation is running against.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="408798">SERVER-30357</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="915284">SERVER-43134</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="898498">DOCS-12961</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="929624">DOCS-13031</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="897392">DOCS-12958</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="940383">DOCS-13058</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1367851">DOCS-13681</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>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 21 Oct 2019 19:37:21 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 33 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCS-12787</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>
                            3 years, 33 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvycuv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvmsvz:</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|hvxz47:</customfieldvalue>

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