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

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

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      MongoDB 1.8.1
    • ALL

      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();

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

              Created:
              Updated:
              Resolved: