Wrong document returned by find({_id: value as Int64})

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Critical - P2
    • None
    • Affects Version/s: 4.0.4
    • Component/s: None
    • None
    • ALL
    • Hide

      Store documents using an _id of type 64 bit integer.

      Add items, and search.

      Show
      Store documents using an _id of type 64 bit integer. Add items, and search.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A search like : db.getCollection('gff').find({_id:71549674884444169})

      returns document with _id = 71549674884444168

      There is a 1 offset in the _id value.

      Happens in Mongo Compass and in Robot3T.

       

        1. BugMongo01.jpg
          BugMongo01.jpg
          79 kB
        2. BugMongo03.jpg
          BugMongo03.jpg
          152 kB

            Assignee:
            Unassigned
            Reporter:
            Szaniszlo Szöke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: