$setOnInsert does not replace empty timestamp with current timestamp

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.6.2, 4.0.6
    • Component/s: Write Ops
    • Query
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      $setOnInsert has different behaviour to $insert, in that MongoDB server does not replace an empty timestamp with the current timestamp value.

       

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            Simon Yarde
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: