> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
>
On Thu, Aug 11, 2011 at 11:32 AM, Octavian Covalschi
That's because an ObjectId is longer than a 64-bit long. While an
ObjectId is 96 bits (or 12 bytes), a 64bit long is well, 64 bits only.
So you have 32 bits that are truncated. It's no wonder you get
collisions.
--
|8]