<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:12 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-2180] Make tools use shared library</title>
                <link>https://jira.mongodb.org/browse/SERVER-2180</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently tools like mongodump link all required objects into the binary. The commonFiles variable in SConstruct demonstrates this.&lt;/p&gt;

&lt;p&gt;It would be much more efficient if the tools would link against the shared mongoclient library (which also includes commonFiles). Especially on a loaded system where many of those tools (and other client applications) run at the same time this can considerably lower the memory footprint and improve cache performance. It would also improve MongoDB&apos;s conformance with packaging guidelines like the one of Fedora.&lt;/p&gt;</description>
                <environment>linux x86_64</environment>
        <key id="13876">SERVER-2180</key>
            <summary>Make tools use shared 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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="timn">Tim Niemueller</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Dec 2010 18:35:52 +0000</created>
                <updated>Tue, 23 Jun 2015 15:24:34 +0000</updated>
                            <resolved>Tue, 23 Jun 2015 15:24:34 +0000</resolved>
                                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="948155" author="ian@10gen.com" created="Tue, 23 Jun 2015 15:24:34 +0000"  >&lt;p&gt;As of the 3.0.0 release all of the mongo* tools have been rewritten in Go, and the new code can be found at &lt;a href=&quot;https://github.com/mongodb/mongo-tools&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-tools&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Any future improvements or feature requests related to the rewritten tools can be filed here: &lt;a href=&quot;https://jira.mongodb.org/browse/TOOLS&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/TOOLS&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="21151" author="eliot" created="Tue, 7 Dec 2010 20:30:44 +0000"  >&lt;p&gt;using a static library will make binaries larger on some platforms, so i&apos;d rather not do that by default.&lt;/p&gt;</comment>
                            <comment id="21150" author="timn" created="Tue, 7 Dec 2010 20:21:14 +0000"  >&lt;p&gt;Why make it a separate ticket?&lt;/p&gt;

&lt;p&gt;So after further thinking about it I think the best solution is to use the library when linking the tools, no matter if it is the shared or the static library. If the shared library is used it improves things, if the static one is used it stays the same.&lt;/p&gt;

&lt;p&gt;Would that be a suitable change?&lt;/p&gt;

&lt;p&gt;The change is then in changing the link and target file options of the tools, rather than forcing a shared library on them. If you agree I&apos;ll fork and implement this.&lt;/p&gt;</comment>
                            <comment id="21129" author="eliot" created="Tue, 7 Dec 2010 01:19:29 +0000"  >&lt;p&gt;An option might be ok.&lt;br/&gt;
Want to make a different ticket?&lt;/p&gt;</comment>
                            <comment id="21117" author="timn" created="Mon, 6 Dec 2010 20:49:10 +0000"  >&lt;p&gt;Why not make it an option in the build system? Most of the users will enjoy packages that come with the Linux system of their choice and it&apos;ll be great if MongoDB would better blend in, and support more efficient memory usage.&lt;/p&gt;

&lt;p&gt;At the same time you can keep the shared library optional as now. If it is not built, you simply link the programs against the static library, essentially resulting in similar binaries to the ones now.&lt;/p&gt;</comment>
                            <comment id="21109" author="eliot" created="Mon, 6 Dec 2010 19:03:28 +0000"  >&lt;p&gt;There are 2 types of packages, official .tar.gz packages and distribution packages (rpm, etc)&lt;/p&gt;

&lt;p&gt;for .tar.gz the binaries are not put in a pre-determined place, so you can&apos;t use a .so&lt;/p&gt;</comment>
                            <comment id="21108" author="timn" created="Mon, 6 Dec 2010 18:48:12 +0000"  >&lt;p&gt;Can you give a little detail what you mean by that? I mean virtually everything is used from shared libraries these days, certainly on Linux systems. I wouldn&apos;t mind making it this way on Linux only and keep it the way it is for other systems. Maybe if you give some info we could figure out a solution which is beneficial for everybody.&lt;/p&gt;

&lt;p&gt;Issues #&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-24&quot; title=&quot;shared client lacks SONAME&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-24&quot;&gt;&lt;del&gt;CDRIVER-24&lt;/del&gt;&lt;/a&gt; and #&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-172&quot; title=&quot;on linux systems it is customary to use sonames when creating shared libraries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-172&quot;&gt;&lt;del&gt;SERVER-1949&lt;/del&gt;&lt;/a&gt; are somewhat related in that they request a better integration into a Linux system.&lt;/p&gt;</comment>
                            <comment id="21107" author="eliot" created="Mon, 6 Dec 2010 18:40:31 +0000"  >&lt;p&gt;For some packages this might be an option, but for most systems its not feasible since shard library loading is path dependant. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="109670">CXX-42</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 6 Dec 2010 18:40:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 34 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_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>
                            8 years, 34 weeks, 1 day 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>timn</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpamf:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6598</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|hszx0f:</customfieldvalue>

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