<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:13:44 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-7136] mongorestore fails to find master of replication set</title>
                <link>https://jira.mongodb.org/browse/SERVER-7136</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Below is shell session which shows the failure. Note that mongorestore lists&lt;br/&gt;
127.0.0.1:27019 as primary and fails to find a master in the next line.&lt;/p&gt;


&lt;p&gt;user@host:~$ mongorestore --host 127.0.0.1:27019,127.0.0.1:27018 -d mydb --drop -c User mongo-dump/mydb/User.bson &lt;br/&gt;
Mon Sep 24 16:37:31 warning: replica set name empty, first node: 127.0.0.1:27019&lt;br/&gt;
Mon Sep 24 16:37:31 starting new replica set monitor for replica set  with seed of 127.0.0.1:27019,127.0.0.1:27018&lt;br/&gt;
Mon Sep 24 16:37:31 successfully connected to seed 127.0.0.1:27019 for replica set &lt;br/&gt;
Mon Sep 24 16:37:31 warning: node: 127.0.0.1:27019 isn&apos;t a part of set:  ismaster: &lt;/p&gt;
{ setName: &quot;REPLICA1&quot;, ismaster: true, secondary: false, hosts: [ &quot;localhost:27019&quot;, &quot;localhost:27018&quot; ], arbiters: [ &quot;localhost:27020&quot; ], primary: &quot;localhost:27019&quot;, me: &quot;localhost:27019&quot;, maxBsonObjectSize: 16777216, localTime: new Date(1348497451380), ok: 1.0 }
&lt;p&gt;Mon Sep 24 16:37:31 successfully connected to seed 127.0.0.1:27018 for replica set &lt;br/&gt;
Mon Sep 24 16:37:31 warning: node: 127.0.0.1:27018 isn&apos;t a part of set:  ismaster: &lt;/p&gt;
{ setName: &quot;REPLICA1&quot;, ismaster: false, secondary: true, hosts: [ &quot;localhost:27018&quot;, &quot;localhost:27019&quot; ], arbiters: [ &quot;localhost:27020&quot; ], primary: &quot;localhost:27019&quot;, me: &quot;localhost:27018&quot;, maxBsonObjectSize: 16777216, localTime: new Date(1348497451381), ok: 1.0 }
&lt;p&gt;Mon Sep 24 16:37:33 warning: No primary detected for set &lt;br/&gt;
Mon Sep 24 16:37:33 All nodes for set  are down. This has happened for 1 checks in a row. Polling will stop after 29 more failed checks&lt;br/&gt;
Mon Sep 24 16:37:33 replica set monitor for replica set  started, address is &lt;br/&gt;
Mon Sep 24 16:37:33 &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitorWatcher&amp;#93;&lt;/span&gt; starting&lt;br/&gt;
Mon Sep 24 16:37:35 warning: No primary detected for set &lt;br/&gt;
couldn&apos;t connect to &lt;span class=&quot;error&quot;&gt;&amp;#91;127.0.0.1:27019,127.0.0.1:27018&amp;#93;&lt;/span&gt; connect failed to set 127.0.0.1:27019,127.0.0.1:27018&lt;br/&gt;
Logstream::get called in uninitialized state&lt;br/&gt;
Mon Sep 24 16:37:35 deleting replica set monitor for: &lt;br/&gt;
user@host:~$&lt;/p&gt;</description>
                <environment>Ubuntu 10.04 LTS, mongodb 2.2.0</environment>
        <key id="51276">SERVER-7136</key>
            <summary>mongorestore fails to find master of replication 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="michael.grundy">Michael Grundy</assignee>
                                    <reporter username="jmg">Jean-Marie Gaillourdet</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Sep 2012 14:45:26 +0000</created>
                <updated>Wed, 10 Dec 2014 23:18:57 +0000</updated>
                            <resolved>Wed, 20 Mar 2013 13:59:25 +0000</resolved>
                                    <version>2.2.0</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="286227" author="michael.grundy@10gen.com" created="Mon, 11 Mar 2013 14:27:48 +0000"  >&lt;p&gt;Hi -&lt;/p&gt;

&lt;p&gt;Are you still running into this issue? I noticed you were running version 2.2.0 when you initially posted this. We&apos;ve fixed some critical bugs in 2.2.0 since then and recommend you update to the latest stable release of 2.2, which is 2.2.3, as soon as possible. &lt;/p&gt;

&lt;p&gt;If you are still seeing this issue with 2.2.3, I&apos;d recommend posting on one of our free support channels. Filing tickets under the SERVER project is not the best way to get visibility for issues you encounter, as we use this project for tracking bugs and feature requests. If you have a support contract with 10gen, then filing commercial support tickets is your best option. If not, the 10gen development and support teams actively monitor posts to stackoverflow (&lt;a href=&quot;http://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://stackoverflow.com/questions/tagged/mongodb&lt;/a&gt;) and to the mongo google group (&lt;a href=&quot;https://groups.google.com/forum/?fromgroups#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/forum/?fromgroups#!forum/mongodb-user&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Mike&lt;/p&gt;</comment>
                            <comment id="167356" author="jmg" created="Mon, 24 Sep 2012 15:36:59 +0000"  >&lt;p&gt;I&apos;ll make another run to copy the output and post it here.&lt;/p&gt;</comment>
                            <comment id="167354" author="jmg" created="Mon, 24 Sep 2012 15:36:33 +0000"  >&lt;p&gt;Oh, yes. I noticed that now as well. But, when I do that, mongorestore still fails as soon as the master switches.&lt;/p&gt;</comment>
                            <comment id="167351" author="renctan" created="Mon, 24 Sep 2012 15:32:35 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;To specify a replica set as your target, use the replica set connection string, which looks like this:&lt;/p&gt;

&lt;p&gt;replSet/host1,host2,host3&lt;/p&gt;

&lt;p&gt;so in your case, it will look like this:&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; mongorestore --host REPLICA1/127.0.0.1:27019,127.0.0.1:27018 -d mydb --drop -c User mongo-dump/mydb/User.bson &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&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>Mon, 24 Sep 2012 15:32:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 49 weeks, 2 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>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, 49 weeks, 2 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_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>jmg</customfieldvalue>
            <customfieldvalue>michael.grundy</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnnk7:</customfieldvalue>

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

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

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