-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Server
-
Labels:None
-
0.2
Description
Hi Team,
According to https://github.com/mongodb/specifications/blob/master/source/objectid.rst#specification, ObjectID specification states:
The ObjectID BSON type is a 12-byte value consisting of three different portions (fields):
- a 4-byte value representing the seconds since the Unix epoch in the highest order bytes,
- a 5-byte random number unique to a machine and process,
- a 3-byte counter, starting with a random value.
whereas the docs (https://docs.mongodb.com/manual/reference/method/ObjectId/#description) states:
The 12-byte ObjectId value consists of:
- a 4-byte value representing the seconds since the Unix epoch,
- a 5-byte random value, and
- a 3-byte counter, starting with a random value.
Please update the documentation reflecting the change for "5-byte random value".
Let me know if you need more details!
Kanika