<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:33:36 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-33498] ReplSetTest.checkReplicaSet fails when run against a config server replica set.</title>
                <link>https://jira.mongodb.org/browse/SERVER-33498</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/v3.4/src/mongo/shell/replsettest.js#L1182-L1183&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;checkReplicaSet&lt;/a&gt; fails with the following message:&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;w:&apos;majority&apos; is the only valid write concern when writing to config servers&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;This is failing as part of the validation checking at the end of the 3.4 testsuite.&lt;/p&gt;</description>
                <environment></environment>
        <key id="502582">SERVER-33498</key>
            <summary>ReplSetTest.checkReplicaSet fails when run against a config server replica set.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="3">Duplicate</resolution>
                                        <assignee username="max.hirschhorn@mongodb.com">Max Hirschhorn</assignee>
                                    <reporter username="jim.oleary@mongodb.com">James O&apos;Leary</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Feb 2018 18:49:47 +0000</created>
                <updated>Wed, 7 Mar 2018 14:37:08 +0000</updated>
                            <resolved>Tue, 6 Mar 2018 23:41:06 +0000</resolved>
                                    <version>3.4.11</version>
                                                    <component>JavaScript</component>
                    <component>Replication</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1825340" author="max.hirschhorn@10gen.com" created="Tue, 6 Mar 2018 23:40:55 +0000"  >&lt;p&gt;Closing as a duplicate of the linked SERVER tickets which I&apos;ve marked for backport to the 3.4 branch.&lt;/p&gt;</comment>
                            <comment id="1820919" author="jim.oleary@10gen.com" created="Fri, 2 Mar 2018 10:55:08 +0000"  >&lt;p&gt;Thankfully the config server check runs last so the rest of the replsets checks should be running.&lt;/p&gt;

&lt;p&gt;These post run checks are only ever flagged as failures if something else fails.&lt;/p&gt;

&lt;p&gt;So it may cause some noise in our output (but the frequency of these tests is low and worst case we could disable the post check for the config servers).&lt;/p&gt;</comment>
                            <comment id="1820487" author="max.hirschhorn@10gen.com" created="Thu, 1 Mar 2018 21:56:26 +0000"  >&lt;p&gt;It sounds like we&apos;ll want to backport &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21630&quot; title=&quot;Expand resmoke&amp;#39;s CheckReplDBHash support to config servers and sharded replica sets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21630&quot;&gt;&lt;del&gt;SERVER-21630&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24759&quot; title=&quot;Run resmoke.py collection validation on the config servers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24759&quot;&gt;&lt;del&gt;SERVER-24759&lt;/del&gt;&lt;/a&gt;, and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33068&quot; title=&quot;run_check_repl_dbhash.js hook exits without actually running dbhash on a replica set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33068&quot;&gt;&lt;del&gt;SERVER-33068&lt;/del&gt;&lt;/a&gt; to the 3.4 branch in order to make it correct to run the &lt;tt&gt;run_validate_collections.js&lt;/tt&gt; and &lt;tt&gt;run_check_repl_dbhash.js&lt;/tt&gt; hooks there. &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jim.oleary&quot; class=&quot;user-hover&quot; rel=&quot;jim.oleary&quot;&gt;jim.oleary&lt;/a&gt;, are you able to not run the data consistency checks against sharded clusters on the 3.4 branch until those backports can be scheduled?&lt;/p&gt;</comment>
                            <comment id="1818418" author="jim.oleary@10gen.com" created="Wed, 28 Feb 2018 13:46:36 +0000"  >&lt;p&gt;Hi Max, &lt;/p&gt;

&lt;p&gt;As part of PERF-1146, we added functionality to run the checks against each of the component replica sets (including the config servers).&lt;/p&gt;

&lt;p&gt;This code was added in late December and the failure wasn&apos;t reported until one of the other test fails. &lt;/p&gt;

&lt;p&gt;-Jim &lt;/p&gt;</comment>
                            <comment id="1817823" author="max.hirschhorn@10gen.com" created="Tue, 27 Feb 2018 22:16:56 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jim.oleary&quot; class=&quot;user-hover&quot; rel=&quot;jim.oleary&quot;&gt;jim.oleary&lt;/a&gt;, I&apos;d like to better understand how the Performance team is using the &lt;tt&gt;jstests/hooks/run_check_repl_dbhash.js&lt;/tt&gt; hook in the &lt;tt&gt;sys&amp;#45;perf&amp;#45;3.4&lt;/tt&gt; Evergreen project. Prior to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21630&quot; title=&quot;Expand resmoke&amp;#39;s CheckReplDBHash support to config servers and sharded replica sets&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21630&quot;&gt;&lt;del&gt;SERVER-21630&lt;/del&gt;&lt;/a&gt;&#8212;which isn&apos;t currently backported to the 3.4 branch&#8212;it wasn&apos;t meaningful to run the hook against a sharded cluster as it was originally designed to only run against a single replica set.&lt;/p&gt;</comment>
                            <comment id="1816463" author="esha.maharishi@10gen.com" created="Mon, 26 Feb 2018 20:35:19 +0000"  >&lt;p&gt;&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;, ok, I think backporting either set of changes is valid, and don&apos;t have much opinion on which one to choose.&lt;/p&gt;

&lt;p&gt;Since the second set of changes you suggested involves only backports to test infrastructure, and 3.4 is fairly stable by now, I slightly prefer that.&lt;/p&gt;</comment>
                            <comment id="1816457" author="max.hirschhorn@10gen.com" created="Mon, 26 Feb 2018 20:30:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=esha.maharishi&quot; class=&quot;user-hover&quot; rel=&quot;esha.maharishi&quot;&gt;esha.maharishi&lt;/a&gt;, it isn&apos;t sufficient to run a w=&quot;majority&quot; write because we&apos;re attempting to verify that all data has made it to the replica set members. We could instead address this issue purely in the &lt;tt&gt;ReplSetTest#checkReplicaSet()&lt;/tt&gt; by backporting the the combination of the changes from &lt;a href=&quot;https://github.com/mongodb/mongo/commit/5c702fedb3216b1a327d3791cd9e995fefc4ab2f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;5c702fe&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo/commit/ac84a0d028eff2b8ca42817d998cb8b34563816c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ac84a0d&lt;/a&gt; as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-28989&quot; title=&quot;Avoid dropping dummy database in ReplSetTest.prototype.checkReplicaSet()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-28989&quot;&gt;&lt;del&gt;SERVER-28989&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-30900&quot; title=&quot;remove collMod writeConcern argument from ReplSetTest.checkReplicaSet()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-30900&quot;&gt;&lt;del&gt;SERVER-30900&lt;/del&gt;&lt;/a&gt;, respectively, to the 3.4 branch.&lt;/p&gt;

&lt;p&gt;The implementation of &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.7.2/src/mongo/shell/replsettest.js#L1328-L1345&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the &lt;tt&gt;ReplSetTest#checkReplicaSet()&lt;/tt&gt; method on the master branch&lt;/a&gt; doesn&apos;t do a write to a dummy database or specify a writeConcern for the collMod commands, and instead only relies on &lt;tt&gt;ReplSetTest#awaitReplication()&lt;/tt&gt; for synchronization.&lt;/p&gt;</comment>
                            <comment id="1816427" author="esha.maharishi@10gen.com" created="Mon, 26 Feb 2018 20:17:20 +0000"  >&lt;p&gt;&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;, it can probably be backported, but if it&apos;s possible to just send the writes with majority writeConcern (there is no pressing reason why a different writeConcern is needed), that might be better.&lt;/p&gt;

&lt;p&gt;I don&apos;t remember exactly why we took that requirement out - maybe precisely to allow things like &lt;tt&gt;w: &quot;all&quot;&lt;/tt&gt; or &lt;tt&gt;w: &amp;lt;number&amp;gt;&lt;/tt&gt;, like &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jim.oleary&quot; class=&quot;user-hover&quot; rel=&quot;jim.oleary&quot;&gt;jim.oleary&lt;/a&gt;&apos;s script seems to have been doing before, or using tags? It doesn&apos;t seem like anything was blocked on it.&lt;/p&gt;</comment>
                            <comment id="1816295" author="max.hirschhorn@10gen.com" created="Mon, 26 Feb 2018 18:58:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=esha.maharishi&quot; class=&quot;user-hover&quot; rel=&quot;esha.maharishi&quot;&gt;esha.maharishi&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kaloian.manassiev&quot; class=&quot;user-hover&quot; rel=&quot;kaloian.manassiev&quot;&gt;kaloian.manassiev&lt;/a&gt;, it appears &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r3.4.13/src/mongo/db/write_concern.cpp#L109-L122&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this requirement&lt;/a&gt; was removed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-28641&quot; title=&quot;remove requirement that non-internal writes against config servers must use writeConcern &amp;#39;majority&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-28641&quot;&gt;&lt;del&gt;SERVER-28641&lt;/del&gt;&lt;/a&gt;. Are the changes from &lt;a href=&quot;https://github.com/mongodb/mongo/commit/2cee2f8b7a20d94b5ba855bf9a3d9c86db640d3f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;2cee2f8&lt;/a&gt; something which can be backported to the 3.4 branch?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="491369">SERVER-33068</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="421983">SERVER-30900</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="240711">SERVER-21630</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="441718">SERVER-31441</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="296277">SERVER-24759</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="377912">SERVER-28989</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 26 Feb 2018 18:58:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 49 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_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>jim.oleary@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 49 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.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>esha.maharishi@mongodb.com</customfieldvalue>
            <customfieldvalue>jim.oleary@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htr6en:</customfieldvalue>

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

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