<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:52:51 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>[DOCS-6721] Recommend sh.startBalancer() over sh.setBalancerState(true) for re-enabling balancing</title>
                <link>https://jira.mongodb.org/browse/DOCS-6721</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;In &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-1555&quot; title=&quot;sh.startBalancer() might be the wrong thing for turning balancing on after turning it off&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-1555&quot;&gt;&lt;del&gt;DOCS-1555&lt;/del&gt;&lt;/a&gt; we changed our recommendation for enabling balancing from sh.startBalancer() to sh.setBalancerState(true).  In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21766&quot; title=&quot;Remove waiting for balancer lock behavior from sh.startBalancer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21766&quot;&gt;&lt;del&gt;SERVER-21766&lt;/del&gt;&lt;/a&gt;, however, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kevin.pulo&quot; class=&quot;user-hover&quot; rel=&quot;kevin.pulo&quot;&gt;kevin.pulo&lt;/a&gt; says that support engineers still recommend sh.startBalancer().  We should have a consistent story here.  Either we like the behavior sh.startBalancer() has of waiting for a balancer round to commence, in which case we should update the docs to recommend its use one again, or we don&apos;t like that behavior, in which case we should change it and still update the docs to recommend it&apos;s use.  Either way we should be moving towards recommending sh.startBalancer()&lt;/p&gt;</description>
                <environment></environment>
        <key id="242217">DOCS-6721</key>
            <summary>Recommend sh.startBalancer() over sh.setBalancerState(true) for re-enabling balancing</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="ravind.kumar">Ravind Kumar</assignee>
                                    <reporter username="spencer@mongodb.com">Spencer Brody</reporter>
                        <labels>
                    </labels>
                <created>Fri, 4 Dec 2015 01:05:24 +0000</created>
                <updated>Wed, 11 Jan 2017 22:32:52 +0000</updated>
                            <resolved>Wed, 3 Feb 2016 22:50:02 +0000</resolved>
                                                    <fixVersion>01112017-cleanup</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1163017" author="spencer" created="Wed, 3 Feb 2016 22:49:41 +0000"  >&lt;p&gt;Okay, 10 points to Kay for solving the mystery!  The reason sh.startBalancer() is broken is because of the balancer window.  If you have a window set and you&apos;re &lt;b&gt;not&lt;/b&gt; within the active window when you call call sh.startBalancer() or sh.stopBalancer(), those methods will block forever (well, until the window becomes active), as the balancer will not be taking the distributed lock when the window isn&apos;t active.&lt;/p&gt;

&lt;p&gt;This is likely to all change in 3.4 with the changes we&apos;re making to how the balancer works, but for the meantime we probably shouldn&apos;t do this ticket after all and should keep the recommendations as-is for now, and re-evaluate after 3.4.&lt;/p&gt;

&lt;p&gt;Thanks everyone who worked on this, and sorry for wasting time.&lt;/p&gt;</comment>
                            <comment id="1160089" author="spencer" created="Mon, 1 Feb 2016 20:20:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ravind.kumar&quot; class=&quot;user-hover&quot; rel=&quot;ravind.kumar&quot;&gt;ravind.kumar&lt;/a&gt;, I never got a response back from Richard on my last email, but it sounds like his complaints were based on either outdated or incorrect knowledge of the behavior of sh.stopBalancer().  Based on Kevin&apos;s and Andy&apos;s comments on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21766&quot; title=&quot;Remove waiting for balancer lock behavior from sh.startBalancer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21766&quot;&gt;&lt;del&gt;SERVER-21766&lt;/del&gt;&lt;/a&gt;, I think we should move forward with this ticket.&lt;/p&gt;</comment>
                            <comment id="1159452" author="ravind.kumar" created="Mon, 1 Feb 2016 13:50:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spencer&quot; class=&quot;user-hover&quot; rel=&quot;spencer&quot;&gt;spencer&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=richard.kreuter&quot; class=&quot;user-hover&quot; rel=&quot;richard.kreuter&quot;&gt;richard.kreuter&lt;/a&gt; Was there any consensus on this, since the last set of comments?&lt;/p&gt;

&lt;p&gt;Based on reading &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21766&quot; title=&quot;Remove waiting for balancer lock behavior from sh.startBalancer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21766&quot;&gt;&lt;del&gt;SERVER-21766&lt;/del&gt;&lt;/a&gt;, it seems that the preference is sh.startBalancer(), but were waiting on Richard&apos;s comments.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="77083">DOCS-1555</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="242213">SERVER-21766</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="263021">SERVER-22463</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 1 Feb 2016 13:50:11 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 2 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ravind.kumar</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrn4yn:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrz10n:</customfieldvalue>

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