<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:15:01 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-47715] Remove mongos dependency on rw_concern_d library</title>
                <link>https://jira.mongodb.org/browse/SERVER-47715</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;tt&gt;rw_concern_d&lt;/tt&gt; is a mongod-specific library but appears to wind up as a dependency in libraries, such as&#160;&lt;tt&gt;service_entry_point_common&lt;/tt&gt;,&#160;&lt;tt&gt;sharding_catalog_manager&lt;/tt&gt;, and&#160;&lt;tt&gt;transaction_coordinator&lt;/tt&gt;, which are not mongod-specific.&lt;/p&gt;

&lt;p&gt;As a result, statically compiling the mongos leads to all symbols in&#160;&lt;tt&gt;rw_concern_d&lt;/tt&gt; being included in the binary. This is incorrect because, among other things, it links the&#160;&lt;tt&gt;JournalFlusher&lt;/tt&gt; into the mongos and has caused problems when adding new code (TTLMonitor with ServerStatusMetricField instances) to the storage control API (the &lt;tt&gt;storage_control&lt;/tt&gt; library is a dependency of&#160;&lt;tt&gt;rw_concern_d&lt;/tt&gt;).&lt;/p&gt;

&lt;p&gt;We should aim to remove the mongos dependency on&#160;&lt;tt&gt;rw_concern_d&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1326766">SERVER-47715</key>
            <summary>Remove mongos dependency on rw_concern_d library</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-server-sharding-nyc">[DO NOT USE] Backlog - Sharding NYC</assignee>
                                    <reporter username="james.heppenstall@mongodb.com">James Heppenstall</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Apr 2020 13:56:10 +0000</created>
                <updated>Tue, 6 Dec 2022 02:29:19 +0000</updated>
                            <resolved>Fri, 26 Mar 2021 14:21:59 +0000</resolved>
                                    <version>4.4.0-rc2</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3686076" author="ratika.gandhi" created="Fri, 26 Mar 2021 14:21:59 +0000"  >&lt;p&gt;Closing the ticket because it is not causing any major issues as far as we can tell.&#160;&lt;/p&gt;</comment>
                            <comment id="3065522" author="daniel.gottlieb@10gen.com" created="Sat, 2 May 2020 03:14:55 +0000"  >&lt;p&gt;I did some research to verify that our observation of &lt;tt&gt;rw_concern_d&lt;/tt&gt; being included in &lt;tt&gt;mongos&lt;/tt&gt; did not corollate with an increase in mongos size. I didn&apos;t directly search for when &lt;tt&gt;rw_concern_d&lt;/tt&gt; was included; I was generally concerned in learning if there was an unrealized increase in &lt;tt&gt;mongos&lt;/tt&gt; binary size between 4.2 and (a candidate) 4.4. I observed that the &lt;tt&gt;mongos&lt;/tt&gt; binary did increase from ~35MB to ~49MB. This was due to a &lt;a href=&quot;https://github.com/mongodb/mongo/commit/d78ab05ea802c80e10ed81a177bc0f7ba5e643a4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;single commit&lt;/a&gt;: &lt;tt&gt;mongos&lt;/tt&gt; now includes the mozjs library.&lt;/p&gt;

&lt;p&gt;I&apos;m double-checking with the author that this was intentional (which is likely). I&apos;m moving this ticket to the backlog as there&apos;s no urgent need to address the &lt;tt&gt;rw_concern_d&lt;/tt&gt; library included in &lt;tt&gt;mongos&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="3053370" author="dianna.hohensee" created="Thu, 23 Apr 2020 19:50:15 +0000"  >&lt;p&gt;Maybe just for our purposes we could: separate journal_flusher library, included in storage_control and write_concern.cpp. Then we don&apos;t drag all of storage_control, including ttl monitor, into write_concern.cpp, which is included in mongos. Right now we have write_concern.cpp calling StorageControls::waitForJournalFlush, and we could just do JournalFlusher::get(serviceCtx)-&amp;gt;waitForJournalFlush.&lt;/p&gt;

&lt;p&gt;I haven&apos;t verified that this would work.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="593910">SERVER-36841</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25134"><![CDATA[Sharding NYC]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 23 Apr 2020 19:50:15 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 45 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding-nyc</customfieldvalue>
            <customfieldvalue>daniel.gottlieb@mongodb.com</customfieldvalue>
            <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>james.heppenstall@mongodb.com</customfieldvalue>
            <customfieldvalue>ratika.gandhi@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxhanz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr4213:</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_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|hxgwxb:</customfieldvalue>

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