Skip to content

Commit bbc3722

Browse files
committed
Document initial random value for ObjectId counter
This was mentioned in the original spec, but missed being copied over to the new docs.
1 parent ce8d3ee commit bbc3722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/core/object-id.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ constructed using:
1313
- a 4-byte timestamp,
1414
- a 3-byte machine identifier,
1515
- a 2-byte process id, and
16-
- a 3-byte counter.
16+
- a 3-byte counter, starting with a random value.
1717

1818
In MongoDB, documents stored in a collection require a unique
1919
:term:`_id` field that acts as a :term:`primary key`. Because

0 commit comments

Comments
 (0)