-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.4.4
-
Component/s: Write Ops
-
None
-
ALL
db.col.update({_id:1},{$setOnInsert:{ts:new BsonTimestamp(0,0)}},
{upsert:true});
should auto-populate the timestamp like a regular insert would. (i.e. if the timestamp is the first or second entry in the $setOnInsert sub-document.)
- duplicates
-
SERVER-10123 Support Timestamp(0,0) server replace for update (mods)
- Closed