<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:13:12 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-47071] CheckReplOplogs can fail to detect a mismatch</title>
                <link>https://jira.mongodb.org/browse/SERVER-47071</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We can see in &lt;a href=&quot;https://jira.mongodb.org/browse/WT-5849?focusedCommentId=2991086&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2991086&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt; from &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=max.hirschhorn&quot; class=&quot;user-hover&quot; rel=&quot;max.hirschhorn&quot;&gt;max.hirschhorn&lt;/a&gt; that CheckReplOplogs did not fail when a node was missing an oplog entry. We should investigate why and fix the hook to catch that case.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1288343">SERVER-47071</key>
            <summary>CheckReplOplogs can fail to detect a mismatch</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="lingzhi.deng@mongodb.com">Lingzhi Deng</assignee>
                                    <reporter username="judah.schvimer@mongodb.com">Judah Schvimer</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 Mar 2020 12:37:06 +0000</created>
                <updated>Sun, 29 Oct 2023 22:10:24 +0000</updated>
                            <resolved>Fri, 10 Apr 2020 02:46:01 +0000</resolved>
                                                    <fixVersion>4.0.19</fixVersion>
                    <fixVersion>4.2.7</fixVersion>
                    <fixVersion>4.4.0-rc3</fixVersion>
                    <fixVersion>4.7.0</fixVersion>
                                    <component>Replication</component>
                    <component>Testing Infrastructure</component>
                                        <votes>2</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3053368" author="xgen-internal-githook" created="Thu, 23 Apr 2020 19:49:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47071&quot; title=&quot;CheckReplOplogs can fail to detect a mismatch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47071&quot;&gt;&lt;del&gt;SERVER-47071&lt;/del&gt;&lt;/a&gt;: skipCheckDBHashes for seed_secondary_without_sessions_table.js&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7bffc86bd02fb992f14bcce7bf686ca67adbf6a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7bffc86bd02fb992f14bcce7bf686ca67adbf6a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3053367" author="xgen-internal-githook" created="Thu, 23 Apr 2020 19:49:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47071&quot; title=&quot;CheckReplOplogs can fail to detect a mismatch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47071&quot;&gt;&lt;del&gt;SERVER-47071&lt;/del&gt;&lt;/a&gt;: Fix CheckReplOplogs hook&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 1700c42daa8b88c17ca49814b7752b9a1b14d3db)&lt;br/&gt;
(cherry picked from commit 560ee7f0ac9407c37989d2b00cabbc27e183edbc)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ef971dc0d15f1829081245fdb9986ea6040d1d81&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ef971dc0d15f1829081245fdb9986ea6040d1d81&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3052980" author="xgen-internal-githook" created="Thu, 23 Apr 2020 16:57:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47071&quot; title=&quot;CheckReplOplogs can fail to detect a mismatch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47071&quot;&gt;&lt;del&gt;SERVER-47071&lt;/del&gt;&lt;/a&gt;: Fix CheckReplOplogs hook&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 1700c42daa8b88c17ca49814b7752b9a1b14d3db)&lt;br/&gt;
(cherry picked from commit 560ee7f0ac9407c37989d2b00cabbc27e183edbc)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a7206698e24a77abdcf2d1edae718a822a947d98&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a7206698e24a77abdcf2d1edae718a822a947d98&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3052215" author="xgen-internal-githook" created="Thu, 23 Apr 2020 03:38:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47071&quot; title=&quot;CheckReplOplogs can fail to detect a mismatch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47071&quot;&gt;&lt;del&gt;SERVER-47071&lt;/del&gt;&lt;/a&gt;: Fix TypeError after the CheckReplOplogs hook fails&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 560ee7f0ac9407c37989d2b00cabbc27e183edbc)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c3b47f6e122ae36ff297944a9d90ab9f1151ec17&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c3b47f6e122ae36ff297944a9d90ab9f1151ec17&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3052214" author="xgen-internal-githook" created="Thu, 23 Apr 2020 03:38:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47071&quot; title=&quot;CheckReplOplogs can fail to detect a mismatch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47071&quot;&gt;&lt;del&gt;SERVER-47071&lt;/del&gt;&lt;/a&gt;: Fix CheckReplOplogs hook&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 1700c42daa8b88c17ca49814b7752b9a1b14d3db)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fd3180b60cba3d28b651b7b2d69e70f8b7e2931d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fd3180b60cba3d28b651b7b2d69e70f8b7e2931d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3034351" author="xgen-internal-githook" created="Thu, 9 Apr 2020 22:59:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47071&quot; title=&quot;CheckReplOplogs can fail to detect a mismatch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47071&quot;&gt;&lt;del&gt;SERVER-47071&lt;/del&gt;&lt;/a&gt;: Fix TypeError after the CheckReplOplogs hook fails&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/560ee7f0ac9407c37989d2b00cabbc27e183edbc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/560ee7f0ac9407c37989d2b00cabbc27e183edbc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3033898" author="lingzhi.deng" created="Thu, 9 Apr 2020 19:08:37 +0000"  >&lt;p&gt;Found another issue where if the hook fails, &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8c7d32e37a2c82d08bfe7fb7cd755ac0022a53a8/src/mongo/shell/replsettest.js#L2521&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;this&lt;/tt&gt; in &lt;tt&gt;assertOplogEntriesEq&lt;/tt&gt; would be undefined&lt;/a&gt; given &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8c7d32e37a2c82d08bfe7fb7cd755ac0022a53a8/src/mongo/shell/replsettest.js#L2583-L2584&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;how we call the function&lt;/a&gt;. I think we should do &lt;tt&gt;assertOplogEntriesEq.call&lt;/tt&gt; instead. This bug doesn&apos;t affect the oplog checks but it would fail to dump the oplog when the hook fails. I am reopening this ticket for the fix. &lt;/p&gt;</comment>
                            <comment id="3031489" author="xgen-internal-githook" created="Wed, 8 Apr 2020 17:29:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Lingzhi Deng&apos;, &apos;email&apos;: &apos;lingzhi.deng@mongodb.com&apos;, &apos;username&apos;: &apos;ldennis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47071&quot; title=&quot;CheckReplOplogs can fail to detect a mismatch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47071&quot;&gt;&lt;del&gt;SERVER-47071&lt;/del&gt;&lt;/a&gt;: Fix CheckReplOplogs hook&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1700c42daa8b88c17ca49814b7752b9a1b14d3db&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1700c42daa8b88c17ca49814b7752b9a1b14d3db&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3031320" author="lingzhi.deng" created="Wed, 8 Apr 2020 16:29:22 +0000"  >&lt;p&gt;This was caused by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37042&quot; title=&quot;Handle exceptions from cursor.next in ReplSetTest&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37042&quot;&gt;&lt;del&gt;SERVER-37042&lt;/del&gt;&lt;/a&gt;. &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8c7d32e37a2c82d08bfe7fb7cd755ac0022a53a8/src/mongo/shell/replsettest.js#L2472-L2482&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;OplogReader.next()&lt;/tt&gt; and &lt;tt&gt;OplogReader.hasNext()&lt;/tt&gt;&lt;/a&gt; are both missing a return statement and are effectively returning &lt;tt&gt;undefined&lt;/tt&gt;. This makes the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/8c7d32e37a2c82d08bfe7fb7cd755ac0022a53a8/src/mongo/shell/replsettest.js#L2566&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;subsequent &lt;tt&gt;hasNext()&lt;/tt&gt; call&lt;/a&gt; always return &quot;false&quot;, skipping the entire oplog check.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="601131">SERVER-37042</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1274731">WT-5849</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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    <customfieldvalue key="15640"><![CDATA[v4.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, 8 Apr 2020 16:29:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 41 weeks, 6 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>
                            3 years, 41 weeks, 6 days ago
                        </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>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>lingzhi.deng@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxawpj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwymbz:</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="3769">Repl 2020-04-20</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|hxaiyv:</customfieldvalue>

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