<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:12:59 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-46993] Assess the risk factor of mongos parameters also being linked into mongod</title>
                <link>https://jira.mongodb.org/browse/SERVER-46993</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The mongos server parameters &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/s/mongos_server_parameters.idl&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;defined here&lt;/a&gt; were meant to be linked only into mongos. They are also linked into mongod.&lt;/p&gt;

&lt;p&gt;To complicate things, each of the parameters is used in a &quot;hot&quot; area of mongod/mongos cross-linkage, such as &lt;a href=&quot;https://github.com/mongodb/mongo/blob/3c1813351da71a698a97305989c07ccca874bde4/src/mongo/s/async_requests_sender.cpp#L185&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;async_requests_sender.cpp&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/3c1813351da71a698a97305989c07ccca874bde4/src/mongo/s/sharding_initialization.cpp#L273-L275&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;sharding_initialization.cpp&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;We will need to assess the complications that arise from having these parameters caught in the mongod/mongos cross-link web, and whether setting the parameter on mongod causes odd behavior in a sharded cluster.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1282598">SERVER-46993</key>
            <summary>Assess the risk factor of mongos parameters also being linked into mongod</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="randolph@mongodb.com">Randolph Tan</assignee>
                                    <reporter username="blake.oler@mongodb.com">Blake Oler</reporter>
                        <labels>
                            <label>sharding-wfbf-day</label>
                    </labels>
                <created>Thu, 19 Mar 2020 17:59:08 +0000</created>
                <updated>Sun, 29 Oct 2023 22:10:33 +0000</updated>
                            <resolved>Wed, 3 Jun 2020 17:59:07 +0000</resolved>
                                    <version>4.4.0-rc0</version>
                    <version>4.5.1</version>
                                    <fixVersion>4.7.0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3181174" author="xgen-internal-githook" created="Tue, 2 Jun 2020 16:39:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Randolph Tan&apos;, &apos;email&apos;: &apos;randolph@10gen.com&apos;, &apos;username&apos;: &apos;renctan&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46993&quot; title=&quot;Assess the risk factor of mongos parameters also being linked into mongod&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46993&quot;&gt;&lt;del&gt;SERVER-46993&lt;/del&gt;&lt;/a&gt; Split parameters exclusive to mongos from being included in mongod binaries&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5b158847f032a9d41b667331f2110cad09f075d1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5b158847f032a9d41b667331f2110cad09f075d1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3063345" author="renctan" created="Thu, 30 Apr 2020 19:49:08 +0000"  >&lt;p&gt;Here are some of my findings, as of current &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ef0e96cef56425a8d9ed23e98d79698260cb70c6/src/mongo/s/mongos_server_parameters.idl&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;master&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;low risk:&lt;br/&gt;
Code path referencing this is only via mongos. Will also not cause undefined behavior even if called on mongod.&lt;/p&gt;

&lt;p&gt;loadRoutingTableOnStartup&lt;br/&gt;
warmMinConnectionsInShardingTaskExecutorPoolOnStartup&lt;br/&gt;
warmMinConnectionsInShardingTaskExecutorPoolOnStartupWaitMS&lt;/p&gt;


&lt;p&gt;Medium risk:&lt;br/&gt;
Can be referenced by both mongod and mongos. Currently hedge reads are limited only to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ef0e96cef56425a8d9ed23e98d79698260cb70c6/src/mongo/s/hedge_options_util.cpp#L38&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;read commands that are not destructive&lt;/a&gt; (ie, they don&apos;t consume some private buffer that may lead to incorrect result when attempted to run 2 copies of command). Situation might change with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46735&quot; title=&quot;Allow hedging of mapReduce and aggregate commands that do not do writes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46735&quot;&gt;SERVER-46735&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;readHedgingMode&lt;br/&gt;
maxTimeMSForHedgedReads&lt;/p&gt;

&lt;p&gt;medium-low risk:&lt;br/&gt;
Can be referenced by both mongod and mongos. The only place where this could be an issue is already properly &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ef0e96cef56425a8d9ed23e98d79698260cb70c6/src/mongo/db/pipeline/sharded_agg_helpers.h#L226&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;clearing the affected flag when necessary&lt;/a&gt;.&lt;br/&gt;
enableFinerGrainedCatalogCacheRefresh&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1255112">SERVER-46735</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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</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>Thu, 30 Apr 2020 19:49:08 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 36 weeks, 1 day 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 36 weeks, 1 day 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>blake.oler@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</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|hx9xm7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwxopb:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3841">Sharding 2020-05-04</customfieldvalue>
    <customfieldvalue id="3842">Sharding 2020-05-18</customfieldvalue>
    <customfieldvalue id="3955">Sharding 2020-06-01</customfieldvalue>
    <customfieldvalue id="3956">Sharding 2020-06-15</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|hx9jvj:</customfieldvalue>

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