-
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.