<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:13: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>[SERVER-7234] Receiving Rplicaset Error intermittently without explanation: Exception: Failed on findOne(): 16340 No replica set monitor active and no cached seed found for set: rs5</title>
                <link>https://jira.mongodb.org/browse/SERVER-7234</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi, &lt;br/&gt;
We have 6 replicasets used in our production environment and we are seeing at odd times the following error in our application logs&lt;/p&gt;

&lt;p&gt;Exception: Failed on findOne(): 16340 No replica set monitor active and no &lt;br/&gt;
cached seed found for set: rs5&lt;/p&gt;

&lt;p&gt;I can&apos;t find a reference to this error code or message, so putting in a ticket hoping someone can help us understand what happens.  This usually fails and recovers 10-20 minutes later.&lt;/p&gt;

&lt;p&gt;When this happens, we check and the replica set is alive and healthy.&lt;/p&gt;

&lt;p&gt;We are using the c++ driver and using mongo 2.2&lt;/p&gt;</description>
                <environment>PRODUCTION</environment>
        <key id="52080">SERVER-7234</key>
            <summary>Receiving Rplicaset Error intermittently without explanation: Exception: Failed on findOne(): 16340 No replica set monitor active and no cached seed found for set: rs5</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="william.zola@10gen.com">William Zola</assignee>
                                    <reporter username="warren@everyscreenmedia.com">Warren Chang</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Oct 2012 20:03:20 +0000</created>
                <updated>Fri, 5 Oct 2012 16:27:49 +0000</updated>
                            <resolved>Fri, 5 Oct 2012 16:27:49 +0000</resolved>
                                    <version>2.2.0</version>
                                                    <component>Internal Client</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="171927" author="william.zola@10gen.com" created="Fri, 5 Oct 2012 16:27:21 +0000"  >&lt;p&gt;I believe that I&apos;ve answered your question, and I haven&apos;t heard back from you in a few days, so I will be closing out this case.  Have a great day!&lt;/p&gt;

&lt;p&gt; -William &lt;/p&gt;
</comment>
                            <comment id="171188" author="william.zola@10gen.com" created="Wed, 3 Oct 2012 22:15:00 +0000"  >
&lt;p&gt;Hi David!&lt;/p&gt;

&lt;p&gt;This error indicates that the C++ driver couldn&apos;t find any nodes in the replica set &apos;rs5&apos;.  &lt;/p&gt;

&lt;p&gt;Reference: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/client/dbclient_rs.cpp#L1283&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/src/mongo/client/dbclient_rs.cpp#L1283&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I note that your &quot;rs.status()&quot; output is for &apos;rs4&apos;, not &apos;rs5&apos;.  If you&apos;re trying to connect to a replica set that does not exist, you&apos;ll likely get that error.&lt;/p&gt;

&lt;p&gt;What connect string or MongoDB URL are you using to connect to the replica set?  If you&apos;re only connecting to one node from the set, and that node happens to be down, you could also get that error.&lt;/p&gt;

&lt;p&gt;Finally, networking connectivity problems between your client program and the replica set could also cause this problem.&lt;/p&gt;

&lt;p&gt;Let me know if you have further questions.  Have a great day!&lt;/p&gt;

&lt;p&gt; -William &lt;/p&gt;
</comment>
                            <comment id="171172" author="warren@everyscreenmedia.com" created="Wed, 3 Oct 2012 21:53:31 +0000"  >&lt;p&gt;Hi William,&lt;br/&gt;
We are connecting to a replica set.  the node sizes vary between 5 and 8&lt;br/&gt;
This error appears in the application code only.  &lt;/p&gt;

&lt;p&gt;I can send you the rs status, but everytime this has happened, the replicaset seems to be healthy.&lt;br/&gt;
rs4:PRIMARY&amp;gt; rs.status()&lt;br/&gt;
{&lt;br/&gt;
	&quot;set&quot; : &quot;rs4&quot;,&lt;br/&gt;
	&quot;date&quot; : ISODate(&quot;2012-10-03T21:52:57Z&quot;),&lt;br/&gt;
	&quot;myState&quot; : 1,&lt;br/&gt;
	&quot;members&quot; : [&lt;br/&gt;
		&lt;/p&gt;
{
			&quot;_id&quot; : 6,
			&quot;name&quot; : &quot;ec2-23-21-94-159.compute-1.amazonaws.com:27017&quot;,
			&quot;health&quot; : 1,
			&quot;state&quot; : 1,
			&quot;stateStr&quot; : &quot;PRIMARY&quot;,
			&quot;uptime&quot; : 1388647,
			&quot;optime&quot; : Timestamp(1349301177000, 228),
			&quot;optimeDate&quot; : ISODate(&quot;2012-10-03T21:52:57Z&quot;),
			&quot;self&quot; : true
		}
&lt;p&gt;,&lt;br/&gt;
		&lt;/p&gt;
{
			&quot;_id&quot; : 7,
			&quot;name&quot; : &quot;ec2-23-21-103-241.compute-1.amazonaws.com:27017&quot;,
			&quot;health&quot; : 1,
			&quot;state&quot; : 2,
			&quot;stateStr&quot; : &quot;SECONDARY&quot;,
			&quot;uptime&quot; : 1046655,
			&quot;optime&quot; : Timestamp(1349301176000, 70),
			&quot;optimeDate&quot; : ISODate(&quot;2012-10-03T21:52:56Z&quot;),
			&quot;lastHeartbeat&quot; : ISODate(&quot;2012-10-03T21:52:56Z&quot;),
			&quot;pingMs&quot; : 0
		}
&lt;p&gt;,&lt;br/&gt;
		&lt;/p&gt;
{
			&quot;_id&quot; : 8,
			&quot;name&quot; : &quot;ec2-23-21-97-125.compute-1.amazonaws.com:27017&quot;,
			&quot;health&quot; : 1,
			&quot;state&quot; : 2,
			&quot;stateStr&quot; : &quot;SECONDARY&quot;,
			&quot;uptime&quot; : 1046655,
			&quot;optime&quot; : Timestamp(1349301176000, 86),
			&quot;optimeDate&quot; : ISODate(&quot;2012-10-03T21:52:56Z&quot;),
			&quot;lastHeartbeat&quot; : ISODate(&quot;2012-10-03T21:52:56Z&quot;),
			&quot;pingMs&quot; : 0
		}
&lt;p&gt;,&lt;br/&gt;
		&lt;/p&gt;
{
			&quot;_id&quot; : 9,
			&quot;name&quot; : &quot;ec2-23-21-103-219.compute-1.amazonaws.com:27017&quot;,
			&quot;health&quot; : 1,
			&quot;state&quot; : 2,
			&quot;stateStr&quot; : &quot;SECONDARY&quot;,
			&quot;uptime&quot; : 174502,
			&quot;optime&quot; : Timestamp(1349301176000, 70),
			&quot;optimeDate&quot; : ISODate(&quot;2012-10-03T21:52:56Z&quot;),
			&quot;lastHeartbeat&quot; : ISODate(&quot;2012-10-03T21:52:56Z&quot;),
			&quot;pingMs&quot; : 0
		}
&lt;p&gt;,&lt;/p&gt;
		{
			&quot;_id&quot; : 10,
			&quot;name&quot; : &quot;ec2-23-21-103-228.compute-1.amazonaws.com:27017&quot;,
			&quot;health&quot; : 1,
			&quot;state&quot; : 2,
			&quot;stateStr&quot; : &quot;SECONDARY&quot;,
			&quot;uptime&quot; : 1046655,
			&quot;optime&quot; : Timestamp(1349301176000, 82),
			&quot;optimeDate&quot; : ISODate(&quot;2012-10-03T21:52:56Z&quot;),
			&quot;lastHeartbeat&quot; : ISODate(&quot;2012-10-03T21:52:56Z&quot;),
			&quot;pingMs&quot; : 0
		}
&lt;p&gt;	],&lt;br/&gt;
	&quot;ok&quot; : 1&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="171147" author="william.zola@10gen.com" created="Wed, 3 Oct 2012 21:10:42 +0000"  >&lt;p&gt;Hi Warren!&lt;/p&gt;

&lt;p&gt;I&apos;ll need some more information to diagnose this problem.  Please let me know:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Are you connecting to a Replica Set or a sharded cluster (a &apos;mongos&apos; process)?&lt;/li&gt;
	&lt;li&gt;Does this error appear in the &apos;mongod&apos; or &apos;mongos&apos; log, or in your application code?&lt;/li&gt;
	&lt;li&gt;What is the output of &apos;rs.status()&apos; from the replica set to which you are trying to connect?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Once I have this information, I will be able to move forward with my diagnosis.  I look forward to hearing from you soon.  Have a great day!&lt;/p&gt;

&lt;p&gt; -William &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 3 Oct 2012 21:10:42 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 19 weeks, 5 days 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>warren@everyscreenmedia.com</customfieldvalue>
            <customfieldvalue>william.zola@10gen.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnmkn:</customfieldvalue>

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

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

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