Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-477

Repeatedly seeing "Assertion: no index found for specified keyPattern" in the logs

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 1.1.4
    • Querying
    • None
    • 64-bit Linux. 2.6.18-164.6.1.el5 kernel.

    Description

      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:

      Fri Dec 11 20:17:37 Assertion: no index found for specified keyPattern
      Fri Dec 11 20:17:37 ntoskip:0 ntoreturn:500
      Fri Dec 11 20:17:37 query:{ query: { minutes.velocity24:

      { $gt: 0 }

      }, $max:

      { limit: 500 }

      , orderby:

      { minutes.velocity24: -1 }

      }

      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've attached a schema and the indexes.

      Attachments

        1. indexes.txt
          1 kB
        2. logs.txt
          3 kB
        3. schema.txt
          4 kB

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            jeremy Jeremy Andrews
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: