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

Attempting to count() a date query causes cursor to timeout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      MongoDB 1.8.1
    • Operating System:
      ALL

      Description

      Querying a date with $gt and then attempting to run count() on the resulting cursor hangs.
      Ex: db.file.find({datemodified:{$gt:new Date(1219399422000)}}).limit(10).count();

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kai5263499 Wes Widner
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: