Reodering of update clause causes timestamp to not be auto-populated

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.4.4
    • Component/s: Write Ops
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.)

              Assignee:
              Unassigned
              Reporter:
              Clifford Hammerschmidt
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: