-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
As explained in SERVER-43014, this note from the BSON Types page is not accurate:
Changed in version 2.6: Previously, the server would only replace empty timestamp values in the first two fields, including _id, of an inserted document. Now MongoDB will replace any top-level field.
Instead, it should read something like the following:
Changed in version 2.6: Previously, the server would only replace the first empty timestamp value in the document. In the case where _id was an empty timestamp, it was always the first and only field replaced. Now, MongoDB will always insert the _id field as-is and will not attempt to expand it if it is an empty timestamp, but will replace all other top-level empty timestamp fields.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-43014 Timestamp(0,0) not filled in for _id field
- Closed