<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:54:14 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-477] Repeatedly seeing &quot;Assertion: no index found for specified keyPattern&quot; in the logs</title>
                <link>https://jira.mongodb.org/browse/SERVER-477</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I discussed this with Eliot on IRC, and he recommended I post the data here.  Here is a specific example of the assertion we are seeing repeatedly in the logs:&lt;/p&gt;

&lt;p&gt;Fri Dec 11 20:17:37 Assertion: no index found for specified keyPattern&lt;br/&gt;
Fri Dec 11 20:17:37   ntoskip:0 ntoreturn:500&lt;br/&gt;
Fri Dec 11 20:17:37   query:{ query: { minutes.velocity24: &lt;/p&gt;
{ $gt: 0 }
&lt;p&gt; }, $max: &lt;/p&gt;
{ limit: 500 }
&lt;p&gt;, orderby: &lt;/p&gt;
{ minutes.velocity24: -1 }
&lt;p&gt; }&lt;/p&gt;

&lt;p&gt;The attached logs.txt file shows other examples, however the above is the only one that I know for certain is happening in the collection for which I&apos;ve attached a schema and the indexes.&lt;/p&gt;</description>
                <environment>64-bit Linux.  2.6.18-164.6.1.el5 kernel.</environment>
        <key id="10987">SERVER-477</key>
            <summary>Repeatedly seeing &quot;Assertion: no index found for specified keyPattern&quot; in the logs</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="9">Done</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="jeremy">Jeremy Andrews</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Dec 2009 17:06:29 +0000</created>
                <updated>Fri, 7 Mar 2014 00:57:38 +0000</updated>
                            <resolved>Sat, 12 Dec 2009 09:43:07 +0000</resolved>
                                    <version>1.1.4</version>
                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="11351" author="douggreen" created="Sat, 12 Dec 2009 07:35:32 +0000"  >&lt;p&gt;There are two problems here, both of them mine, and none of them Mongo&apos;s.  I realized yesterday (before Jeremy submitted this that the max was wrong.  I was trying to make it do a limit() from c++ and it didn&apos;t seem to be honoring the DBClientCursor::query() argument.  I&apos;m hoping that it really is honoring the argument and that the log Jeremy saw earlier was just wrong.  Anyways, I removed the Query::maxKey().&lt;/p&gt;

&lt;p&gt;The second problem is that, yes, the index is missing because this query is on the wrong field name, it should be hours.velocity24, not minutes.velocity24.&lt;/p&gt;

&lt;p&gt;You can close this issue.  Sorry for bothering you.&lt;/p&gt;</comment>
                            <comment id="11350" author="eliot" created="Fri, 11 Dec 2009 22:35:52 +0000"  >&lt;p&gt;are you adding that $max manually?  $max shouldn&apos;t be being used in that way.&lt;br/&gt;
can you send the code that&apos;s generating that query?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10102" name="indexes.txt" size="1187" author="jeremy" created="Fri, 11 Dec 2009 17:06:29 +0000"/>
                            <attachment id="10100" name="logs.txt" size="2630" author="jeremy" created="Fri, 11 Dec 2009 17:06:29 +0000"/>
                            <attachment id="10101" name="schema.txt" size="3758" author="jeremy" created="Fri, 11 Dec 2009 17:06:29 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 11 Dec 2009 22:35:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 years, 10 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>
                            14 years, 10 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>douggreen</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>jeremy</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrptqv:</customfieldvalue>

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

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

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