Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
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.