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

$currentDate modifiers should not use LogicalClock as source

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 3.5.6
    • None
    • None
    • Query Execution
    • ALL
    • Sharding 2017-06-19

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: