<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:06:15 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-24395] Do not display startup warnings when querying for version</title>
                <link>https://jira.mongodb.org/browse/SERVER-24395</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In MongoDB 3.3.6, running &lt;tt&gt;mongod --version&lt;/tt&gt; on Windows without the KB2731284 hotfix installed will cause a startup warning to be displayed before the version information.  This causes the Automation Agent to fail because the output is not in the format it&apos;s expecting.  It is crucial that this does not make it into any production version of MongoDB, as doing so would prevent customers from being able to deploy clusters running the latest MongoDB version on Windows using automation.&lt;/p&gt;

&lt;p&gt;CC &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mark.benvenuto&quot; class=&quot;user-hover&quot; rel=&quot;mark.benvenuto&quot;&gt;mark.benvenuto&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="291341">SERVER-24395</key>
            <summary>Do not display startup warnings when querying for version</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="mark.benvenuto@mongodb.com">Mark Benvenuto</assignee>
                                    <reporter username="david.golub@mongodb.com">David Golub</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Jun 2016 15:48:44 +0000</created>
                <updated>Mon, 8 Jan 2024 15:23:04 +0000</updated>
                            <resolved>Tue, 30 Aug 2016 18:00:29 +0000</resolved>
                                    <version>3.3.6</version>
                                    <fixVersion>3.3.14</fixVersion>
                                    <component>Admin</component>
                    <component>Logging</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1372085" author="xgen-internal-githook" created="Tue, 30 Aug 2016 17:08:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;markbenvenuto&apos;, u&apos;name&apos;: u&apos;Mark Benvenuto&apos;, u&apos;email&apos;: u&apos;mark.benvenuto@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24395&quot; title=&quot;Do not display startup warnings when querying for version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24395&quot;&gt;&lt;del&gt;SERVER-24395&lt;/del&gt;&lt;/a&gt; Do not display startup warnings when querying for version&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cc38d23180248e5c5a6b21adf6ee7a2b4e670f0f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cc38d23180248e5c5a6b21adf6ee7a2b4e670f0f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1306174" author="schwerin" created="Fri, 24 Jun 2016 19:16:50 +0000"  >&lt;p&gt;I don&apos;t want to restrict the behavior of logging too much during initializers or static initialization. If this behavior is important, I&apos;d rather that we added a test for it, and split the logging portion of collectSystemInfo from the part needed for the secure allocator. Then, we move the logging part into a mongo initializer that runs after &quot;default&quot; (and hence after command line options).&lt;/p&gt;

&lt;p&gt;Now, the rule becomes that if you write a mongo initializer that logs, it must either be fatal or occur after command line processing. That&apos;s good for log redirection, anyhow. If you&apos;re using --logpath, I bet that the hotfix message isn&apos;t getting in. Similarly, any logging in static initialization (which is legal) must be fatal. We could enforce this behavior by making the logging code abort the process if it occurs before command line processing is done, or we could just hope to test it with the aforementioned jstest.&lt;/p&gt;</comment>
                            <comment id="1305941" author="acm" created="Fri, 24 Jun 2016 17:43:13 +0000"  >&lt;p&gt;I&apos;d also be interested in comments from &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mira.carey%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mira.carey@mongodb.com&quot;&gt;mira.carey@mongodb.com&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mark.benvenuto&quot; class=&quot;user-hover&quot; rel=&quot;mark.benvenuto&quot;&gt;mark.benvenuto&lt;/a&gt;, as this is mostly a bad interaction between &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23570&quot; title=&quot;Make SecureAllocator a real allocator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23570&quot;&gt;&lt;del&gt;SERVER-23570&lt;/del&gt;&lt;/a&gt; and &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;.&lt;/p&gt;</comment>
                            <comment id="1305931" author="acm" created="Fri, 24 Jun 2016 17:34:22 +0000"  >&lt;p&gt;Command line options parsing occurs as part of the mongo initializer chain. If, during options processing, we find the &amp;#45;&amp;#45;version flag, we then print the version info and terminate. However, also during mongo initializer execution, we call ProcessInfo::SystemInfo::collectSystemInfo so that we can obtain the page size. We need the page size so that we can use the SecureAllocator to protect security relevant command line options. As a result, we (must) call SystemInfo::collectSystemInfo &lt;b&gt;before&lt;/b&gt; we have examined the command line options. Within SystemInfo::collectSystemInfo we log the status of the Hotfix if we find that we are running on system that would be affected by the underlying MS KB issue. As a result, we end up logging before we even have examined the command line options, so the Hotfix log line is emitted even when --version is present.&lt;/p&gt;

&lt;p&gt;The best short term solution is probably to issue the message about the KB/Hotfix as a startup warning from within logMongodStartupWarnings, rather than as a bare log within the processinfo_windows.cpp file.&lt;/p&gt;

&lt;p&gt;However, this is a stopgap solution. Any call go log() in library code called from the mongo initializer chain is suspect: if it becomes scheduled before options processing in the initializer dependency graph, this issue will resurface as a regression. There is no easy way to prevent this from happening. One possibility might be to make the mongo log() buffer, rather than write to stdout/stderr, until after the mongo initializers are all complete.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin&quot; class=&quot;user-hover&quot; rel=&quot;schwerin&quot;&gt;schwerin&lt;/a&gt; - Any thoughts?&lt;/p&gt;</comment>
                            <comment id="1303143" author="david.golub" created="Wed, 22 Jun 2016 18:26:00 +0000"  >&lt;p&gt;I just discussed this on Slack with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ramon.fernandez&quot; class=&quot;user-hover&quot; rel=&quot;ramon.fernandez&quot;&gt;ramon.fernandez&lt;/a&gt;.  I had misinterpreted how it was classified, specifically the use of the term &quot;backlog.&quot;  My mistake.&lt;/p&gt;</comment>
                            <comment id="1303123" author="david.golub" created="Wed, 22 Jun 2016 18:16:19 +0000"  >&lt;p&gt;I believe that this ticket is incorrectly prioritized.  It is critical that this bug &lt;b&gt;not&lt;/b&gt; be included in any production release of MongoDB, as doing so will break automation on Windows with existing versions of the Automation Agent.  While it doesn&apos;t have to be fixed tomorrow, it does need to be fixed before MongoDB 3.4 and should not be put on the back burner indefinitely.  I expect that this will probably be a trivial fix involving moving a few lines from one place in the code to another, so I doubt it will require a large time investment.&lt;/p&gt;</comment>
                            <comment id="1283825" author="david.golub" created="Fri, 3 Jun 2016 18:28:48 +0000"  >&lt;p&gt;The message is displayed when actually starting a &lt;tt&gt;mongod&lt;/tt&gt; process with older versions, but only 3.3.6 displays it when running &lt;tt&gt;mongod --version&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Also, I&apos;m not sure why this was changed to be an improvement rather than a bug.  It will break automation on Windows if included in a production release, so it should be treated as critical.&lt;/p&gt;</comment>
                            <comment id="1283786" author="mark.benvenuto" created="Fri, 3 Jun 2016 18:01:32 +0000"  >&lt;p&gt;The warning message is in 2.6 and later releases. An update to fix this for later Windows 7 kernels was made recently.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="154148">SERVER-14992</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="274087">SERVER-23277</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.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>Fri, 3 Jun 2016 18:01:32 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 24 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>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>david.golub@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk6kn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsp6k7:</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="1064">Platforms 16 (06/24/16)</customfieldvalue>
    <customfieldvalue id="1065">Platforms 17 (07/15/16)</customfieldvalue>
    <customfieldvalue id="1066">Platforms 18 (08/05/16)</customfieldvalue>
    <customfieldvalue id="1227">Platforms 2016-08-26</customfieldvalue>
    <customfieldvalue id="1244">Platforms 2016-09-19</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_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsewhz:</customfieldvalue>

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