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

Do not compute operationTime if Replica Set does not propagate clusterTime

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding
    • Fully Compatible

    Description

      dbcommands.cpp _computeOperationTime method uses opTime from the opLog to compute the operation time. However ReplicaSet will not return clusterTime if its not a member of a sharded cluster. Hence operationTime also should NOT be appended in this case.
      Add and use a method on logicalCLock to inidicate that it can sign cluster time and consequently needs operationTime in command reply.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: