<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:13:16 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-6972] C++ driver should use isMaster, not replSetGetStatus, to monitor health of a replica set</title>
                <link>https://jira.mongodb.org/browse/SERVER-6972</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It is a part of the driver spec that all drivers should use isMaster for monitoring the health of a replica set and for node discovery.  The C++ driver is the only driver that uses replSetGetStatus.  This causes several problems, the most major of which is that replSetGetStatus requires auth to run, so it is currently completely impossible to use the C++ driver on an authenticated cluster.  Another potential problem is that replSetGetStatus is a heavier command that may take locks and puts more load on the server than isMaster does.  Mongos currently isn&apos;t using any information from replSetGetStatus that isn&apos;t available in isMaster, so we should be able to use isMaster instead without losing any functionality.&lt;/p&gt;</description>
                <environment></environment>
        <key id="49910">SERVER-6972</key>
            <summary>C++ driver should use isMaster, not replSetGetStatus, to monitor health of a 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="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="9">Done</resolution>
                                        <assignee username="spencer@mongodb.com">Spencer Brody</assignee>
                                    <reporter username="spencer@mongodb.com">Spencer Brody</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Sep 2012 20:18:46 +0000</created>
                <updated>Mon, 11 Jul 2016 17:58:11 +0000</updated>
                            <resolved>Tue, 2 Apr 2013 14:53:40 +0000</resolved>
                                    <version>2.0.7</version>
                    <version>2.2.0</version>
                                    <fixVersion>2.5.0</fixVersion>
                                    <component>Internal Client</component>
                    <component>Security</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="304168" author="auto" created="Tue, 2 Apr 2013 15:05:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-04-02T15:04:52Z&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6972&quot; title=&quot;C++ driver should use isMaster, not replSetGetStatus, to monitor health of a replica set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6972&quot;&gt;&lt;del&gt;SERVER-6972&lt;/del&gt;&lt;/a&gt; Fix test compilation&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e50383635fe7ff08ff420d2659ee9faca74b641f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e50383635fe7ff08ff420d2659ee9faca74b641f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="304151" author="auto" created="Tue, 2 Apr 2013 14:49:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-03-15T18:46:45Z&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6972&quot; title=&quot;C++ driver should use isMaster, not replSetGetStatus, to monitor health of a replica set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6972&quot;&gt;&lt;del&gt;SERVER-6972&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6495&quot; title=&quot;Authing a RO user against rs with no primary doesn&amp;#39;t work&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6495&quot;&gt;&lt;del&gt;SERVER-6495&lt;/del&gt;&lt;/a&gt; Use isMaster instead of replSetGetStatus for monitoring the health of a replica set&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2d0f6cc207ac4574ead4bb4728bfef1e22229b67&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2d0f6cc207ac4574ead4bb4728bfef1e22229b67&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="261376" author="auto" created="Fri, 8 Feb 2013 21:58:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-02-08T20:22:22Z&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;}
&lt;p&gt;Message: Skip jstests/sharding/read_pref.js when running test with auth &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6972&quot; title=&quot;C++ driver should use isMaster, not replSetGetStatus, to monitor health of a replica set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6972&quot;&gt;&lt;del&gt;SERVER-6972&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4237&quot; title=&quot;Enable the full js test suite to run with authentication enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4237&quot;&gt;&lt;del&gt;SERVER-4237&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/288df8991ba54a02e034b7a45068acf1972071c9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/288df8991ba54a02e034b7a45068acf1972071c9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="249009" author="auto" created="Thu, 24 Jan 2013 21:06:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2013-01-24T20:20:04Z&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4237&quot; title=&quot;Enable the full js test suite to run with authentication enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4237&quot;&gt;&lt;del&gt;SERVER-4237&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6972&quot; title=&quot;C++ driver should use isMaster, not replSetGetStatus, to monitor health of a replica set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6972&quot;&gt;&lt;del&gt;SERVER-6972&lt;/del&gt;&lt;/a&gt; Skip jstests/sharding/read_pref_cmd.js when run with auth&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4621e405d98606b869421a4bdc7a8aed63b6616e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4621e405d98606b869421a4bdc7a8aed63b6616e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="183683" author="auto" created="Wed, 7 Nov 2012 19:04:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-11-07T01:48:16Z&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4237&quot; title=&quot;Enable the full js test suite to run with authentication enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4237&quot;&gt;&lt;del&gt;SERVER-4237&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6972&quot; title=&quot;C++ driver should use isMaster, not replSetGetStatus, to monitor health of a replica set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6972&quot;&gt;&lt;del&gt;SERVER-6972&lt;/del&gt;&lt;/a&gt; Skip gle_with_conf_servers when running tests with auth&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/57f1be7c72d00eb78c3470f46bfcb9c0e7c0af20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/57f1be7c72d00eb78c3470f46bfcb9c0e7c0af20&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="162624" author="auto" created="Mon, 10 Sep 2012 20:32:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-07T13:23:07-07:00&apos;, u&apos;email&apos;: u&apos;spencer@10gen.com&apos;, u&apos;name&apos;: u&apos;Spencer T Brody&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-6972&quot; title=&quot;C++ driver should use isMaster, not replSetGetStatus, to monitor health of a replica set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-6972&quot;&gt;&lt;del&gt;SERVER-6972&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4237&quot; title=&quot;Enable the full js test suite to run with authentication enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4237&quot;&gt;&lt;del&gt;SERVER-4237&lt;/del&gt;&lt;/a&gt; Skip sharding/read_pref_rs_client.js when running with auth&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bbc53eca04200a1c16d8e202886e4ffe0f595759&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bbc53eca04200a1c16d8e202886e4ffe0f595759&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="86655">DOCS-1836</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="78175">SERVER-9874</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="68982">SERVER-9021</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="34608">SERVER-5392</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31399">SERVER-5058</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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 10 Sep 2012 20:32:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 46 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 46 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></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>auto</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnphz:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5528</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|hribj3:</customfieldvalue>

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