<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:21 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-3890] update / remove operations should display result from getLastError in shell</title>
                <link>https://jira.mongodb.org/browse/SERVER-3890</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In several user groups, people mentioned that it is very surprising that you dont automatically see how many items were updated / removed from the shell.&lt;br/&gt;
For an admin, there always want to see this.&lt;br/&gt;
Since we&apos;re calling getLastError anyway, we should probably display the result object.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22458">SERVER-3890</key>
            <summary>update / remove operations should display result from getLastError in shell</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="antoine">Antoine Girbal</assignee>
                                    <reporter username="antoine">Antoine Girbal</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Sep 2011 19:36:55 +0000</created>
                <updated>Thu, 8 Nov 2012 15:33:40 +0000</updated>
                            <resolved>Fri, 16 Sep 2011 22:47:27 +0000</resolved>
                                                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="184074" author="ian@10gen.com" created="Thu, 8 Nov 2012 15:33:40 +0000"  >&lt;p&gt;Hi Dan, for general questions (like this one about packaging) your best bet is to create a thread on our forums at &lt;a href=&quot;https://groups.google.com/forum/?fromgroups#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://groups.google.com/forum/?fromgroups#!forum/mongodb-user&lt;/a&gt; and our team will follow up with you there.&lt;/p&gt;</comment>
                            <comment id="183980" author="dandv" created="Thu, 8 Nov 2012 09:42:44 +0000"  >&lt;p&gt;Looks like Ubuntu packages 2.0.4. I followed the instructions at &lt;a href=&quot;http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu&lt;/a&gt; (see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7589&quot; title=&quot;Error trying to upgrade to mongodb20-10gen on Ubuntu from existing package&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7589&quot;&gt;&lt;del&gt;SERVER-7589&lt;/del&gt;&lt;/a&gt;) and ended up with 2.0.7. How can I install a newer stable version?&lt;/p&gt;</comment>
                            <comment id="183554" author="tad" created="Wed, 7 Nov 2012 15:21:13 +0000"  >&lt;p&gt;The verbose shell feature was added in version 2.1.0 (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1507&quot; title=&quot;option in shell to print how long each command takes and certain stats&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1507&quot;&gt;&lt;del&gt;SERVER-1507&lt;/del&gt;&lt;/a&gt;).  Can you try version 2.2.1 (for example) and see if that helps?&lt;/p&gt;</comment>
                            <comment id="183548" author="dandv" created="Wed, 7 Nov 2012 15:13:09 +0000"  >&lt;p&gt;Uh... why is this closed? I wanted to raise the same issue. With IDs being human-unfriendly strings, it&apos;s completely useless if&lt;/p&gt;

&lt;p&gt;db.users.remove({_id: &apos;bc1a82b5-f77d-432a-94f3-8390e57d53c5&apos;})&lt;/p&gt;

&lt;p&gt;and&lt;/p&gt;

&lt;p&gt;db.users.remove({_id: &apos;a25b455a-3f10-4e20-a812-e964db30d5a7&apos;})&lt;/p&gt;

&lt;p&gt;produce the same output (nothing), while only one of them did anything.&lt;/p&gt;

&lt;p&gt;What is the reasoning why this was closed? I&apos;ve read &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1507&quot; title=&quot;option in shell to print how long each command takes and certain stats&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1507&quot;&gt;&lt;del&gt;SERVER-1507&lt;/del&gt;&lt;/a&gt; and none of the verboseShell options mentioned work:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.setVerboseShell()&lt;br/&gt;
Wed Nov  7 07:07:56 TypeError: db.setVerboseShell is not a function (shell):1&lt;br/&gt;
&amp;gt; setVerboseShell()&lt;br/&gt;
Wed Nov  7 07:08:22 ReferenceError: setVerboseShell is not defined (shell):1&lt;br/&gt;
&amp;gt; set verbose true&lt;br/&gt;
Wed Nov  7 07:08:58 SyntaxError: missing ; before statement (shell):1&lt;/p&gt;

&lt;p&gt;Passing --verbose to mongo didn&apos;t help either.&lt;/p&gt;</comment>
                            <comment id="54891" author="eliot" created="Fri, 16 Sep 2011 22:47:27 +0000"  >&lt;p&gt;see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1507&quot; title=&quot;option in shell to print how long each command takes and certain stats&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1507&quot;&gt;&lt;del&gt;SERVER-1507&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54890" author="eliot" created="Fri, 16 Sep 2011 22:45:29 +0000"  >&lt;p&gt;Don&apos;t think overall this is the right default&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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 16 Sep 2011 22:45:29 +0000</customfieldvalue>

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

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

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

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