From bbc37227d9c4c6e1d0b727de297d80360b55af85 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Tue, 12 Feb 2013 14:12:15 -0500 Subject: [PATCH] Document initial random value for ObjectId counter This was mentioned in the original spec, but missed being copied over to the new docs. --- source/core/object-id.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/object-id.txt b/source/core/object-id.txt index 03e4f82774c..02f23b3724c 100644 --- a/source/core/object-id.txt +++ b/source/core/object-id.txt @@ -13,7 +13,7 @@ constructed using: - a 4-byte timestamp, - a 3-byte machine identifier, - a 2-byte process id, and -- a 3-byte counter. +- a 3-byte counter, starting with a random value. In MongoDB, documents stored in a collection require a unique :term:`_id` field that acts as a :term:`primary key`. Because