Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39511

$setOnInsert does not replace empty timestamp with current timestamp

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

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

       

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

              Created:
              Updated:
              Resolved: