Do not compute operationTime if Replica Set does not propagate clusterTime

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: