<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:57:27 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-1589] Add Windows Service support to mongos.exe</title>
                <link>https://jira.mongodb.org/browse/SERVER-1589</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I expect to be implementing this myself, but anyone may feel free to beat me to the punch.&lt;/p&gt;

&lt;p&gt;Mongos.exe runs on windows, but is not configured to installitself and run as a service. This renders production use impractical on windows.&lt;/p&gt;

&lt;p&gt;util\ntservice.cpp is pretty generalized so only some minor tweaking there and some refactoring to move functionality in db.cpp to cmdline.cpp asn will allow this to happen.&lt;/p&gt;

&lt;p&gt;Justin&lt;/p&gt;</description>
                <environment>Windows Only</environment>
        <key id="12705">SERVER-1589</key>
            <summary>Add Windows Service support to mongos.exe</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="tad">Tad Marshall</assignee>
                                    <reporter username="zippy1981">Justin Dearing</reporter>
                        <labels>
                            <label>Windows</label>
                            <label>rn</label>
                    </labels>
                <created>Sat, 7 Aug 2010 20:27:53 +0000</created>
                <updated>Wed, 15 Aug 2012 14:18:37 +0000</updated>
                            <resolved>Mon, 27 Feb 2012 20:20:37 +0000</resolved>
                                    <version>1.6.0</version>
                                    <fixVersion>2.1.1</fixVersion>
                                    <component>Usability</component>
                                        <votes>17</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="95034" author="auto" created="Sun, 4 Mar 2012 01:23:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;tadmarshall&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1589&quot; title=&quot;Add Windows Service support to mongos.exe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1589&quot;&gt;&lt;del&gt;SERVER-1589&lt;/del&gt;&lt;/a&gt; fix style error&lt;/p&gt;

&lt;p&gt;Newline in wrong place in else clause, thanks Mathias!&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/704e3a06258f32837879d952e732a206745e3d87&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/704e3a06258f32837879d952e732a206745e3d87&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="92991" author="auto" created="Mon, 27 Feb 2012 20:18:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;tadmarshall&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1589&quot; title=&quot;Add Windows Service support to mongos.exe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1589&quot;&gt;&lt;del&gt;SERVER-1589&lt;/del&gt;&lt;/a&gt; add Windows Service support to mongos.exe&lt;/p&gt;

&lt;p&gt;Make mongos use the ntservice.cpp code already used by mongod to&lt;br/&gt;
install a Windows service and to run as one.  Change some text and&lt;br/&gt;
move the definitions of default strings so the code can be shared.&lt;br/&gt;
Restructure startup code in mongos slightly to separate command line&lt;br/&gt;
parsing from runtime validation of the operating environment.  Log&lt;br/&gt;
operational states well in both mongod and mongos so that it is&lt;br/&gt;
clear from the logs when the programs are running as services.  Fix&lt;br/&gt;
awful attempt at converting 8-bit text into 16-bit Unicode that was&lt;br/&gt;
sign-extending characters in the range of 0x80 to 0xFF.  Log the&lt;br/&gt;
startup parameters in mongos that way that mongod does it, but don&apos;t&lt;br/&gt;
log actual servicePassword strings in either program.  Disallow the&lt;br/&gt;
--upgrade flag from being used with service installation or&lt;br/&gt;
operation in mongos and make this a general facility that can be used&lt;br/&gt;
to disallow any option in either program.  Add some comments to help&lt;br/&gt;
future coders understand how this service business works in the&lt;br/&gt;
code.  Make the mongos startup code and output more similar to&lt;br/&gt;
mongod to make maintenance easier and the user experience better.&lt;br/&gt;
Disambiguate the flavors of exceptions we trap in mongos.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/76427cd8a7f21210e0b41b0382ce05e05f092245&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/76427cd8a7f21210e0b41b0382ce05e05f092245&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57703" author="rasitha1" created="Thu, 29 Sep 2011 21:14:31 +0000"  >&lt;p&gt;When can we expect this feature to be released?&lt;/p&gt;</comment>
                            <comment id="17148" author="auto" created="Fri, 20 Aug 2010 22:41:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: Refactoring of Windows Service related code in preperation for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1589&quot; title=&quot;Add Windows Service support to mongos.exe&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1589&quot;&gt;&lt;del&gt;SERVER-1589&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;All ntservice related code moved from db.cpp to ntservices.cpp and cmdline.cpp. The code was also consolidated.&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;/p&gt;

&lt;p&gt;	db/db.cpp&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/37ae0dbd3ff2e8cff2d913ef11243c5e63413e31&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/37ae0dbd3ff2e8cff2d913ef11243c5e63413e31&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="31858">SERVER-5145</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="41097">DOCS-223</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32528">DOCS-155</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="15478">SERVER-2903</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>4.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, 20 Aug 2010 22:41:02 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 50 weeks, 4 days 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>auto</customfieldvalue>
            <customfieldvalue>zippy1981</customfieldvalue>
            <customfieldvalue>rasitha1</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrphmv:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9437</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10153"><![CDATA[Unneeded]]></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|hrku3b:</customfieldvalue>

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