<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:10:19 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-5945] Reconfiguring replica set doesn&apos;t work sometimes</title>
                <link>https://jira.mongodb.org/browse/SERVER-5945</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I was playing with reconfiguring replica set, when some nodes are down (using force argument).&lt;/p&gt;

&lt;p&gt;Sometimes mongo answers with &lt;/p&gt;
{u&apos;msg&apos;: u&apos;will try this config momentarily, try running rs.conf() again in a few seconds&apos;, u&apos;ok&apos;: 1.0}
&lt;p&gt;, but &lt;br/&gt;
replica set configuration doesn&apos;t change. I can&apos;t find any sign of replSetReconfig equest in mongo log. I use latest pymongo driver.&lt;/p&gt;</description>
                <environment>Centos 5.6 x86_64, EC2 m1.small instance, </environment>
        <key id="39733">SERVER-5945</key>
            <summary>Reconfiguring replica set doesn&apos;t work sometimes</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="4">Incomplete</resolution>
                                        <assignee username="scotthernandez">Scott Hernandez</assignee>
                                    <reporter username="nick.demyanchuk">Nick Demyanchuk</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 May 2012 08:40:56 +0000</created>
                <updated>Wed, 11 Jun 2014 07:48:35 +0000</updated>
                            <resolved>Wed, 5 Sep 2012 23:52:55 +0000</resolved>
                                    <version>2.0.5</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="616649" author="nick.demyanchuk" created="Wed, 11 Jun 2014 07:48:35 +0000"  >&lt;p&gt;It is indeed 2.6.1, nothing changed except version of mongo. I assume it&apos;s race condition somewhere in mongo code, since all those mongo commands were executed by script right after mongo was ready to receive commands (you can see it by timestamps). &lt;/p&gt;

&lt;p&gt;I will try to reproduce it and let you know. Previous config contained mongo-0-0:27018 as primary, mongo-0-1:27018 as secondary and mongo-0-0:27020 as arbiter.&lt;/p&gt;</comment>
                            <comment id="615521" author="scotthernandez" created="Tue, 10 Jun 2014 14:58:42 +0000"  >&lt;p&gt;It seems like this is now 2.6.1, and no longer 2.0.x, is that correct?&lt;/p&gt;

&lt;p&gt;If so I&apos;d like to any new information which may have changed. Also, increased logging would help, if you can reproduce it.&lt;/p&gt;

&lt;p&gt;Please include the old config before the reconfig as well.&lt;/p&gt;</comment>
                            <comment id="615384" author="nick.demyanchuk" created="Tue, 10 Jun 2014 13:35:27 +0000"  >&lt;p&gt;It happened again, and i have logs now. You can see first time script tried to run replSetReconfig without force argument, but it failed. Then script retried with force argument, and received result:&lt;/p&gt;

{u&apos;msg&apos;: u&apos;will try this config momentarily, try running rs.conf() again in a few seconds&apos;, u&apos;ok&apos;: 1.0}

&lt;p&gt;but it didn&apos;t work - you can see that rsHealthPoll is still trying to reach members that should not be members of replica set already, and node never got PRIMARY state. &lt;/p&gt;</comment>
                            <comment id="160954" author="ian@10gen.com" created="Wed, 5 Sep 2012 23:52:55 +0000"  >&lt;p&gt;nick, I&apos;m closing this issue for lack if info but please reopen if you&apos;re able to attach the relevant logs to continue debugging.&lt;/p&gt;</comment>
                            <comment id="123617" author="scotthernandez" created="Mon, 28 May 2012 14:22:53 +0000"  >&lt;p&gt;Can you please attach the logs from the server you are issuing the command to? Please increase the logging level to 6 before running the command by using setParameter (&lt;a href=&quot;http://www.mongodb.org/display/DOCS/setParameter+Command&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/setParameter+Command&lt;/a&gt;). You can issue the setParameter command before and after the replSetReconfig to turn up and then down logging.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="45153" name="mongodb.shardsrv.log" size="10942004" author="nick.demyanchuk" created="Tue, 10 Jun 2014 13:35:27 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 28 May 2012 14:22:53 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 36 weeks 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>
                            9 years, 36 weeks 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>nick.demyanchuk</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hro1qf:</customfieldvalue>

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

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

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