[SERVER-28419] Do not compute operationTime if Replica Set does not propagate clusterTime Created: 21/Mar/17 Updated: 06/Dec/22 Resolved: 22/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Misha Tyulenev | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Sharding
|
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| 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. |