<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:57:26 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-1582] add more things to &quot;features&quot; command</title>
                <link>https://jira.mongodb.org/browse/SERVER-1582</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Add:&lt;br/&gt;
maxBSONSize&lt;br/&gt;
tableScansEnabled&lt;br/&gt;
cursorsEnabled&lt;br/&gt;
authEnabled&lt;/p&gt;</description>
                <environment></environment>
        <key id="12692">SERVER-1582</key>
            <summary>add more things to &quot;features&quot; command</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="scotthernandez">Scott Hernandez</reporter>
                        <labels>
                    </labels>
                <created>Fri, 6 Aug 2010 14:54:52 +0000</created>
                <updated>Fri, 25 Aug 2017 14:21:09 +0000</updated>
                            <resolved>Fri, 25 Aug 2017 14:21:09 +0000</resolved>
                                    <version>1.6.0</version>
                                                    <component>Admin</component>
                                        <votes>2</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1657198" author="ian@10gen.com" created="Fri, 25 Aug 2017 14:21:09 +0000"  >&lt;p&gt;This ticket is better represented by a project going through our standard design process.  Any specific requests still unresolved here should go through a new, more specific SERVER ticket.&lt;/p&gt;</comment>
                            <comment id="77852" author="christkv" created="Thu, 5 Jan 2012 16:27:51 +0000"  >&lt;p&gt;&quot;findAndModify&quot;: &lt;/p&gt;
{&quot;replicaSetSafeCompatible&quot;:true}

&lt;p&gt;Allows the driver to detect if findAndModify supports safe with w and wtimeout and can drop the lastError followup command (it takes safe but only safe=true)&lt;/p&gt;</comment>
                            <comment id="77851" author="eliot" created="Thu, 5 Jan 2012 16:27:34 +0000"  >&lt;p&gt;Not sure it actually makes sense to send it.&lt;br/&gt;
If you look at update operators, unless you&apos;re going to parse those and understand the semantics, you&apos;re not doing more than a superficial check which isn&apos;t very helpful.&lt;/p&gt;</comment>
                            <comment id="77849" author="scotthernandez" created="Thu, 5 Jan 2012 16:22:59 +0000"  >&lt;p&gt;How should this non-command information be communicated to the clients/drivers in a machine readable way? I don&apos;t really care if they fit in this &quot;features&quot; command as long as they are somewhere accesible.&lt;/p&gt;</comment>
                            <comment id="77838" author="eliot" created="Thu, 5 Jan 2012 16:02:25 +0000"  >&lt;p&gt;What I was saying is that we could add the list of paramters to listCommands if we&apos;re going to add it anywhere.&lt;br/&gt;
I&apos;m not sure the server should communicate the list of operators to a driver in this way.&lt;/p&gt;</comment>
                            <comment id="77837" author="scotthernandez" created="Thu, 5 Jan 2012 15:57:50 +0000"  >&lt;p&gt;Kristina: as few as possible, yes &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;The problem isn&apos;t that we don&apos;t have a list of commands, but that they don&apos;t define what options are valid and the client could use. ListCommands doesn&apos;t expose this at all, nor do the commands defined this.&lt;/p&gt;

&lt;p&gt;We need to communicate somehow what the server support in terms of query/update operators. Where do we expose this?&lt;/p&gt;</comment>
                            <comment id="77835" author="eliot" created="Thu, 5 Jan 2012 15:55:55 +0000"  >&lt;p&gt;I&apos;m not sure the non-command stuff makes sense.&lt;/p&gt;</comment>
                            <comment id="77834" author="eliot" created="Thu, 5 Jan 2012 15:54:52 +0000"  >&lt;p&gt;listCommands already gives the list of commands&lt;/p&gt;</comment>
                            <comment id="77833" author="scotthernandez" created="Thu, 5 Jan 2012 15:54:12 +0000"  >&lt;p&gt;Okay, but the non-command stuff should go here still? Are you just suggesting that the command related stuff not be here?&lt;/p&gt;

&lt;p&gt;It seems reasonable that each command def. include this type of information and it be exposed in listCommands.&lt;/p&gt;</comment>
                            <comment id="77831" author="kristina" created="Thu, 5 Jan 2012 15:51:57 +0000"  >&lt;p&gt;@Eliot: the point is to have a single request the drivers can make to find out what the capabilities of a server are.  If not features, something else.&lt;/p&gt;</comment>
                            <comment id="77829" author="eliot" created="Thu, 5 Jan 2012 15:50:27 +0000"  >&lt;p&gt;This doesn&apos;t belong in features.&lt;br/&gt;
It would go in either help for each command or listCommands&lt;/p&gt;</comment>
                            <comment id="77826" author="scotthernandez" created="Thu, 5 Jan 2012 15:48:54 +0000"  >&lt;p&gt;Features should include things like if the aggregation framework exists, and what operations are valid for those features (for aggregation it would be pipelines/operations).&lt;/p&gt;

&lt;p&gt;Here is kinda what I&apos;m thinking:&lt;/p&gt;

&lt;p&gt;&amp;gt;db.runCommand(&quot;features&quot;)&lt;br/&gt;
{ &quot;js&quot; : &lt;/p&gt;
{ &quot;utf8&quot; : true, engine : &quot;sm&quot;, version : 12312, maxHeap : 16000 }
&lt;p&gt;,&lt;br/&gt;
  &quot;auth&quot; : &lt;/p&gt;
{ enabled : true , database : [&quot;db1&quot;, &quot;db2&quot; ]}
&lt;p&gt;,&lt;br/&gt;
  &quot;insert&quot; : &lt;/p&gt;
{ continueOnError : true }
&lt;p&gt;,&lt;br/&gt;
  &quot;query&quot; : &lt;/p&gt;
{ operations : [&quot;$gt&quot;, &quot;$gte&quot;, ...], cursors : false/true, specials : [&quot;$maxScan&quot;, ...], flags : [&quot;partial&quot;] }
&lt;p&gt;,&lt;br/&gt;
  &quot;update&quot; : &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;$set&amp;quot;, &amp;quot;$inc&amp;quot;, ...&amp;#93;&lt;/span&gt;,&lt;br/&gt;
  &quot;aggregate&quot; : [ ... ], //maybe better returned from each command via features json/metadata&lt;br/&gt;
  &quot;getLastError&quot; : &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;j&amp;quot;, &amp;quot;w&amp;quot;, &amp;quot;wtimeout&amp;quot;, ... &amp;#93;&lt;/span&gt;,&lt;br/&gt;
  &quot;&amp;lt;command-name&amp;gt;&quot; : &amp;lt;features from command def.&amp;gt;,&lt;br/&gt;
  &quot;cursor&quot; : &lt;/p&gt;
{ &quot;firstBatchSizeDocs&quot; : 101, &quot;firstBatchSizeMB&quot; : 1, ... }
&lt;p&gt;,&lt;br/&gt;
  &quot;indexes&quot; : &lt;/p&gt;
{ types: [&quot;ascending&quot;, &quot;descending&quot;, &quot;2d&quot;, &quot;haystack&quot;], &quot;max2dPerCollection&quot; : 1, ...}
&lt;p&gt;,&lt;br/&gt;
  &quot;oidMachine&quot; : 11432330, &lt;br/&gt;
  &quot;maxBsonObjectSize : 16777216,&lt;br/&gt;
  &quot;maxRequestSize&quot; : 320000,&lt;br/&gt;
  &quot;ok&quot; : 1 }&lt;/p&gt;</comment>
                            <comment id="27734" author="redbeard0531" created="Mon, 4 Apr 2011 20:03:35 +0000"  >&lt;p&gt;Holding off on this for now since the features command is shared between mongos and mongod and most of those dont&apos; make sense from a mongos.&lt;/p&gt;</comment>
                            <comment id="16548" author="scotthernandez" created="Fri, 6 Aug 2010 17:11:22 +0000"  >&lt;p&gt;I understand it was vague, and I guessed my intent was obvious but clearly assumptions were made on my side &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Is there a list of valid operators and modifiers anywhere? &lt;/p&gt;

&lt;p&gt;In the case when the server returns $or not a valid operation for example, it would be good to be able to list the valid operators.&lt;/p&gt;

&lt;p&gt;Can that be added as well, if it isn&apos;t anywhere else.&lt;/p&gt;</comment>
                            <comment id="16547" author="eliot" created="Fri, 6 Aug 2010 16:24:47 +0000"  >&lt;p&gt;I&apos;m sorry I didn&apos;t fully answer your question - but this is fairly a very vague request.&lt;br/&gt;
I&apos;ll re-open and change it a bit...&lt;/p&gt;</comment>
                            <comment id="16545" author="scotthernandez" created="Fri, 6 Aug 2010 15:41:11 +0000"  >&lt;p&gt;This is what I get for the features command:  { &quot;js&quot; : &lt;/p&gt;
{ &quot;utf8&quot; : true }
&lt;p&gt;, &quot;oidMachine&quot; : 4773, &quot;ok&quot; : 1 }&lt;/p&gt;

&lt;p&gt;Where is the maxBSONSize? Where is the list of operators and modifiers supported by the server? Where is the information about cursors or tablescans being supported on the server?&lt;/p&gt;

&lt;p&gt;I can understand if you don&apos;t like this idea, but please say that instead of sending me to something that provides none of the support which I&apos;m asking for. &lt;/p&gt;

&lt;p&gt;Eliot, it is a little infuriating to have things that don&apos;t exist, and are useful, being described as &quot;Works as Designed&quot; and &quot;Closed&quot;, and therefor ignored.&lt;/p&gt;</comment>
                            <comment id="16543" author="eliot" created="Fri, 6 Aug 2010 15:21:16 +0000"  >&lt;p&gt;see: &lt;br/&gt;
db.runCommand( &quot;features&quot; )&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="13140">SERVER-1822</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13184">SERVER-1853</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="12695">JAVA-146</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>17.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 6 Aug 2010 15:21:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 24 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-1853'>SERVER-1853</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-1822'>SERVER-1822</a></s>]]></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>
                            6 years, 24 weeks, 5 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>christkv</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>kristina</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrphqv:</customfieldvalue>

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

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

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