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

$currentDate modifiers should not use LogicalClock as source

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.5.6
    • Component/s: None
    • None
    • Query Execution
    • ALL
    • Sharding 2017-06-19

      Esepcially when we switch the time to be purely logical.

      Here are the instances in the code that needs to be fixed:

      https://github.com/mongodb/mongo/blob/r3.5.6/src/mongo/db/ops/modifier_current_date.cpp#L232
      https://github.com/mongodb/mongo/blob/r3.5.6/src/mongo/db/ops/modifier_object_replace.cpp#L61
      https://github.com/mongodb/mongo/blob/r3.5.6/src/mongo/db/ops/insert.cpp#L170

      Implementation should provide backwards compatible behavior where the generated Timestamps are always unique.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: