$currentDate modifiers should not use LogicalClock as source

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: