<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:13:08 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-6928] Better defaults for data directory</title>
                <link>https://jira.mongodb.org/browse/SERVER-6928</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m proposing we should have a more sensible default for database location, either in a globally writable space or a user&apos;s home directory.&lt;/p&gt;

&lt;p&gt;Making a folder and chowning it (as per our directions) is not any different than simply using a subdirectory of the home directory (except it requires zero steps instead of two).&lt;/p&gt;

&lt;p&gt;Security: same.&lt;br/&gt;
Support: better (no steps vs. two in most cases) and everyone knows and has access to $HOME no matter what platform you are on.&lt;br/&gt;
Documentation: your data lives in $HOME/mongodb.&lt;/p&gt;

&lt;p&gt;I think that this change is worth the effort. New users will be happy that they can now start using Mongo immediately without configuration.&lt;/p&gt;</description>
                <environment></environment>
        <key id="49300">SERVER-6928</key>
            <summary>Better defaults for data directory</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="tyler@10gen.com">Tyler Brock</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Sep 2012 14:29:23 +0000</created>
                <updated>Tue, 19 Mar 2013 16:23:02 +0000</updated>
                            <resolved>Wed, 5 Sep 2012 16:28:34 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="160670" author="eliot" created="Wed, 5 Sep 2012 16:28:34 +0000"  >&lt;p&gt;There is no global default that works, and local is very dangerous.&lt;/p&gt;</comment>
                            <comment id="160238" author="scotthernandez" created="Tue, 4 Sep 2012 18:25:30 +0000"  >&lt;p&gt;This complicates things and makes it harder to support and document. There is no one right answer and we give users a tool to set this via the config file or command line opts.&lt;/p&gt;

&lt;p&gt;Having this change dynamic based on the user will only complicate this in my experience. This is what packagers get to choose &amp;#8211; they chose the correct behavior for their platform and users.&lt;/p&gt;

&lt;p&gt;(&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tyler.brock%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;tyler.brock@gmail.com&quot;&gt;tyler.brock@gmail.com&lt;/a&gt;: You might want to redefine the issue description so it is clear what they might vote on if this comes to something which is going to be considered.)&lt;/p&gt;</comment>
                            <comment id="160142" author="tyler@10gen.com" created="Tue, 4 Sep 2012 15:07:43 +0000"  >&lt;p&gt;The whole point of this is, if the data dir doesn&apos;t exist, we can create it. Just like everything else in mongo, a database, a collection, a document (via upsert).&lt;/p&gt;</comment>
                            <comment id="160138" author="tyler@10gen.com" created="Tue, 4 Sep 2012 15:03:17 +0000"  >&lt;p&gt;I&apos;d also like to point out that we currently make other tweaks and settings changes based on platform (like no journaling on 32bit and small oplog on MacOSX). So this isn&apos;t far fetched or out of scope for a possibility.&lt;/p&gt;</comment>
                            <comment id="160137" author="tyler@10gen.com" created="Tue, 4 Sep 2012 15:00:27 +0000"  >&lt;p&gt;Well there are two ways to do it (which both make more sense than /data/db because virtually nobody has that already):&lt;/p&gt;

&lt;p&gt;We can create it in a home directory or a globally writable space.&lt;/p&gt;

&lt;p&gt;Lets say we took the home directory option:&lt;/p&gt;

&lt;p&gt;Windows: C:\Documents and Settings\&amp;lt;username&amp;gt;\MongoDB&lt;br/&gt;
Mac OS X: /Users/&amp;lt;username&amp;gt;/MongoDB&lt;br/&gt;
Linux: /home/&amp;lt;username&amp;gt;/MongoDB&lt;/p&gt;

&lt;p&gt;Lets say we took the globally writable dir option:&lt;/p&gt;

&lt;p&gt;I&apos;m not sure where this would go, maybe /var/lib or /usr/local? (I&apos;d defer to unix/linux/windows/osx gurus on this)&lt;/p&gt;

&lt;p&gt;The idea is that it should be in a place that makes sense as a User&apos;s or System&apos;s default data directory.&lt;/p&gt;</comment>
                            <comment id="160125" author="scotthernandez" created="Tue, 4 Sep 2012 14:47:28 +0000"  >&lt;p&gt;So, to sum this up you want what? Are you suggesting that starting mongod from different contexts it should use different paths to data? Are you trying to address multi-use systems where many users want to start mongod and data should be sep. for each?&lt;/p&gt;

&lt;p&gt;What systems do you want this for? For packages like on linux the packaging system specifies the default location, which is standard and expected. The same is true for homebrew/freebsd. On windows we need a package installer.&lt;/p&gt;</comment>
                    </comments>
                    <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_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10012"><![CDATA[Major Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 4 Sep 2012 14:47:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 24 weeks 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, 24 weeks 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>scotthernandez</customfieldvalue>
            <customfieldvalue>tyler@10gen.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnpxj:</customfieldvalue>

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

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

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