<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:17:23 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-8417] Increase .dbshell history to 1000 lines</title>
                <link>https://jira.mongodb.org/browse/SERVER-8417</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Something like the attached (which doesn&apos;t work for me yet)&lt;/p&gt;

&lt;p&gt;In my ~/.mongorc.js, I&apos;ve tried:&lt;br/&gt;
  historyMaxLen = &quot;1000&quot;&lt;br/&gt;
and &lt;br/&gt;
  var historyMaxLen = 1000&lt;/p&gt;
</description>
                <environment></environment>
        <key id="63819">SERVER-8417</key>
            <summary>Increase .dbshell history to 1000 lines</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="5" iconUrl="https://jira.mongodb.org/images/icons/priorities/trivial.svg">Trivial - P5</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="backlog-server-platform">DO NOT USE - Backlog - Platform Team</assignee>
                                    <reporter username="vbatts@redhat.com">Vincent Batts</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Wed, 30 Jan 2013 19:08:39 +0000</created>
                <updated>Fri, 16 Feb 2018 19:27:33 +0000</updated>
                            <resolved>Mon, 16 Oct 2017 18:55:28 +0000</resolved>
                                    <version>2.3.2</version>
                                    <fixVersion>3.6.0-rc1</fixVersion>
                                    <component>Shell</component>
                                        <votes>18</votes>
                                    <watches>20</watches>
                                                                                                                <comments>
                            <comment id="1808378" author="ramon.fernandez" created="Fri, 16 Feb 2018 19:27:33 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=glajchs&quot; class=&quot;user-hover&quot; rel=&quot;glajchs&quot;&gt;glajchs&lt;/a&gt;, glad to hear the new default is working better for you.&lt;/p&gt;

&lt;p&gt;I don&apos;t believe there&apos;s any planned work around making this configurable, so feel free to open a new SERVER ticket if you really need this feature &amp;#8211; and if you&apos;re interested contributing it please let us know.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                            <comment id="1808371" author="glajchs" created="Fri, 16 Feb 2018 19:22:47 +0000"  >&lt;p&gt;Hello.  Thank you for increasing the default history 1000!  It&apos;s a much better default.&lt;br/&gt;
Tad Marshall&apos;s comment implies that some work might be done to expose configuration of this length via a MONGO_SHELL_HISTORY_LINES environment variable or something similar, and the bug is closed now, but the commit details show no indication of whether or not this work is happening.&lt;/p&gt;

&lt;p&gt;Is this going to be planned for a future version under a different bug, is this already fixed by some other commit, or is this configuration option not planning on being added?&lt;/p&gt;

&lt;p&gt;I just want to be able to watch said issue if there is one so we can take advantage of it, if it gets added.&lt;/p&gt;</comment>
                            <comment id="1700080" author="xgen-internal-githook" created="Mon, 16 Oct 2017 18:54:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;mike.zraly@sophos.com&apos;, &apos;name&apos;: &apos;Mike Zraly&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8417&quot; title=&quot;Increase .dbshell history to 1000 lines&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8417&quot;&gt;&lt;del&gt;SERVER-8417&lt;/del&gt;&lt;/a&gt; Increase default max history length to 1000&lt;/p&gt;

&lt;p&gt;Signed-off-by: Ramon Fernandez &amp;lt;ramon@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0d37b00b8c83c257ed3ae40b6ed4e42ae99861f0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0d37b00b8c83c257ed3ae40b6ed4e42ae99861f0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="388996" author="tad" created="Thu, 25 Jul 2013 23:40:56 +0000"  >&lt;p&gt;I think that this is all good.&lt;/p&gt;

&lt;p&gt;We should:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Increase the default to 1000 lines&lt;/li&gt;
	&lt;li&gt;Provide a way for users to select a different history size&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;It might be misleading to allow the setting of a shell JavaScript variable to change this, unless we wrote code to dynamically resize the history buffer (which is certainly possible).  A simpler technique might be to require an environment variable like MONGO_SHELL_HISTORY_LINES or something like that so that it was clear that this had to be selected before the program is started.&lt;/p&gt;</comment>
                            <comment id="254862" author="asya" created="Thu, 31 Jan 2013 17:33:56 +0000"  >&lt;p&gt;I&apos;d like to add that initial default being 100 is very low - regardless of how/when we add ability to customize the size, I&apos;d like to request that default start out as 1,000 instead.&lt;/p&gt;</comment>
                            <comment id="254023" author="vbatts@redhat.com" created="Wed, 30 Jan 2013 19:17:28 +0000"  >&lt;p&gt;uggh, the setting of line history just needs to be done &lt;em&gt;before&lt;/em&gt; the shellHistoryInit();&lt;/p&gt;

&lt;p&gt;Attached is a working patch to provide a working &quot;historyMaxLen&quot; variable from ~/.mongorc.js&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="23636" name="mongo-historylength.diff" size="902" author="vbatts@redhat.com" created="Wed, 30 Jan 2013 19:17:47 +0000"/>
                    </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="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000Y0Z9DIAV]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 31 Jan 2013 14:27:03 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 51 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-platform</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
            <customfieldvalue>glajchs</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
            <customfieldvalue>vbatts@redhat.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrn8pr:</customfieldvalue>

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

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

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