<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:57:42 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-85419] Balancer pollutes logs in case no suitable recipient is found during draining</title>
                <link>https://jira.mongodb.org/browse/SERVER-85419</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The balancer emit a log message every time it fails to find a destination shard to move out chunks from a draining shard.&lt;/p&gt;

&lt;p&gt;The problem is that &lt;a href=&quot;https://github.com/mongodb/mongo/blob/1de01927cf032520fa1b725ceca620d12c229be5/src/mongo/db/s/balancer/balancer_policy.cpp#L484-L494&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the balancer emits this log warning for every chunk to be drained&lt;/a&gt;. This means that potentially in one balnacer round (few secs) we could emit millions of logs leading the machine out of disk space.&lt;/p&gt;

&lt;p&gt;Another issue is that we should emit a warning only if we actually have some shard still available in this round (not already used in this balancing round) to receive chunks.&lt;br/&gt;
If all the shards available are already in draining mode, it is expected that we can&apos;t find a recipient.&lt;/p&gt;

&lt;p&gt;I believe the same happens also &lt;a href=&quot;https://github.com/mongodb/mongo/blob/1de01927cf032520fa1b725ceca620d12c229be5/src/mongo/db/s/balancer/balancer_policy.cpp#L570-L575&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;in case no recipient can be found while enforcing zones.&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2550664">SERVER-85419</key>
            <summary>Balancer pollutes logs in case no suitable recipient is found during draining</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="13201">Fixed</resolution>
                                        <assignee username="silvia.surroca@mongodb.com">Silvia Surroca</assignee>
                                    <reporter username="tommaso.tocci@mongodb.com">Tommaso Tocci</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Jan 2024 21:51:14 +0000</created>
                <updated>Thu, 1 Feb 2024 13:25:16 +0000</updated>
                            <resolved>Tue, 30 Jan 2024 08:20:18 +0000</resolved>
                                    <version>4.2.0</version>
                    <version>4.4.0</version>
                    <version>5.0.0</version>
                    <version>6.0.0</version>
                    <version>7.0.0</version>
                    <version>7.3.0-rc0</version>
                                    <fixVersion>7.0.6</fixVersion>
                    <fixVersion>5.0.25</fixVersion>
                    <fixVersion>4.4.29</fixVersion>
                    <fixVersion>6.0.14</fixVersion>
                    <fixVersion>8.0.0-rc0</fixVersion>
                    <fixVersion>7.3.0-rc2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="6058760" author="xgen-internal-githook" created="Thu, 1 Feb 2024 12:30:25 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Silvia Surroca&apos;, &apos;email&apos;: &apos;silvia.surroca@mongodb.com&apos;, &apos;username&apos;: &apos;silviasuhu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85419&quot; title=&quot;Balancer pollutes logs in case no suitable recipient is found during draining&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85419&quot;&gt;&lt;del&gt;SERVER-85419&lt;/del&gt;&lt;/a&gt; Balancer pollutes logs in case no suitable recipient is found during draining (#18286)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 216e7d8a782af1f2ec47895311f289cc5b9883eb&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bd4a4713ba6ef85ccf2cbad693e925f411b1758b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bd4a4713ba6ef85ccf2cbad693e925f411b1758b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6055226" author="xgen-internal-githook" created="Wed, 31 Jan 2024 10:39:56 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Silvia Surroca&apos;, &apos;email&apos;: &apos;silvia.surroca@mongodb.com&apos;, &apos;username&apos;: &apos;silviasuhu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85419&quot; title=&quot;Balancer pollutes logs in case no suitable recipient is found during draining&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85419&quot;&gt;&lt;del&gt;SERVER-85419&lt;/del&gt;&lt;/a&gt; Balancer pollutes logs in case no suitable recipient is found during draining (#18286)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 37263288a924f45e4f50fa843f81fe67c037a418&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a3f118cfd995cd2b8c2360c41ec2b3bdf952d807&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a3f118cfd995cd2b8c2360c41ec2b3bdf952d807&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6055172" author="xgen-internal-githook" created="Wed, 31 Jan 2024 10:01:23 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Silvia Surroca&apos;, &apos;email&apos;: &apos;silvia.surroca@mongodb.com&apos;, &apos;username&apos;: &apos;silviasuhu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85419&quot; title=&quot;Balancer pollutes logs in case no suitable recipient is found during draining&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85419&quot;&gt;&lt;del&gt;SERVER-85419&lt;/del&gt;&lt;/a&gt; Balancer pollutes logs in case no suitable recipient is found during draining (#18286)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 451fc5b9cd1ae93b0f54a485388c8e7f9541a1f2&lt;br/&gt;
Branch: v6.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c0deac1c96d49c2f0f66aa91f90c93c0d6716bb1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c0deac1c96d49c2f0f66aa91f90c93c0d6716bb1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6055115" author="xgen-internal-githook" created="Wed, 31 Jan 2024 09:30:42 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Silvia Surroca&apos;, &apos;email&apos;: &apos;silvia.surroca@mongodb.com&apos;, &apos;username&apos;: &apos;silviasuhu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85419&quot; title=&quot;Balancer pollutes logs in case no suitable recipient is found during draining&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85419&quot;&gt;&lt;del&gt;SERVER-85419&lt;/del&gt;&lt;/a&gt; Balancer pollutes logs in case no suitable recipient is found during draining (#18286)&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 8aba060e45e9d5f752992252fb1894c12356d7f1)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 9efa9c85d478fccacb5e4b157b0b556b9853de69&lt;br/&gt;
Branch: v7.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/18f923e6adb609580351b2f14e5a72601658e6cf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/18f923e6adb609580351b2f14e5a72601658e6cf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6055095" author="xgen-internal-githook" created="Wed, 31 Jan 2024 09:18:59 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Silvia Surroca&apos;, &apos;email&apos;: &apos;silvia.surroca@mongodb.com&apos;, &apos;username&apos;: &apos;silviasuhu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85419&quot; title=&quot;Balancer pollutes logs in case no suitable recipient is found during draining&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85419&quot;&gt;&lt;del&gt;SERVER-85419&lt;/del&gt;&lt;/a&gt; Balancer pollutes logs in case no suitable recipient is found during draining (#18286)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 1458e1c229c6dc36c63eb57bd7c5d2e618e9ab0f&lt;br/&gt;
Branch: v7.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/491aed068c0474fa407899b1d1468c89f4812bca&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/491aed068c0474fa407899b1d1468c89f4812bca&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6051481" author="xgen-internal-githook" created="Tue, 30 Jan 2024 06:21:28 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Silvia Surroca&apos;, &apos;email&apos;: &apos;silvia.surroca@mongodb.com&apos;, &apos;username&apos;: &apos;silviasuhu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-85419&quot; title=&quot;Balancer pollutes logs in case no suitable recipient is found during draining&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-85419&quot;&gt;&lt;del&gt;SERVER-85419&lt;/del&gt;&lt;/a&gt; Balancer pollutes logs in case no suitable recipient is found during draining (#18286)&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 8aba060e45e9d5f752992252fb1894c12356d7f1&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9579e342cf6039b1392d4cce2597d391a84c04e7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9579e342cf6039b1392d4cce2597d391a84c04e7&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_23812" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Assigned Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26467"><![CDATA[Catalog and Routing]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26387"><![CDATA[Catalog and Routing]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="27038"><![CDATA[v7.3]]></customfieldvalue>
    <customfieldvalue key="26553"><![CDATA[v7.2]]></customfieldvalue>
    <customfieldvalue key="25578"><![CDATA[v7.0]]></customfieldvalue>
    <customfieldvalue key="23470"><![CDATA[v6.0]]></customfieldvalue>
    <customfieldvalue key="21777"><![CDATA[v5.0]]></customfieldvalue>
    <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 23 Jan 2024 17:48:48 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </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>dbeng-pm-bot</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 days ago
                        </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>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>silvia.surroca@mongodb.com</customfieldvalue>
            <customfieldvalue>tommaso.tocci@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i391nr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2qquc:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="8007">CAR Team 2024-02-05</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|i38nt3:</customfieldvalue>

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