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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.1.4
    • Component/s: Querying
    • Labels:
      None
    • Environment:
      64-bit Linux. 2.6.18-164.6.1.el5 kernel.

      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.

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

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

              Created:
              Updated:
              Resolved: