<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:45:58 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-37428] Sys-perf: linux builds using enterprise bits</title>
                <link>https://jira.mongodb.org/browse/SERVER-37428</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Note: this only affects internal testing systems.&#160;&lt;/p&gt;

&lt;p&gt;The system_perf.yml file support for enterprise modules is doing the wrong thing for non-enterprise builds. There are three compile tasks in one variant, but they all get the enterprise module. The fix seems to be making the enterprise build more like the wtdevelop build, by checking out the enterprise module to a directory outside the mongo source directory, and actively copying it in for the enterprise build as is done in &quot;use wiredtiger develop&quot; function.&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="612909">SERVER-37428</key>
            <summary>Sys-perf: linux builds using enterprise bits</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="max.hirschhorn@mongodb.com">Max Hirschhorn</assignee>
                                    <reporter username="david.daly@mongodb.com">David Daly</reporter>
                        <labels>
                            <label>tig-evgconfig</label>
                    </labels>
                <created>Tue, 2 Oct 2018 19:33:36 +0000</created>
                <updated>Sun, 29 Oct 2023 22:27:43 +0000</updated>
                            <resolved>Mon, 26 Nov 2018 19:49:04 +0000</resolved>
                                                    <fixVersion>4.0.6</fixVersion>
                    <fixVersion>4.1.6</fixVersion>
                                    <component>Performance</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2098078" author="xgen-internal-githook" created="Fri, 21 Dec 2018 05:45:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;visemet&apos;, &apos;email&apos;: &apos;max.hirschhorn@mongodb.com&apos;, &apos;name&apos;: &apos;Max Hirschhorn&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37428&quot; title=&quot;Sys-perf: linux builds using enterprise bits&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37428&quot;&gt;&lt;del&gt;SERVER-37428&lt;/del&gt;&lt;/a&gt; Move compile_* tasks to separate build variants.&lt;/p&gt;

&lt;p&gt;Build variants are able to define separate lists of modules whereas&lt;br/&gt;
tasks cannot.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d11e4a25014c2d6a4939481dbefa52fd11d8f286)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3dabdbc554a857b092af272ed3d17b55292ee6b5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3dabdbc554a857b092af272ed3d17b55292ee6b5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2071905" author="xgen-internal-githook" created="Mon, 26 Nov 2018 19:47:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Max Hirschhorn&apos;, &apos;email&apos;: &apos;max.hirschhorn@mongodb.com&apos;, &apos;username&apos;: &apos;visemet&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37428&quot; title=&quot;Sys-perf: linux builds using enterprise bits&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37428&quot;&gt;&lt;del&gt;SERVER-37428&lt;/del&gt;&lt;/a&gt; Move compile_* tasks to separate build variants.&lt;/p&gt;

&lt;p&gt;Build variants are able to define separate lists of modules whereas&lt;br/&gt;
tasks cannot.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d11e4a25014c2d6a4939481dbefa52fd11d8f286&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d11e4a25014c2d6a4939481dbefa52fd11d8f286&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2066954" author="henrik.ingo@10gen.com" created="Mon, 19 Nov 2018 20:28:25 +0000"  >&lt;p&gt;Note that after EVG-727 / EVG-5379 this ticket changes in nature: We could now have a single compile task and use the enterprise version for everything. (Will still need a separate wtdevelop compile, of course.)&lt;/p&gt;</comment>
                            <comment id="2024832" author="henrik.ingo@10gen.com" created="Fri, 5 Oct 2018 11:49:23 +0000"  >&lt;p&gt;Already commented on CR, only now seeing this thread...&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Is there a reason (e.g. how task dependencies work in Evergreen) that we chose to have 1 build variant with 3 compile* tasks rather than 3 build variants with 1 compile task each?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This is a good point and IMO your proposal is also an acceptable solution to the same proposal.&lt;/p&gt;

&lt;p&gt;The reason the compile variant is the same is that we want all binaries to be compiled on the same linux and same toolchain to maintain ability to compare them. (More generally, until now we never targeted different OSes, compilers or libraries in sys-perf, focus was solely on MongoDB&apos;s own performance in an otherwise static environment.) So it was just natural to have a single variant for that.&lt;/p&gt;

&lt;p&gt;I tried to think about why I instinctively prefer the wtdevelop approach to the one seen in enterprise module, and came to this conclusion: In the wtdevelop compile, it&apos;s the same block of code that takes one parameter and:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;actively includes wtdevelop code in the src/ tree&lt;/li&gt;
	&lt;li&gt;adds -wtdevelop into the version string&lt;/li&gt;
	&lt;li&gt;add -wtdevelop into the filename of the tar archive&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For enterprise, it is now a completely separate input parameter/mechanism that clones enterprise source code into src/ and then a separate block of code to add -enterprise to the binary or not. When I look at the code, it seems just a matter of time before someone will again accidentally include enterprise module into the community compile, and there&apos;s nothing in the subsequent code that will fail hard or alert the user about this.&lt;/p&gt;

&lt;p&gt;If we wanted to go with your proposal, then we IMO need to change &lt;a href=&quot;https://github.com/mongodb/mongo/blob/c405add0814ea4cc819588d26fe315369319e010/etc/system_perf.yml#L74&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this code&lt;/a&gt; so that it doesn&apos;t take a parameter rather correctly determines whether the compile is enterprise or not.&lt;/p&gt;

&lt;p&gt;What should happen in the accidental use case is that the compile task uploads ...-enterprise.tgz and the task will try to download ...tgz and fail when it isn&apos;t there. (And also mongo --version should print the truth.)&lt;/p&gt;</comment>
                            <comment id="2024819" author="max.hirschhorn@10gen.com" created="Fri, 5 Oct 2018 11:31:08 +0000"  >&lt;p&gt;There&apos;s another option of leaving the &lt;tt&gt;git.get_project&lt;/tt&gt; command and build variants as-is and instead using the &lt;tt&gt;&amp;#45;&amp;#45;modules&lt;/tt&gt; command line option to SCons to get it to ignore the &lt;tt&gt;src/mongo/db/modules/enterprise/&lt;/tt&gt; directory in the &lt;tt&gt;compile&lt;/tt&gt; and &lt;tt&gt;compile_wtdevelop&lt;/tt&gt; tasks.&lt;/p&gt;</comment>
                            <comment id="2021415" author="max.hirschhorn@10gen.com" created="Tue, 2 Oct 2018 22:40:11 +0000"  >&lt;blockquote&gt;
&lt;p&gt;The fix seems to be making the enterprise build more like the wtdevelop build, by checking out the enterprise module to a directory outside the mongo source directory, and actively copying it in for the enterprise build as is done in &quot;use wiredtiger develop&quot; function. &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I don&apos;t agree with this proposal. The WiredTiger develop does what it does because there&apos;s an existing copy of the wiredtiger/wiredtiger repository vendored in the mongodb/mongo source tree - that isn&apos;t the case for the enterprise module. We shouldn&apos;t be &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0380ac1465fcd05e2577351d5df226eb6bbccaa5/etc/system_perf.yml#L666&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;specifying &lt;tt&gt;enterprise&lt;/tt&gt; in the &lt;tt&gt;modules&lt;/tt&gt; list for the build variant&lt;/a&gt; when &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0380ac1465fcd05e2577351d5df226eb6bbccaa5/etc/system_perf.yml#L677&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;we specifically are trying not to build with the &lt;tt&gt;enterprise&lt;/tt&gt; module enabled&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Is there a reason (e.g. how task dependencies work in Evergreen) that we chose to have 1 build variant with 3 &lt;tt&gt;compile*&lt;/tt&gt; tasks rather than 3 build variants with 1 &lt;tt&gt;compile&lt;/tt&gt; task each?&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">
                                        <issuelink>
            <issuekey id="639958">SERVER-38305</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="613455">SERVER-37438</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>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_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    <customfieldvalue key="14340"><![CDATA[v3.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, 2 Oct 2018 19:35:35 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 7 weeks, 5 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>david.daly@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>henrik.ingo@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu9da7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htzqpr:</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="2562">STM 2018-12-03</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</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|hu8zjj:</customfieldvalue>

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