<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:59:55 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-42223] Use checkpoint cursors for collection validation when {background:true} is requested</title>
                <link>https://jira.mongodb.org/browse/SERVER-42223</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Opening the checkpoint cursors must be a mutually exclusive operation with taking new WT checkpoints.&lt;/p&gt;</description>
                <environment></environment>
        <key id="856078">SERVER-42223</key>
            <summary>Use checkpoint cursors for collection validation when {background:true} is requested</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="dianna.hohensee@mongodb.com">Dianna Hohensee</assignee>
                                    <reporter username="dianna.hohensee@mongodb.com">Dianna Hohensee</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Jul 2019 21:31:38 +0000</created>
                <updated>Sun, 29 Oct 2023 22:19:04 +0000</updated>
                            <resolved>Wed, 4 Sep 2019 00:48:48 +0000</resolved>
                                                    <fixVersion>4.3.1</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2406324" author="xgen-internal-githook" created="Tue, 3 Sep 2019 23:14:31 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Dianna Hohensee&apos;, &apos;email&apos;: &apos;dianna.hohensee@mongodb.com&apos;}
&lt;p&gt;Message: &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; Use checkpoint cursors for collection validation when &lt;/p&gt;
{background:true}
&lt;p&gt; is requested&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/82eb1202120ce29c57f55333000a93d338c65baa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/82eb1202120ce29c57f55333000a93d338c65baa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2370517" author="gregory.wlodarek" created="Wed, 14 Aug 2019 13:31:15 +0000"  >&lt;p&gt;The &lt;tt&gt;validate_tests.cpp&lt;/tt&gt; are already &lt;a href=&quot;https://github.com/mongodb/mongo/blob/05d641c6cc47257783252e04160e4ef895a34f52/src/mongo/dbtests/validate_tests.cpp#L62&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;setup&lt;/a&gt; to test background validation. We just need to ensure that all existing tests have the corresponding background one attached &lt;a href=&quot;https://github.com/mongodb/mongo/blob/05d641c6cc47257783252e04160e4ef895a34f52/src/mongo/dbtests/validate_tests.cpp#L1391-L1429&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2368754" author="dianna.hohensee" created="Tue, 13 Aug 2019 15:14:37 +0000"  >&lt;p&gt;There might be validation testing in dbtest.&lt;/p&gt;</comment>
                            <comment id="2367785" author="dianna.hohensee" created="Mon, 12 Aug 2019 21:33:36 +0000"  >&lt;p&gt;I&apos;d also like to double check what &lt;a href=&quot;https://github.com/mongodb/mongo/blob/b2e2c0fb3aba4228cac47aff35786dc7b386f46c/src/mongo/db/catalog/collection_validation.cpp#L119-L120&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this currently dead code&lt;/a&gt; proposes to do differently for background validations and why.&lt;/p&gt;</comment>
                            <comment id="2367152" author="dianna.hohensee" created="Mon, 12 Aug 2019 17:30:17 +0000"  >&lt;p&gt;I&apos;ve been told we update the in-memory collection object&apos;s stats with the results of the validate cmd. We&apos;ll need to stop doing this for {background:true} because the stats will be based on the checkpoint, not the current state of the collection.&lt;/p&gt;

&lt;p&gt;Adding some invariants for mode X lock being held for kValidateFull sections of the code would also be good to have.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;UPDATE&lt;/b&gt; &lt;a href=&quot;https://github.com/mongodb/mongo/blob/22e98452c5eb9a4a0c08616a421e4894751966c9/src/mongo/db/catalog/record_store_validate_adaptor.cpp#L258-L260&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this looks like it is probably a stats update place&lt;/a&gt;. I do not if it is the only one, however.&lt;/p&gt;

&lt;p&gt;Lastly, we&apos;ll need to re-consider the invariants in collection_validation.cpp, make sure the assumptions are still safe or need to be conditional with background:false being set.&lt;/p&gt;</comment>
                            <comment id="2364756" author="dianna.hohensee" created="Fri, 9 Aug 2019 15:19:55 +0000"  >&lt;p&gt;Unit tests will be needed for this functionality.&lt;/p&gt;

&lt;p&gt;I would also like to try to add new unit tests for any existing code lacking testing coverage &amp;#8211; alternatively, take a look while in the code and file an additional ticket to do add any missing coverage found.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="855990">SERVER-42218</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="856001">SERVER-42220</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="856046">SERVER-42221</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="856071">SERVER-42222</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="867994">SERVER-42289</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="904108">SERVER-42978</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="408798">SERVER-30357</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="915284">SERVER-43134</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>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_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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 14 Aug 2019 13:31:15 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 23 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-42222'>SERVER-42222</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-42221'>SERVER-42221</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-42220'>SERVER-42220</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-42218'>SERVER-42218</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-42289'>SERVER-42289</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-42978'>SERVER-42978</a></s>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-822</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>
                            4 years, 23 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>gregory.wlodarek@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hve6yf:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3092">Execution Team 2019-08-26</customfieldvalue>
    <customfieldvalue id="3210">Execution Team 2019-09-09</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|hvdt7r:</customfieldvalue>

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