find cursor don't return documents but count() does

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • None
    • Affects Version/s: 2.6.5
    • Component/s: Shell
    • None
    • ALL
    • Hide

      Some document updates in sharded collection.

      db.collection.find({ng:{$exists:false}}).count()
      > 75950
      db.collection.find({ng:{$exists:false}})
      > Empty

      Show
      Some document updates in sharded collection. db.collection.find({ng:{$exists:false}}).count() > 75950 db.collection.find({ng:{$exists:false}}) > Empty
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I ran following queries but it returns strange values. This makes inconsistency in the result.

            Assignee:
            Unassigned
            Reporter:
            Myoungki Kim
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: