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

XMLWordPrintableJSON

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

      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
              Reporter:
              Wes Widner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: