<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:41:45 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-16634] CLONE - Patch to speed up rs.initiate on Windows 2008 R2 with hotfix</title>
                <link>https://jira.mongodb.org/browse/SERVER-16634</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi,&lt;br/&gt;
I implemented a patch for both 2.6.6 and 2.8 that adds a isDataFileZeroingNeeded option for mongoD (Windows only). If isDataFileZeroingNeeded is set to false, data files are not zeroed. This reduces execution time for rs.initialize() from over 5 minutes to a few seconds. Our app&apos;s install script can detect if the OS is Windows 2008 R2 and the &lt;a href=&quot;http://support.microsoft.com/kb/2731284&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://support.microsoft.com/kb/2731284&lt;/a&gt; hotfix is not installed and set isDataFileZeroingNeeded accordingly.&lt;/p&gt;

&lt;p&gt;Here&apos;s the commit &lt;a href=&quot;https://github.com/agherardi/mongo/commit/4c580e917c8673a1045eada2148add4fe9ea8924&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/agherardi/mongo/commit/4c580e917c8673a1045eada2148add4fe9ea8924&lt;/a&gt; , on my mongod github branch.&lt;/p&gt;

&lt;p&gt;Would you consider adding this change to 2.8?&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Alessandro&lt;/p&gt;
</description>
                <environment></environment>
        <key id="175850">SERVER-16634</key>
            <summary>CLONE - Patch to speed up rs.initiate on Windows 2008 R2 with hotfix</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="3">Duplicate</resolution>
                                        <assignee username="neal.rigney">Neal Rigney</assignee>
                                    <reporter username="alessandro.gherardi@schneider-electric.com">Alessandro Gherardi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Dec 2014 20:13:00 +0000</created>
                <updated>Tue, 23 Dec 2014 01:54:05 +0000</updated>
                            <resolved>Mon, 22 Dec 2014 21:41:31 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="792782" author="alessandro.gherardi@schneider-electric.com" created="Tue, 23 Dec 2014 01:54:05 +0000"  >&lt;p&gt;Never mind my last question, I figured it out.&lt;/p&gt;

&lt;p&gt;Here&apos;s the updated patch:&lt;br/&gt;
&lt;a href=&quot;https://github.com/agherardi/mongo/compare/mongodb:master...master&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/agherardi/mongo/compare/mongodb:master...master&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="792743" author="alessandro.gherardi@schneider-electric.com" created="Tue, 23 Dec 2014 00:18:40 +0000"  >&lt;p&gt;I have a C++ code snippet that uses COM that I think will do the job. The idea is to use the Windows Update Agent API &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/windows/desktop/aa387291%28v=vs.85%29.aspx&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://msdn.microsoft.com/en-us/library/windows/desktop/aa387291%28v=vs.85%29.aspx&lt;/a&gt; to retrieve the update history. Would this approach be acceptable to you guys?&lt;/p&gt;

&lt;p&gt;If yes, I need to link mongoD against ole32.lib and possibly other Win32 libraries. Since I&apos;m not familiar with SCons, can you please explain which build script I need to change to link mongoD against ole32.lib?&lt;/p&gt;
</comment>
                            <comment id="792596" author="matt.kangas@10gen.com" created="Mon, 22 Dec 2014 21:31:24 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=agherardi&quot; class=&quot;user-hover&quot; rel=&quot;agherardi&quot;&gt;agherardi&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;I see that you are trying to optimize file allocation time on Windows 2008 R2 hosts. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14992&quot; title=&quot;Query for Windows 7 File Allocation Fix, and other hotfixes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14992&quot;&gt;&lt;del&gt;SERVER-14992&lt;/del&gt;&lt;/a&gt; describes our plan for this, which is to make mongod capable of detecting specific hotfixes on Windows.&lt;/p&gt;

&lt;p&gt;I see that your current patch adds a command line option which toggles off explicit file zeroing in the file allocator. While I&apos;m sure this is safe in your capable hands, this option will be very dangerous if it is ever set on an unpatched Windows 2008 R2 host.&lt;/p&gt;

&lt;p&gt;If you wish to submit a patch that implements &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-14992&quot; title=&quot;Query for Windows 7 File Allocation Fix, and other hotfixes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-14992&quot;&gt;&lt;del&gt;SERVER-14992&lt;/del&gt;&lt;/a&gt;, we will be happy to review it.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="154148">SERVER-14992</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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 22 Dec 2014 21:31:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 8 weeks, 2 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>alessandro.gherardi@schneider-electric.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 8 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alessandro.gherardi@schneider-electric.com</customfieldvalue>
            <customfieldvalue>matt.kangas</customfieldvalue>
            <customfieldvalue>neal.rigney</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlfmn:</customfieldvalue>

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

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

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