-
Type: Task
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
The "inc" field of ObjectId should start at a random value, not 0, to reduce the chances of collisions. The the Java driver and the core implementation do this, but the Python one doesn't. http://www.mongodb.org/display/DOCS/Object+IDs#ObjectIDs-BSONObjectIDSpecification should say that "inc" starts at a random value.
(I've sent a trivial patch to the Python driver to fix that issue; this ticket is only concerning the docs.)