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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 2.6.5
    • 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

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: