<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:48: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-60048] CheckReplDBHash should not fail for cases where we expect retryable findAndModify images to be inconsistent after a restart</title>
                <link>https://jira.mongodb.org/browse/SERVER-60048</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A case where we expect the images in config.images_collection to be inconsistent:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;As a secondary, we begin applying some batch (say, TS(74) -&amp;gt; TS(77)) with current top of oplog/last applied at TS(73)&lt;/li&gt;
	&lt;li&gt;We write minValid: TS(77)&lt;/li&gt;
	&lt;li&gt;A checkpoint happens. The stable timestamp is 73&lt;/li&gt;
	&lt;li&gt;We crash. We startup and do an untimestamped write to the minValid document to update the appliedThrough field.&lt;/li&gt;
	&lt;li&gt;The batch gets applied. &lt;a href=&quot;https://github.com/mongodb/mongo/blob/c4339e6e20c2d6cac811fb0d91a7b0ad9390957d/src/mongo/db/repl/oplog_applier_impl.cpp#L499&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;isDataConsistent&lt;/a&gt; will evaluate to false on startup, which will cause us to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/c4339e6e20c2d6cac811fb0d91a7b0ad9390957d/src/mongo/db/repl/oplog.cpp#L172&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mark the image as invalid&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We should have CheckReplDBHash avoid failing in the case where both:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The inconsistency is in config.images_collection and it is due to images being invalidated&lt;/li&gt;
	&lt;li&gt;we expect server crashes/restarts in the test&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1877410">SERVER-60048</key>
            <summary>CheckReplDBHash should not fail for cases where we expect retryable findAndModify images to be inconsistent after a restart</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="jason.chan@mongodb.com">Jason Chan</assignee>
                                    <reporter username="jason.chan@mongodb.com">Jason Chan</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Sep 2021 16:50:13 +0000</created>
                <updated>Sun, 29 Oct 2023 21:48:29 +0000</updated>
                            <resolved>Thu, 4 Nov 2021 14:48:38 +0000</resolved>
                                                    <fixVersion>5.2.0</fixVersion>
                    <fixVersion>5.0.6</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4294493" author="xgen-internal-githook" created="Fri, 14 Jan 2022 23:37:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jason Chan&apos;, &apos;email&apos;: &apos;jason.chan@mongodb.com&apos;, &apos;username&apos;: &apos;jasonjhchan&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-60048&quot; title=&quot;CheckReplDBHash should not fail for cases where we expect retryable findAndModify images to be inconsistent after a restart&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-60048&quot;&gt;&lt;del&gt;SERVER-60048&lt;/del&gt;&lt;/a&gt; CheckReplDBHash should not fail for cases where we expect retryable findAndModify images to be inconsistent after a restart&lt;/p&gt;

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

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61923&quot; title=&quot;Shell&amp;#39;s consistency checker can mask an error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61923&quot;&gt;&lt;del&gt;SERVER-61923&lt;/del&gt;&lt;/a&gt; Fix bug where consistency checker can mask error due to ignoring inconsistency in image collections&lt;/p&gt;

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

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61610&quot; title=&quot;Fix logic around ignoring dbhash mismatches for invalidated retryable findAndModify images&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61610&quot;&gt;&lt;del&gt;SERVER-61610&lt;/del&gt;&lt;/a&gt; Fix ignore dbHash mismatches for invalidated retryable FaM images&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 1b5fee201b23fb7c88025cebbd0f113fa2756747)&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7c1f9a4aaad7a8e58fd8cbf9bffd7465ed84feef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7c1f9a4aaad7a8e58fd8cbf9bffd7465ed84feef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4232822" author="jason.chan" created="Mon, 6 Dec 2021 17:39:54 +0000"  >&lt;p&gt;Requesting backport to 5.0/5.1 since this can happen in older branches as well. We expect this failure to be quite rare. Branches older than 5.0 have the new retryable findAndModify behavior disabled by default and won&apos;t run tests with the new behavior as frequently, so we may be able to get away with ignoring those versions for now.&lt;/p&gt;</comment>
                            <comment id="4169358" author="xgen-internal-githook" created="Thu, 4 Nov 2021 14:44:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jason Chan&apos;, &apos;email&apos;: &apos;jason.chan@mongodb.com&apos;, &apos;username&apos;: &apos;jasonjhchan&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-60048&quot; title=&quot;CheckReplDBHash should not fail for cases where we expect retryable findAndModify images to be inconsistent after a restart&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-60048&quot;&gt;&lt;del&gt;SERVER-60048&lt;/del&gt;&lt;/a&gt; CheckReplDBHash should not fail for cases where we expect retryable findAndModify images to be inconsistent after a restart&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bd9939bf4f98cced5b8dcd1f7249431ed5ee688c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bd9939bf4f98cced5b8dcd1f7249431ed5ee688c&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="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                        <issuelink>
            <issuekey id="1943307">SERVER-61923</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1975946">SERVER-63214</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="22495"><![CDATA[v5.1]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.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, 3 Nov 2021 14:39:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 3 weeks, 5 days 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_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_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>
                            2 years, 3 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>19.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jason.chan@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0255z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzlzwv:</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="5143">Repl 2021-09-20</customfieldvalue>
    <customfieldvalue id="5144">Repl 2021-10-04</customfieldvalue>
    <customfieldvalue id="5145">Repl 2021-10-18</customfieldvalue>
    <customfieldvalue id="5147">Repl 2021-11-01</customfieldvalue>
    <customfieldvalue id="5528">Replication 2021-11-15</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|i01rbb:</customfieldvalue>

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