<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:26:54 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-11843] Removal of replica-set members doesn&apos;t work for sharded DB when configServers are down</title>
                <link>https://jira.mongodb.org/browse/SERVER-11843</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have Geo-redundancy setup for sharded database with below Configuration:&lt;/p&gt;

&lt;p&gt;Site-1&lt;/p&gt;

&lt;p&gt;Shard#1 - set01 - (Host1: member#1- Primary DB, Host2:member#2- Secondary DB)&lt;br/&gt;
Shard#2 - set02 - (Host3:member#1- Primary DB, Host4: member#2- Secondary DB)&lt;br/&gt;
Shard#3 - set03 - (Host5: member#1- Primary DB, Host6: member#2- Secondary DB)&lt;/p&gt;

&lt;p&gt;Host7: Config Server1&lt;br/&gt;
Host8: Config Server2&lt;br/&gt;
Host9: Arbiter&lt;/p&gt;

&lt;p&gt;Site-2&lt;br/&gt;
Shard#1 - set01 - (Host1:member#3- Secondary DB, Host2: member#4- Secondary DB)&lt;br/&gt;
Shard#2 - set02 - (Host3:member#3- Secondary DB, Host4: member#4- Secondary DB)&lt;br/&gt;
Shard#3 - set03 - (Host5:member#3- Secondary DB, Host6: member#4- Secondary DB)&lt;br/&gt;
Host7: Config Server3&lt;/p&gt;

&lt;p&gt;Issue: &lt;br/&gt;
When we have entire site down, then in-case such we remove all the failed members of site-1.&lt;br/&gt;
However, as when site-1 is completely down it mean both the config servers also goes down.&lt;br/&gt;
Now, the issue is the removal of members of site1 doesn&apos;t gets updated in config server metadata. &lt;br/&gt;
When we execute sh.status still we see the all the members of replica-set.&lt;br/&gt;
As an work around we bring up the config  server and then again removed the members, then only it updated the metadata. &lt;br/&gt;
Is this limitation or bug with mongo which requires all the config server to be up and running to remove the replica-set members.&lt;/p&gt;</description>
                <environment>CentOS</environment>
        <key id="99847">SERVER-11843</key>
            <summary>Removal of replica-set members doesn&apos;t work for sharded DB when configServers are down</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="-1">Unassigned</assignee>
                                    <reporter username="kthummur">Krishnachaitanya Thummuru</reporter>
                        <labels>
                            <label>sharding</label>
                    </labels>
                <created>Mon, 25 Nov 2013 13:06:39 +0000</created>
                <updated>Mon, 16 Dec 2013 07:59:19 +0000</updated>
                            <resolved>Mon, 16 Dec 2013 05:08:49 +0000</resolved>
                                    <version>2.4.6</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="471053" author="kthummur" created="Mon, 16 Dec 2013 07:59:19 +0000"  >&lt;p&gt;Thanks Stephen&lt;br/&gt;
This is related to metadata and as per your comments this expected behavior. &lt;br/&gt;
So, you can close this ticket. &lt;br/&gt;
However, we have another issue when two config servers are down out of three config server, then we see the degradation in performance of application.&lt;br/&gt;
We are working with our customer and open separate jira ticket for this issue.&lt;/p&gt;
</comment>
                            <comment id="471025" author="stennie" created="Mon, 16 Dec 2013 05:08:49 +0000"  >&lt;p&gt;Hi Krishnachaitanya,&lt;/p&gt;

&lt;p&gt;Please be advised that I&apos;m closing this issue due to inactivity.  As per Scott&apos;s earlier replies, it is expected that the sharding metadata on the config servers will not be updated if 1 or more config servers are not available.&lt;/p&gt;

&lt;p&gt;If there are any specific errors to investigate we would need answers to the additional questions posed.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                            <comment id="461403" author="scotthernandez" created="Mon, 25 Nov 2013 19:13:23 +0000"  >&lt;p&gt;Please include answers to the following info:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;What is the client error? What kind of timeout?&lt;/li&gt;
	&lt;li&gt;What is the client write concern? W:Majority?&lt;/li&gt;
	&lt;li&gt;When did this happen?&lt;/li&gt;
	&lt;li&gt;Was the write to the shard which was down possibly?&lt;/li&gt;
	&lt;li&gt;Can you reproduce this or does it only happen randomly?&lt;/li&gt;
	&lt;li&gt;If it happens again, can you increase logging to capture more diagnostic information?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="461390" author="kthummur" created="Mon, 25 Nov 2013 19:04:25 +0000"  >&lt;p&gt;Attached mongos log for your analysis.&lt;br/&gt;
Unable to attach complete log due to size constraint&lt;/p&gt;</comment>
                            <comment id="461389" author="kthummur" created="Mon, 25 Nov 2013 19:03:38 +0000"  >&lt;p&gt;Hi Scott,&lt;/p&gt;

&lt;p&gt;Thanks for update.&lt;br/&gt;
We will try out and update you with the results.&lt;br/&gt;
There is another issue which we have observed that when two config servers were not available the sh.status was taking time (approx 3-4 sec) to return the &lt;br/&gt;
output.  &lt;br/&gt;
However, once we turn on other down config server, output of sh.status() returns in milli-sec and also  transaction from application side which were timing out were became stable.&lt;/p&gt;</comment>
                            <comment id="461147" author="scotthernandez" created="Mon, 25 Nov 2013 13:29:44 +0000"  >&lt;p&gt;The members list for each shard in sh.status is just the seed list, so as long as one of those members is still valid then each mongos will discover and use the correct (and up) members. By definition no writes to the config servers for shard metadata can be done if not all of them are online. When all the config servers are back online the shard member list will be updated automatically.&lt;/p&gt;

&lt;p&gt;If you are seeing any errors please upload the logs where those errors occur.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="34394" name="mongos.log" size="70583" author="kthummur" created="Mon, 25 Nov 2013 19:05:19 +0000"/>
                    </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, 25 Nov 2013 13:29:44 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 9 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="10020"><![CDATA[Linux]]></customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>91461</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Provided in description summary&lt;/p&gt;</customfieldvalue>

                        </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|hsp3t3:</customfieldvalue>

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