<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:58 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>[JAVA-301] Replicaset w/auth warnings too verbose when not auth&apos;d against local/admin db</title>
                <link>https://jira.mongodb.org/browse/JAVA-301</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The is too verbose. It should not log every time this comes up.&lt;/p&gt;

&lt;p&gt;This seems to only be important in checking the replset name to make sure it is the name expected; in this case I think this msg should be moved to &quot;info&quot; level, or only printed once.&lt;/p&gt;

&lt;p&gt;In fact, this should just get the setName from isMaster and there won&apos;t be an auth problem at all (until we need to check something more):&lt;/p&gt;

&lt;p&gt;test:PRIMARY&amp;gt; db.runCommand(&quot;isMaster&quot;)                                                                                                                                                      &lt;br/&gt;
{&lt;br/&gt;
        &quot;setName&quot; : &quot;test&quot;,&lt;br/&gt;
        &quot;ismaster&quot; : true,&lt;br/&gt;
        &quot;secondary&quot; : false,&lt;br/&gt;
        &quot;hosts&quot; : [&lt;br/&gt;
                &quot;stump:2003&quot;,&lt;br/&gt;
                &quot;stump:2002&quot;,&lt;br/&gt;
                &quot;stump:2001&quot;&lt;br/&gt;
        ],&lt;br/&gt;
        &quot;maxBsonObjectSize&quot; : 16777216,&lt;br/&gt;
        &quot;ok&quot; : 1&lt;br/&gt;
}&lt;/p&gt;</description>
                <environment></environment>
        <key id="15183">JAVA-301</key>
            <summary>Replicaset w/auth warnings too verbose when not auth&apos;d against local/admin db</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="9">Done</resolution>
                                        <assignee username="scotthernandez">Scott Hernandez</assignee>
                                    <reporter username="scotthernandez">Scott Hernandez</reporter>
                        <labels>
                    </labels>
                <created>Sat, 19 Mar 2011 15:46:53 +0000</created>
                <updated>Wed, 23 Mar 2011 21:21:38 +0000</updated>
                            <resolved>Mon, 21 Mar 2011 23:57:56 +0000</resolved>
                                    <version>2.5</version>
                                    <fixVersion>2.5.1</fixVersion>
                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="26470" author="antoine" created="Tue, 22 Mar 2011 07:58:25 +0000"  >&lt;p&gt;so the reason why it wasnt using isMaster before is that until mongodb 1.7 replset name is not included in isMaster output.&lt;br/&gt;
This means that people still using 1.6 with 2.5 driver will not pick up replset name.&lt;br/&gt;
I dont think it&apos;s a big deal since it doesnt do much with it, it just prints a warning in log if the repl set name changes.&lt;/p&gt;</comment>
                            <comment id="26445" author="scotthernandez" created="Mon, 21 Mar 2011 23:57:56 +0000"  >&lt;p&gt;I changed to use isMaster so it will not log and doesn&apos;t require authentication to admin/local.&lt;/p&gt;</comment>
                            <comment id="26441" author="auto" created="Mon, 21 Mar 2011 23:50:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;scotthernandez&apos;, u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-301&quot; title=&quot;Replicaset w/auth warnings too verbose when not auth&amp;#39;d against local/admin db&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-301&quot;&gt;&lt;del&gt;JAVA-301&lt;/del&gt;&lt;/a&gt;: fix check to use isMaster for replSet name&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/8ecffdabe0af719fcc74d68e73d095380aa40541&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/8ecffdabe0af719fcc74d68e73d095380aa40541&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrhcdb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14804</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>